#include <Volume.h>
Public Member Functions | |
Volume () | |
Volume (const std::string &strFilename) | |
~Volume (void) | |
const Voxel * | Get () const |
const Voxel & | Get (const int iIndex) const |
const Voxel & | Get (const int iX, const int iY, const int iZ) const |
const Gradient * | GetGradient () const |
const Gradient & | GetGradient (const int iIndex) const |
const Gradient & | GetGradient (const int iX, const int iY, const int iZ) const |
Voxel & | GetSliceX (const int index) |
Voxel & | GetSliceY (const int index) |
Voxel & | GetSliceZ (const int index) |
const int | GetWidth () const |
const int | GetHeight () const |
const int | GetDepth () const |
const int | GetSize () const |
const int | getMaximumDensity () const |
std::vector< int > * | getHistogram () |
std::vector< Gradient > * | getGradients () |
void | load (const std::string &strFilename) |
Private Member Functions | |
void | calculateGradients () |
Private Attributes | |
std::vector< Voxel > | m_vecVoxels |
std::vector< Voxel > | m_vecTmpVoxels |
std::vector< Gradient > | m_Gradients |
std::vector< int > | m_Histogram |
int | maxDensity |
int | m_iWidth |
int | m_iHeight |
int | m_iDepth |
Volume::Volume | ( | ) |
Volume::Volume | ( | const std::string & | strFilename | ) |
Volume::~Volume | ( | void | ) |
void Volume::calculateGradients | ( | ) | [private] |
const Voxel & Volume::Get | ( | const int | iX, | |
const int | iY, | |||
const int | iZ | |||
) | const |
const Voxel & Volume::Get | ( | const int | iIndex | ) | const |
const Voxel * Volume::Get | ( | ) | const |
const int Volume::GetDepth | ( | ) | const |
const Gradient & Volume::GetGradient | ( | const int | iX, | |
const int | iY, | |||
const int | iZ | |||
) | const |
const Gradient & Volume::GetGradient | ( | const int | iIndex | ) | const |
const Gradient * Volume::GetGradient | ( | ) | const |
std::vector< Gradient > * Volume::getGradients | ( | ) |
const int Volume::GetHeight | ( | ) | const |
std::vector< int > * Volume::getHistogram | ( | ) |
const int Volume::getMaximumDensity | ( | ) | const |
const int Volume::GetSize | ( | ) | const |
Voxel & Volume::GetSliceX | ( | const int | index | ) |
Voxel & Volume::GetSliceY | ( | const int | index | ) |
Voxel & Volume::GetSliceZ | ( | const int | index | ) |
const int Volume::GetWidth | ( | ) | const |
void Volume::load | ( | const std::string & | strFilename | ) |
std::vector<Gradient> Volume::m_Gradients [private] |
std::vector<int> Volume::m_Histogram [private] |
int Volume::m_iDepth [private] |
int Volume::m_iHeight [private] |
int Volume::m_iWidth [private] |
std::vector<Voxel> Volume::m_vecTmpVoxels [private] |
std::vector<Voxel> Volume::m_vecVoxels [private] |
int Volume::maxDensity [private] |