#include <CVolvoxels.h>
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) |
Definition at line 39 of file CVolvoxels.h.
|
constructor Definition at line 46 of file CVolvoxels.h. |
|
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(). |
|
accessor methods for volume dimensions Definition at line 91 of file CVolvoxels.h. Referenced by CTex::RenderSubTexture(). |
|
Tri-linear gradient computation Definition at line 135 of file CVolvoxels.cpp. References GetGradient(). Referenced by CScanner::GetDiffuseValue(). |
|
Initialization routine - called when new data set is loaded Definition at line 5 of file CVolvoxels.cpp. |
|
accessor methods for directional pointers within the volume. Definition at line 113 of file CVolvoxels.h. |
|
Shutdown function - also called by destructor Definition at line 66 of file CVolvoxels.h. |