#include <CScanner.h>
Public Member Functions | |
void | ScanVolume () |
void | GenerateXRAY () |
void | GenerateMIP () |
void | GenerateFirstHit () |
bool | GetIntersectionPoints (sPoint3f *pBeginCoord, sPoint3f *pEndCoord, sPoint3f eye, sVector3f ray) |
void | SampleAlongRay (sPoint3f beginCoord, sPoint3f endCoord, sRGBA *pRGBA) |
float | SampleXRAYAlongRay (sPoint3f beginCoord, sPoint3f endCoord) |
float | SampleMIPAlongRay (sPoint3f beginCoord, sPoint3f endCoord) |
void | SampleFirstHitAlongRay (sPoint3f beginCoord, sPoint3f endCoord, sRGBA *pRGBA) |
float | GetDiffuseValue (sPoint3f coordinate) |
Definition at line 13 of file CScanner.h.
|
Generates a first hit image of the volumetric data Definition at line 4 of file FirstHit.cpp. References GetIntersectionPoints(), sPoint3f::x, and sPoint3f::y. Referenced by ScanVolume(). |
|
Generates a maximum intensity projection image of the volumetric data Definition at line 14 of file mip.cpp. References GetIntersectionPoints(), Histogram::getVoxelColorByDensity(), SampleMIPAlongRay(), sPoint3f::x, and sPoint3f::y. Referenced by ScanVolume(). |
|
Generates an XRAY image of the volumetric data Definition at line 13 of file xray.cpp. References GetIntersectionPoints(), Histogram::getVoxelColorByDensity(), SampleXRAYAlongRay(), sPoint3f::x, and sPoint3f::y. Referenced by ScanVolume(). |
|
GetDiffuseValue: computes the diffuse shading coefficient based on gradient computation. Definition at line 154 of file CScanner.cpp. References CVolVoxels::GetGradient(), CVolVoxels::GetGradientTriLinear(), sPoint3f::x, sPoint3f::y, and sPoint3f::z. Referenced by SampleAlongRay(). |
|
GetIntersectionPoints: finds intersection points between a ray and the bounding planes of a volume Definition at line 4 of file IntersectionPoints.cpp. Referenced by GenerateFirstHit(), GenerateMIP(), and GenerateXRAY(). |
|
SampleAlongRay: performs voxel sampling within a volume along a ray, at evenly spaced intervals. Definition at line 74 of file composite.cpp. References CVolVoxels::GetDensityTriLinear(), GetDiffuseValue(), CVolVoxels::GetMaxValue(), Histogram::getVoxelColorByDensity(), CVolVoxels::GetVoxelValue(), sPoint3f::x, sPoint3f::y, and sPoint3f::z. |
|
SampleFHAlongRay: performs first hit style voxel sampling within a volume along a ray, at evenly spaced intervals. |
|
SampleMIPAlongRay: performs MIP style (maximum intensity) voxel sampling within a volume along a ray, at evenly spaced intervals. Definition at line 83 of file mip.cpp. References CVolVoxels::GetDensityTriLinear(), CVolVoxels::GetGradient(), CVolVoxels::GetMaxValue(), CVolVoxels::GetVoxelValue(), sPoint3f::x, sPoint3f::y, and sPoint3f::z. Referenced by GenerateMIP(). |
|
SampleXRAYAlongRay: performs X-ray style (averaging) voxel sampling within a volume along a ray, at evenly spaced intervals. Definition at line 83 of file xray.cpp. References CVolVoxels::GetDensityTriLinear(), CVolVoxels::GetGradient(), CVolVoxels::GetMaxValue(), CVolVoxels::GetVoxelValue(), sPoint3f::x, sPoint3f::y, and sPoint3f::z. Referenced by GenerateXRAY(). |
|
ScanVoluem performs the ray casting thru the volume based on user selected properties. Definition at line 123 of file CScanner.cpp. References GenerateFirstHit(), GenerateMIP(), and GenerateXRAY(). |