#include <Voxel.h>
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 |
|
create new empty Voxel |
|
create new Voxel with given density - the corresponding Color is calculated by the Transfer Function |
|
create new Voxel with given density, color and position vector |
|
multiplie each Voxel value by the value of f1 |
|
add two Voxels |
|
the density value of the Voxel |
|
the Color of the Voxel |
|
the vector gradient of the Voxel |