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 load (const std::string &strFilename)
int * getHistogram ()

Private Attributes

std::vector< Voxelm_vecVoxels
int m_iWidth
int m_iHeight
int m_iDepth
int m_histogram [4096]


Constructor & Destructor Documentation

Volume::Volume (  )  [inline]

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

References load().

Volume::~Volume ( void   )  [inline]


Member Function Documentation

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

References m_vecVoxels.

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

References m_vecVoxels.

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

References m_iHeight, m_iWidth, and m_vecVoxels.

Referenced by GLWidget::refreshSlices().

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

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

int* Volume::getHistogram (  )  [inline]

References m_histogram.

Referenced by MainWindow::loadFile().

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

References m_vecVoxels.

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

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


Member Data Documentation

int Volume::m_histogram[4096] [private]

Referenced by getHistogram(), and load().

int Volume::m_iDepth [private]

Referenced by GetDepth(), and load().

int Volume::m_iHeight [private]

Referenced by Get(), GetHeight(), and load().

int Volume::m_iWidth [private]

Referenced by Get(), GetWidth(), and load().

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

Referenced by Get(), GetSize(), and load().


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

Generated on Mon Jan 12 21:15:45 2009 for Volume Visualization by  doxygen 1.5.8