Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

CVolVoxels Class Reference

#include <CVolvoxels.h>

List of all members.

Public Member Functions

 CVolVoxels ()
void Shutdown ()
void Init (unsigned short *pVoxelData, unsigned short dimX, unsigned short dimY, unsigned short dimZ)
unsigned long GetDimX ()
unsigned short NextX ()
float GetDensityTriLinear (sPoint3f pos)
void GetGradientTriLinear (float i, float j, float k, sGrad *pGrad)


Detailed Description

CVolVoxel class contains all the operations needed on volumetric voxels, including reading, slicing, normalizing, gradient computation and interpolation.

Definition at line 39 of file CVolvoxels.h.


Constructor & Destructor Documentation

CVolVoxels::CVolVoxels  )  [inline]
 

constructor

Definition at line 46 of file CVolvoxels.h.


Member Function Documentation

float CVolVoxels::GetDensityTriLinear sPoint3f  pos  ) 
 

Operations on volumetric data, include nearest and trilinear interpolation, and gradient generation.

Definition at line 94 of file CVolvoxels.cpp.

References GetVoxelValue(), sPoint3f::x, sPoint3f::y, and sPoint3f::z.

Referenced by CScanner::SampleAlongRay(), CScanner::SampleMIPAlongRay(), and CScanner::SampleXRAYAlongRay().

unsigned long CVolVoxels::GetDimX  )  [inline]
 

accessor methods for volume dimensions

Definition at line 91 of file CVolvoxels.h.

Referenced by CTex::RenderSubTexture().

void CVolVoxels::GetGradientTriLinear float  i,
float  j,
float  k,
sGrad *  pGrad
 

Tri-linear gradient computation

Definition at line 135 of file CVolvoxels.cpp.

References GetGradient().

Referenced by CScanner::GetDiffuseValue().

void CVolVoxels::Init unsigned short *  pVoxelData,
unsigned short  dimX,
unsigned short  dimY,
unsigned short  dimZ
 

Initialization routine - called when new data set is loaded

Definition at line 5 of file CVolvoxels.cpp.

unsigned short CVolVoxels::NextX  )  [inline]
 

accessor methods for directional pointers within the volume.

Definition at line 113 of file CVolvoxels.h.

void CVolVoxels::Shutdown  )  [inline]
 

Shutdown function - also called by destructor

Definition at line 66 of file CVolvoxels.h.


The documentation for this class was generated from the following files:
Generated on Mon Dec 12 15:20:26 2005 for CCube by  doxygen 1.4.1