Volume Class Reference
#include <Volume.h>
List of all members.
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:
-
Volume::~Volume |
( |
void |
|
) |
[inline] |
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:
-
- 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:
-
The documentation for this class was generated from the following file:
- D:/C++/Visualisierung/vislab/src/Volume.h