Volume Class Reference

#include <Volume.h>

List of all members.

Classes

class  Voxel

Public Member Functions

 Volume ()
 Volume (const std::string &strFilename)
 ~Volume (void)
const VoxelGet (const int iX, const int iY, const int iZ) const
const VoxelGet (const int iIndex) const
const VoxelGet () const
const int GetWidth () const
const int GetHeight () const
const int GetDepth () const
const int GetSize () const
void load (const std::string &strFilename)
void computeGradients ()
float * getGradients ()

Detailed Description

Simple linear volume class which supports loading from DAT files


Constructor & Destructor Documentation

Volume::Volume (  )  [inline]

Construct a new volume object

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

Construct a new volume object

Parameters:
strFilename Filename
Volume::~Volume ( void   )  [inline]

Destroy the object


Member Function Documentation

void Volume::computeGradients (  )  [inline]

Compute the gradients of the whole volume

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

Return the volume of the front

Returns:
The volume of the front
const Voxel& Volume::Get ( const int  iIndex  )  const [inline]

Return the voxel at a given index

Parameters:
iIndex Index
Returns:
The voxel at the given index
const Voxel& Volume::Get ( const int  iX,
const int  iY,
const int  iZ 
) const [inline]

Return the voxel at the given position

Parameters:
iX X position
iY Y position
iZ Z position
const int Volume::GetDepth (  )  const [inline]

Get the depth of the volume

Returns:
Depth
float* Volume::getGradients (  )  [inline]

Get the gradients of the whole volume

Returns:
The gradients
const int Volume::GetHeight (  )  const [inline]

Get the height of the volume

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

Get the size of the volume

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

Get the width of the volume

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

Load a new volume

Parameters:
strFilename Filename

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

Generated on Tue Dec 8 16:10:51 2009 for VisLab by  doxygen 1.6.1