#include <Volume.h>
Classes | |
| class | Voxel |
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 |
| 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< Voxel > | m_vecVoxels |
| int | m_iWidth |
| int | m_iHeight |
| int | m_iDepth |
| int | m_histogram [4096] |
| Volume::Volume | ( | ) | [inline] |
| Volume::Volume | ( | const std::string & | strFilename | ) | [inline] |
References load().
| Volume::~Volume | ( | void | ) | [inline] |
| 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] |
| const int Volume::GetDepth | ( | ) | const [inline] |
References m_iDepth.
Referenced by GLWidget::getSlicesCount(), GLWidget::paintGL(), and GLWidget::refreshSlices().
| const int Volume::GetHeight | ( | ) | const [inline] |
References m_iHeight.
Referenced by GLWidget::getSlicesCount(), GLWidget::paintGL(), and GLWidget::refreshSlices().
| int* Volume::getHistogram | ( | ) | [inline] |
| const int Volume::GetSize | ( | ) | const [inline] |
References m_vecVoxels.
| const int Volume::GetWidth | ( | ) | const [inline] |
References m_iWidth.
Referenced by GLWidget::getSlicesCount(), GLWidget::paintGL(), and GLWidget::refreshSlices().
| void Volume::load | ( | const std::string & | strFilename | ) | [inline] |
References m_histogram, m_iDepth, m_iHeight, m_iWidth, and m_vecVoxels.
Referenced by GLWidget::loadVolumne(), and Volume().
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] |
1.5.8