Volume Class Reference

#include <Volume.h>

List of all members.

Public Member Functions

 Volume ()
 Volume (const std::string &strFilename)
 ~Volume (void)
const Voxel * Get () const
const Voxel & Get (const int iIndex) const
const Voxel & Get (const int iX, const int iY, const int iZ) const
const Gradient * GetGradient () const
const Gradient & GetGradient (const int iIndex) const
const Gradient & GetGradient (const int iX, const int iY, const int iZ) const
Voxel & GetSliceX (const int index)
Voxel & GetSliceY (const int index)
Voxel & GetSliceZ (const int index)
const int GetWidth () const
const int GetHeight () const
const int GetDepth () const
const int GetSize () const
const int getMaximumDensity () const
std::vector< int > * getHistogram ()
std::vector< Gradient > * getGradients ()
void load (const std::string &strFilename)

Private Member Functions

void calculateGradients ()

Private Attributes

std::vector< Voxel > m_vecVoxels
std::vector< Voxel > m_vecTmpVoxels
std::vector< Gradient > m_Gradients
std::vector< int > m_Histogram
int maxDensity
int m_iWidth
int m_iHeight
int m_iDepth


Constructor & Destructor Documentation

Volume::Volume (  ) 

Volume::Volume ( const std::string &  strFilename  ) 

Here is the call graph for this function:

Volume::~Volume ( void   ) 


Member Function Documentation

void Volume::calculateGradients (  )  [private]

Here is the call graph for this function:

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

const Voxel & Volume::Get ( const int  iIndex  )  const

const Voxel * Volume::Get (  )  const

const int Volume::GetDepth (  )  const

const Gradient & Volume::GetGradient ( const int  iX,
const int  iY,
const int  iZ 
) const

const Gradient & Volume::GetGradient ( const int  iIndex  )  const

const Gradient * Volume::GetGradient (  )  const

std::vector< Gradient > * Volume::getGradients (  ) 

const int Volume::GetHeight (  )  const

std::vector< int > * Volume::getHistogram (  ) 

const int Volume::getMaximumDensity (  )  const

const int Volume::GetSize (  )  const

Voxel & Volume::GetSliceX ( const int  index  ) 

Voxel & Volume::GetSliceY ( const int  index  ) 

Voxel & Volume::GetSliceZ ( const int  index  ) 

const int Volume::GetWidth (  )  const

void Volume::load ( const std::string &  strFilename  ) 

Here is the call graph for this function:


Member Data Documentation

std::vector<Gradient> Volume::m_Gradients [private]

std::vector<int> Volume::m_Histogram [private]

int Volume::m_iDepth [private]

int Volume::m_iHeight [private]

int Volume::m_iWidth [private]

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

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

int Volume::maxDensity [private]


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

Generated on Wed Dec 10 13:35:15 2008 for VisLu by  doxygen 1.5.7.1