#include <Volume.h>
Public Member Functions | |
Volume () | |
Volume (const std::string &strFilename) | |
~Volume (void) | |
const Voxel & | Get (const int iX, const int iY, const int iZ) const |
const Voxel & | Get (const int iIndex) const |
const Voxel * | Get () const |
int | GetWidth () const |
int | GetHeight () const |
int | GetDepth () const |
int | GetSize () const |
void | load (const std::string &strFilename) |
Private Attributes | |
int | m_iWidth |
int | m_iHeight |
int | m_iDepth |
std::vector< Voxel > | m_vecVoxels |
Classes | |
class | Voxel |
Volume::Volume | ( | ) | [inline] |
Volume::Volume | ( | const std::string & | strFilename | ) | [inline] |
Volume::~Volume | ( | void | ) | [inline] |
const Voxel& Volume::Get | ( | const int | iX, | |
const int | iY, | |||
const int | iZ | |||
) | const [inline] |
const Voxel& Volume::Get | ( | const int | iIndex | ) | const [inline] |
const Voxel* Volume::Get | ( | ) | const [inline] |
int Volume::GetWidth | ( | ) | const [inline] |
int Volume::GetHeight | ( | ) | const [inline] |
int Volume::GetDepth | ( | ) | const [inline] |
int Volume::GetSize | ( | ) | const [inline] |
void Volume::load | ( | const std::string & | strFilename | ) | [inline] |
int Volume::m_iWidth [private] |
int Volume::m_iHeight [private] |
int Volume::m_iDepth [private] |
std::vector<Voxel> Volume::m_vecVoxels [private] |