Volume Class Reference

#include <Volume.h>

List of all members.

Classes

class  Voxel

Public Member Functions

 Volume ()
 Volume (const std::string &strFilename)
 ~Volume (void)
const VoxelGet (const int iX, const int iY, const int iZ) const
const VoxelGet (const int iIndex) const
const VoxelGet () const
const int GetWidth () const
const int GetHeight () const
const int GetDepth () const
const int GetSize () const
void loadVolume (const std::string strFilename)
void calcHist ()
float getHistEntry (int i)
void calculateGradient ()
float getGradient (int x, int y, int z)

Private Attributes

std::vector< Voxelm_vecVoxels
std::vector< float > histogram
std::vector< Vectorm_gradient
int m_iWidth
int m_iHeight
int m_iDepth


Constructor & Destructor Documentation

Volume::Volume (  )  [inline]

Volume::Volume ( const std::string strFilename  )  [inline]

Volume::~Volume ( void   )  [inline]


Member Function Documentation

void Volume::calcHist (  )  [inline]

void Volume::calculateGradient (  )  [inline]

const Voxel* Volume::Get (  )  const [inline]

const Voxel& Volume::Get ( const int  iIndex  )  const [inline]

const Voxel& Volume::Get ( const int  iX,
const int  iY,
const int  iZ 
) const [inline]

const int Volume::GetDepth (  )  const [inline]

float Volume::getGradient ( int  x,
int  y,
int  z 
) [inline]

const int Volume::GetHeight (  )  const [inline]

float Volume::getHistEntry ( int  i  )  [inline]

const int Volume::GetSize (  )  const [inline]

const int Volume::GetWidth (  )  const [inline]

void Volume::loadVolume ( const std::string  strFilename  )  [inline]


Member Data Documentation

std::vector<float> Volume::histogram [private]

std::vector<Vector> Volume::m_gradient [private]

int Volume::m_iDepth [private]

int Volume::m_iHeight [private]

int Volume::m_iWidth [private]

std::vector<Voxel> Volume::m_vecVoxels [private]


The documentation for this class was generated from the following file:

Generated on Wed Dec 10 14:46:52 2008 for VolumeRender by  doxygen 1.5.7.1