#include <Volume.h>
Public Member Functions | |
Volume () | |
Volume (const std::string &strFilename) | |
~Volume (void) | |
void | load (const std::string &strFilename) |
void | release () |
const Voxel & | getVoxel (const int iX, const int iY, const int iZ) const |
const Voxel & | getVoxel (const int iIndex) const |
const Voxel * | getVolume () const |
const int | getSizeX () const |
const int | getSizeY () const |
const int | getSizeZ () const |
const int | getSize () const |
const int * | getDensityDistribution () const |
Definition at line 13 of file Volume.h.
Volume::Volume | ( | ) |
Definition at line 4 of file Volume.cpp.
References release().
Volume::Volume | ( | const std::string & | strFilename | ) |
Definition at line 9 of file Volume.cpp.
References load(), and release().
Volume::~Volume | ( | void | ) |
Definition at line 15 of file Volume.cpp.
References release().
void Volume::load | ( | const std::string & | strFilename | ) |
void Volume::release | ( | ) |
const Voxel& Volume::getVoxel | ( | const int | iX, | |
const int | iY, | |||
const int | iZ | |||
) | const [inline] |
const Voxel& Volume::getVoxel | ( | const int | iIndex | ) | const [inline] |
const Voxel* Volume::getVolume | ( | ) | const [inline] |
Get a pointer to the voxel-array
Definition at line 49 of file Volume.h.
Referenced by OpenGLWidget::create3DTexture().
const int Volume::getSizeX | ( | ) | const [inline] |
Get size in x
Definition at line 58 of file Volume.h.
Referenced by OpenGLWidget::create3DTexture().
const int Volume::getSizeY | ( | ) | const [inline] |
Get size in y
Definition at line 67 of file Volume.h.
Referenced by OpenGLWidget::create3DTexture().
const int Volume::getSizeZ | ( | ) | const [inline] |
Get size in z
Definition at line 76 of file Volume.h.
Referenced by OpenGLWidget::create3DTexture().
const int Volume::getSize | ( | ) | const [inline] |
const int* Volume::getDensityDistribution | ( | ) | const [inline] |