Simple linear volume class which supports loading from DAT files. More...
#include <Volume.h>
Classes | |
| struct | Gradient |
| class | Voxel |
| Voxel representation. More... | |
Public Member Functions | |
| Volume (const std::string &strFilename) | |
| const Voxel & | Get (const int iX, const int iY, const int iZ) const |
| const Voxel & | Get (const int iIndex) const |
| const Voxel * | Get () const |
| const Vector * | GetGradient () const |
| const int | GetWidth () const |
| const int | GetHeight () const |
| const int | GetDepth () const |
| const int | GetSize () const |
| void | load (const std::string &strFilename) |
| Loads the volume in File filename into this Volume. | |
Simple linear volume class which supports loading from DAT files.
| void Volume::load | ( | const std::string & | strFilename ) | [inline] |
Loads the volume in File filename into this Volume.
| strFilename | The const std::string & to load. |
1.7.2