Volume Class Reference

#include <Volume.h>

List of all members.

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


Detailed Description

Definition at line 9 of file Volume.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Definition at line 50 of file Volume.cpp.

Referenced by TransferFunction::setVolume().

const int Volume::getDepth (  )  const

Definition at line 25 of file Volume.cpp.

References depth.

Referenced by GLWidget::changeVolume().

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

Definition at line 30 of file Volume.cpp.

References voxels.

const int Volume::getWidth (  )  const

Definition at line 15 of file Volume.cpp.

References width.

Referenced by GLWidget::changeVolume().

void Volume::loadDatFile (  )  [slot]

Definition at line 55 of file Volume.cpp.

References curDir.

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().


Member Data Documentation

QString Volume::curDir [private]

Definition at line 40 of file Volume.h.

Referenced by loadDatFile().

int Volume::depth [private]

Definition at line 39 of file Volume.h.

Referenced by getDepth(), and loadDatFile().

int Volume::height [private]

Definition at line 39 of file Volume.h.

Referenced by getHeight(), and loadDatFile().

unsigned int Volume::heightHist [private]

Definition at line 38 of file Volume.h.

Referenced by getHistHeight(), and loadDatFile().

std::vector<unsigned int> Volume::histogramm [private]

Definition at line 37 of file Volume.h.

Referenced by getHistogramm(), and loadDatFile().

std::vector<unsigned short> Volume::voxels [private]

Definition at line 36 of file Volume.h.

Referenced by getData(), getSize(), and loadDatFile().

int Volume::width [private]

Definition at line 39 of file Volume.h.

Referenced by getWidth(), and loadDatFile().


The documentation for this class was generated from the following files:

Generated on Wed Dec 10 13:50:14 2008 for Tido Visualization by  doxygen 1.5.7.1