Volume Class Reference

#include <Volume.h>

List of all members.

Public Member Functions

 Volume (int XDim, int YDim, int ZDim)
int getXDim (void)
int getYDim (void)
int getZDim (void)
void setVoxelAt (int x, int y, int z, Voxel v)
Voxel getVoxelAt (int x, int y, int z)
VolumegetSlice (DIMENSION d, int sliceNumber)
QImage getHistogram (void)
Vector getCenter (void)
Color getColor (Vector v, FILTER fl)
Voxel getVoxel (Vector v, FILTER fl)
void calcGradients (void)
void calculateColors (void)
float getRadius (void)
bool inside (Vector v)
float getMaxGradLength (void)

Public Attributes

QString name

Private Attributes

int XDim
int YDim
int ZDim
QVector< VoxellVoxels
Histogramhistogram
float radius
float maxGradLength
Vector mCenter
Color neighbors [8]
Voxel neighborVoxels [8]


Detailed Description

The class Volume is used to store the Voxels from the input data.


Member Function Documentation

void Volume::calcGradients void   ) 
 

Calculates the gradients of the volume

Vector Volume::getCenter void   ) 
 

returns the Center of the Volume

Color Volume::getColor Vector  v,
FILTER  fl
 

Returns the Color at Position v usinf Filter fl

QImage Volume::getHistogram void   ) 
 

creates Histogramm

float Volume::getMaxGradLength void   )  [inline]
 

returns true if v is inside the Volume

Volume * Volume::getSlice DIMENSION  d,
int  sliceNumber
 

creates slice

Voxel Volume::getVoxel Vector  v,
FILTER  fl
 

Returns the Voxel at Position v usinf Filter fl

Voxel Volume::getVoxelAt int  x,
int  y,
int  z
 

gets Voxel at position (x,y,z) from the Volume

bool Volume::inside Vector  v  )  [inline]
 

Returns the radius of the Volume(largest Diagonal value)

void Volume::setVoxelAt int  x,
int  y,
int  z,
Voxel  v
 

sets given Voxel at position (x,y,z) in the Volume


The documentation for this class was generated from the following files:
Generated on Wed Dec 7 14:42:12 2005 for VisUE by  doxygen 1.4.5