Voxel Class Reference

#include <Voxel.h>

List of all members.

Public Member Functions

 Voxel (void)
 Voxel (float desity)
 Voxel (float densityIn, Color mColorIn, Vector mGradientIn)
Voxel operator+ (const Voxel &v) const
Voxel operator * (float fl) const
void setColor (Color newColor)

Public Attributes

float dens
Color mColor
Vector mGradient


Detailed Description

For each point in the given data, its position, its density value, its color and its gradient are stored in a Voxel.


Constructor & Destructor Documentation

Voxel::Voxel void   ) 
 

create new empty Voxel

Voxel::Voxel float  desity  ) 
 

create new Voxel with given density - the corresponding Color is calculated by the Transfer Function

Voxel::Voxel float  densityIn,
Color  mColorIn,
Vector  mGradientIn
[inline]
 

create new Voxel with given density, color and position vector


Member Function Documentation

Voxel Voxel::operator * float  fl  )  const [inline]
 

multiplie each Voxel value by the value of f1

Voxel Voxel::operator+ const Voxel v  )  const [inline]
 

add two Voxels


Member Data Documentation

float Voxel::dens
 

the density value of the Voxel

Color Voxel::mColor
 

the Color of the Voxel

Vector Voxel::mGradient
 

the vector gradient of the Voxel


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