#include <Volume.h>
Public Slots | |
void | loadDatFile () |
Signals | |
void | loadedDatFile (Volume *volume) |
void | loadedDatFileName (const QString &name) |
Public Member Functions | |
Volume () | |
Volume (const std::string &fileName) | |
~Volume (void) | |
const int | getWidth () const |
const int | getHeight () const |
const int | getDepth () const |
const int | getSize () const |
const int | getDataRange () const |
const unsigned short * | getData () const |
const std::vector< unsigned int > * | getHistogramm () const |
void | loadDatFile (const std::string &fileName) |
const unsigned int | getHistHeight () const |
Private Attributes | |
std::vector< unsigned short > | voxels |
std::vector< unsigned int > | histogramm |
unsigned int | heightHist |
int | width |
int | height |
int | depth |
QString | curDir |
Definition at line 9 of file Volume.h.
Volume::Volume | ( | ) |
Definition at line 6 of file Volume.cpp.
Volume::Volume | ( | const std::string & | fileName | ) |
Volume::~Volume | ( | void | ) |
Definition at line 11 of file Volume.cpp.
const unsigned short * Volume::getData | ( | ) | const |
Definition at line 35 of file Volume.cpp.
References voxels.
Referenced by GLWidget::changeVolume().
const int Volume::getDataRange | ( | ) | const |
const int Volume::getDepth | ( | ) | const |
const int Volume::getHeight | ( | ) | const |
Definition at line 20 of file Volume.cpp.
References height.
Referenced by GLWidget::changeVolume().
const unsigned int Volume::getHistHeight | ( | ) | const |
Definition at line 45 of file Volume.cpp.
References heightHist.
Referenced by TransferFunction::initHisto().
const std::vector< unsigned int > * Volume::getHistogramm | ( | ) | const |
Definition at line 40 of file Volume.cpp.
References histogramm.
Referenced by TransferFunction::initHisto().
const int Volume::getSize | ( | ) | const |
const int Volume::getWidth | ( | ) | const |
void Volume::loadDatFile | ( | ) | [slot] |
void Volume::loadDatFile | ( | const std::string & | fileName | ) |
Definition at line 67 of file Volume.cpp.
References depth, height, heightHist, histogramm, loadedDatFile(), loadedDatFileName(), voxels, and width.
Referenced by main().
void Volume::loadedDatFile | ( | Volume * | volume | ) | [signal] |
Referenced by loadDatFile().
void Volume::loadedDatFileName | ( | const QString & | name | ) | [signal] |
Referenced by loadDatFile().
QString Volume::curDir [private] |
int Volume::depth [private] |
int Volume::height [private] |
unsigned int Volume::heightHist [private] |
std::vector<unsigned int> Volume::histogramm [private] |
std::vector<unsigned short> Volume::voxels [private] |
int Volume::width [private] |