Volume Class Reference

#include <Volume.h>

Collaboration diagram for Volume:
[legend]

List of all members.

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
Vector * getGradVector ()
void load (const std::string &strFilename)
void update3DTexture ()
void calculateGradient ()
void calculateQuadSizeFactors ()

Classes

class  Voxel


Detailed Description

Simple linear volume class which supports loading from DAT files

Constructor & Destructor Documentation

Volume::Volume (  )  [inline]

Constructor

Volume::Volume ( const std::string &  strFilename  )  [inline]

Constructor from a input stream

Volume::~Volume ( void   )  [inline]

Destructor


Member Function Documentation

const Voxel& Volume::Get ( const int  iX,
const int  iY,
const int  iZ 
) const [inline]

¨Get the voxel at

const Voxel& Volume::Get ( const int  iIndex  )  const [inline]

¨Get the voxel at

const Voxel* Volume::Get (  )  const [inline]

¨Get the voxel at

const int Volume::GetWidth (  )  const [inline]

¨Get the width of the volume

const int Volume::GetHeight (  )  const [inline]

¨Get the height of the volume

const int Volume::GetDepth (  )  const [inline]

¨Get the depth of the volume

const int Volume::GetSize (  )  const [inline]

¨Get the size of the volume

Vector* Volume::getGradVector (  )  [inline]

¨Get the gradient vectorfield

void Volume::load ( const std::string &  strFilename  )  [inline]

¨Load the data of a volume

void Volume::update3DTexture (  ) 

¨update the 3DTexture

void Volume::calculateGradient (  ) 

¨calculates the gradient vectorfield

void Volume::calculateQuadSizeFactors (  ) 

¨calculate the quad size factors


The documentation for this class was generated from the following files:
Generated on Tue Dec 4 01:54:47 2007 for Volumerenderer by  doxygen 1.5.4