#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 | loadVolume (const std::string strFilename) |
void | calcHist () |
float | getHistEntry (int i) |
void | calculateGradient () |
float | getGradient (int x, int y, int z) |
Private Attributes | |
std::vector< Voxel > | m_vecVoxels |
std::vector< float > | histogram |
std::vector< Vector > | m_gradient |
int | m_iWidth |
int | m_iHeight |
int | m_iDepth |
Volume::Volume | ( | ) | [inline] |
Volume::Volume | ( | const std::string & | strFilename | ) | [inline] |
Volume::~Volume | ( | void | ) | [inline] |
void Volume::calcHist | ( | ) | [inline] |
void Volume::calculateGradient | ( | ) | [inline] |
const Voxel* Volume::Get | ( | ) | const [inline] |
const Voxel& Volume::Get | ( | const int | iIndex | ) | const [inline] |
const Voxel& Volume::Get | ( | const int | iX, | |
const int | iY, | |||
const int | iZ | |||
) | const [inline] |
const int Volume::GetDepth | ( | ) | const [inline] |
float Volume::getGradient | ( | int | x, | |
int | y, | |||
int | z | |||
) | [inline] |
const int Volume::GetHeight | ( | ) | const [inline] |
float Volume::getHistEntry | ( | int | i | ) | [inline] |
const int Volume::GetSize | ( | ) | const [inline] |
const int Volume::GetWidth | ( | ) | const [inline] |
void Volume::loadVolume | ( | const std::string | strFilename | ) | [inline] |
std::vector<float> Volume::histogram [private] |
std::vector<Vector> Volume::m_gradient [private] |
int Volume::m_iDepth [private] |
int Volume::m_iHeight [private] |
int Volume::m_iWidth [private] |
std::vector<Voxel> Volume::m_vecVoxels [private] |