#include <vpraycasting.h>
Public Member Functions | |
VPRayCasting () | |
void | vpMakeRegistration () |
void | vpSetDefaultParameters (VPGraphicObj *volume, VPCamera *camera) |
void | vpRenderMonoGray (VPScene *s, VPCamera *c, int visualizationType, int opacityComputation, unsigned int **image) |
void | vpRenderLivroMonoGray (VPScene *s, VPCamera *c, int visualizationType, int opacityComputation, unsigned int **image) |
void | vpRenderMultiModal (VPScene *s, VPCamera *c, int opacityComputation, unsigned int ***image) |
void | vpRenderLivroMultiModal (VPScene *s, VPCamera *c, int opacityComputation, unsigned int ***image) |
void | vpRenderMonoColor (VPScene *s, VPCamera *c, int opacityComputation, unsigned int ***image) |
void | vpRenderLivroMonoColor (VPScene *s, VPCamera *c, int opacityComputation, unsigned int ***image) |
void | vpRenderNoLightMonoGray (VPScene *s, VPCamera *c, unsigned int **image) |
void | vpRenderLivroMultiInnerStructures (VPScene *s, VPCamera *c, int opacityComputation, unsigned int ***image) |
void | vpRenderLivroInnerStructures (VPScene *s, VPCamera *c, int opacityComputation, unsigned int **image) |
void | vpRenderLivroMonoColorInnerStructures (VPScene *s, VPCamera *c, int opacityComputation, unsigned int ***image) |
void | vpRenderLivro3VolMultiModal (VPScene *s, VPCamera *c, int opacityComputation, unsigned int ***image) |
void | vpRenderMIP (VPScene *s, VPCamera *c, unsigned int **image) |
void | vpRenderLivroMIP (VPScene *s, VPCamera *c, unsigned int **image) |
void | vpRenderSubVolume () |
void | vpRenderMultiModal () |
void | vpRenderSideBySide () |
void | vpSetVariables (VPCamera *camera, VPVector3D &projectionDirection, VPPoint3D &minPlaneProjection, VPPoint3D &volumeDimension, short int planes[], int &finalLineValue, int &finalColumnValue, VPVector3D &deltaX, VPVector3D &deltaY, VPVector3D &deltaZ, VPGraphicObj *volume) |
void | vpSetCameraDefault (VPCamera *camera, VPGraphicObj *volume) |
void | vpSetLightDefault (VPLight *light, VPCamera *camera) |
void | vpFindIntersectionCandidatePlanes (short int planes[], VPVector3D dir) |
bool | vpFindIntersectionPoints (short int planes[], VPPoint3D maxB, VPPoint3D origin, VPVector3D dir, VPPoint3D &in, VPPoint3D &out, float &tIn, float &tOut) |
bool | vpFindSphereIntersectionPoints (VPPoint3D origin, VPPoint3D center, float ray, VPVector3D dir, VPPoint3D &point) |
void | vpBAKA (VPVector3D &gradient, int i, int j, int k) |
float | vpTrilinearInterpolation (int i, int j, int k, VPGraphicObj *volume, VPPoint3D p) |
void | vpTriLinearGouraudInterpolation (int i, int j, int k, VPGraphicObj *volume, VPPoint3D p, float &color, float &light, bool &interpolate) |
void | vpTriLinearInterpolationAndGradientComputation (int i, int j, int k, VPGraphicObj *volume, VPPoint3D p, float &color, VPVector3D &g, bool &interpolate) |
void | vpOtherSampleColorAndShading (int i, int j, int k, VPGraphicObj *volume, VPPoint3D p, float previousIlight, VPLight *l, float &color, float &Ilight) |
void | vpGradientComputation (int i, int j, int k, VPGraphicObj *volume, VPPoint3D p, VPVector3D &g, bool &interpolate) |
void | vpGradient (int i, int j, int k, VPGraphicObj *volume, VPVector3D &g) |
float | vpProcessILight (VPVector3D g, VPLight *l) |
float | vpProcessSpecularILight (VPVector3D g, VPLight *l, VPVector3D o) |
void | vpSetEndSBand (VPPoint3D sb, VPGraphicObj *volume, int vt) |
int | vpGetEndSBand () |
void | vpSetEndTBand (VPPoint3D tb, VPGraphicObj *volume, int vt) |
int | vpGetEndTBand () |
void | vpSetSampleStep (float s) |
float | vpGetSampleStep () |
void | vpSetAmbientLight (float a) |
float | vpGetAmbientLight () |
void | vpSetDiffuseLight (float d) |
float | vpGetDiffuseLight () |
void | vpSetSpecularExponent (int s) |
int | vpGetSpecularExponent () |
void | vpSetSpecular (bool s) |
bool | vpGetSpecular () |
void | vpSetShadingMethod (int sm) |
int | vpGetShadingMethod () |
void | vpSetLightDirection (VPVector3D ld) |
VPVector3D | vpGetLightDirection () |
void | vpSetTypeOfCuttingTool (int t) |
int | vpGetTypeOfCuttingTool () |
void | vpDefineA (VPPoint3D &pIn, VPPoint3D pOut, VPPoint3D p1, VPVector3D deltaZ, float yCorrection, VPVector3D plane1Normal, VPGraphicObj *volume, VPPoint3D volumeDimension, float d) |
void | vpDefineB (int i, int j, int k, float &alpha, VPGraphicObj *volume, VPPoint3D &pIn, int depth, int &ivalue) |
void | Classify (float *intensity, float *gm, float *luminance, float *alpha) |
void | ClassifyColor (float *intensity, float *gm, float *r, float *g, float *b, float *alpha) |
void | SetClassificationTable (void) |
void | SetClassificationTable2 (void) |
void | SetClassificationTable3 (void) |
float | Shade (VPVector3D gradient) |
float | ShadeSpecular (VPVector3D gradient, VPVector3D obsPoint) |
void | Gradient (int i, int j, int k, VPVector3D &gradient, float *gm, VPGraphicObj *volume) |
void | GradientSobel (int i, int j, int k, VPVector3D &gradient, float *gm, VPGraphicObj *volume) |
void | GradientBaka (int i, int j, int k, VPVector3D &gradient, float *gm, VPGraphicObj *volume) |
Definition at line 75 of file vpraycasting.h.
|
Definition at line 40 of file vpraycasting.cpp. References LOCALSHADING, NULL, VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. |
|
Definition at line 3531 of file vpraycasting.cpp. Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal(). |
|
Definition at line 3561 of file vpraycasting.cpp. Referenced by vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal(). |
|
Definition at line 4027 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroMIP(). |
|
|
|
Definition at line 4072 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal(). |
|
Definition at line 3595 of file vpraycasting.cpp. References EPSILON. Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal(). |
|
Definition at line 3710 of file vpraycasting.cpp. Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal(). |
|
Definition at line 3837 of file vpraycasting.cpp. |
|
Definition at line 3947 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal(). |
|
Definition at line 3991 of file vpraycasting.cpp. References VPVector3D::vpDotProduct(), and VPVector3D::vpNormalize(). Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal(). |
|
|
|
Definition at line 3433 of file vpraycasting.cpp. References OBLIQUESLICE, ONECUTPLANE, TWOCUTPLANES, TWOCUTPLANESINCLUSIONOPAC, VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroMonoColor(), vpRenderLivroMonoGray(), and vpRenderLivroMultiModal(). |
|
Definition at line 3491 of file vpraycasting.cpp. References CUBEBYEXCLUSION, CUBEBYINCLUSION, SPHEREBYEXCLUSION, SPHEREBYINCLUSION, TWOCUTPLANES, VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroMonoColor(), vpRenderLivroMonoGray(), and vpRenderLivroMultiModal(). |
|
Definition at line 2271 of file vpraycasting.cpp. References NOTIO, PBACK, PBOTTOM, PFRONT, PIN, PLEFT, POUT, PRIGHT, PTOP, VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpSetVariables(). |
|
Definition at line 2330 of file vpraycasting.cpp. References NOTIO, PBACK, PBOTTOM, PFRONT, PIN, PLEFT, PRIGHT, PTOP, VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), vpRenderLivroMultiModal(), vpRenderMIP(), and vpRenderNoLightMonoGray(). |
|
Definition at line 2453 of file vpraycasting.cpp. References VPVector3D::vpDotProduct(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. |
|
Definition at line 3287 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingAmbientLight(). |
|
Definition at line 3309 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingDiffuseLight(). |
|
Definition at line 3144 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingSBand(). |
|
Definition at line 3242 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingTBand(). |
|
Definition at line 3400 of file vpraycasting.cpp. |
|
Definition at line 3264 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingSampleStep(). |
|
Definition at line 3375 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingShadingMethod(). |
|
Definition at line 3353 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingSpecular(). |
|
Definition at line 3331 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingSpecularExponent(). |
|
Definition at line 3422 of file vpraycasting.cpp. Referenced by VPVolume::vpGetRayCastingTypeOfCuttingTool(). |
|
|
|
Definition at line 2918 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. |
|
|
|
Definition at line 2791 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), vpProcessILight(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. |
|
Definition at line 3002 of file vpraycasting.cpp. References VPVector3D::vpDotProduct(). Referenced by vpOtherSampleColorAndShading(). |
|
Definition at line 3030 of file vpraycasting.cpp. References VPVector3D::vpDotProduct(). |
|
|
|
To know how many samples we need in T-Band and S-Band /// End of the instructions to know how many samples we need /// Definition at line 1442 of file vpraycasting.cpp. References Classify(), GradientSobel(), LEVOYSURFACEOPACITY, LINEAROPACITY, SetClassificationTable(), SetClassificationTable2(), Shade(), ShadeSpecular(), vpFindIntersectionPoints(), VPVector3D::vpModule(), VPVector3D::vpNormalize(), vpSetLightDirection(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by VPVolume::vpRender(). |
|
Definition at line 1994 of file vpraycasting.cpp. References Gradient(), LEVOYSURFACEOPACITY, LINEAROPACITY, SetClassificationTable(), SetClassificationTable2(), Shade(), vpFindIntersectionPoints(), vpSetLightDirection(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. |
|
|
To know how many samples we need in T-Band and S-Band /// End of the instructions to know how many samples we need /// Definition at line 1662 of file vpraycasting.cpp. References blue, ClassifyColor(), GradientSobel(), green, LEVOYSURFACEOPACITY, LINEAROPACITY, red, SetClassificationTable(), SetClassificationTable2(), Shade(), ShadeSpecular(), vpFindIntersectionPoints(), VPTable::vpGetColor(), VPVector3D::vpModule(), VPVector3D::vpNormalize(), vpSetLightDirection(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by VPVolume::vpRender(). |
|
|
To know how many samples we need in T-Band and S-Band /// End of the instructions to know how many samples we need /// Definition at line 1118 of file vpraycasting.cpp. References blue, Classify(), ClassifyColor(), GradientSobel(), green, LEVOYSURFACEOPACITY, LINEAROPACITY, red, SetClassificationTable(), SetClassificationTable2(), Shade(), ShadeSpecular(), vpFindIntersectionPoints(), VPTable::vpGetColor(), VPVector3D::vpModule(), VPVector3D::vpNormalize(), vpSetCameraDefault(), vpSetLightDefault(), vpSetLightDirection(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by VPVolume::vpRender(). |
|
|
Definition at line 1895 of file vpraycasting.cpp. References vpFindIntersectionPoints(), VPTable::vpGetLinearOpacityValue(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by VPVolume::vpRender(). |
|
|
|
|
|
|
|
|
|
Definition at line 1017 of file vpraycasting.cpp. References vpFindIntersectionPoints(), VPTable::vpGetLinearOpacityValue(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by VPVolume::vpRender(). |
|
|
|
|
|
Definition at line 3275 of file vpraycasting.cpp. Referenced by VPVolume::vpSetRayCastingAmbientLight(). |
|
Definition at line 2199 of file vpraycasting.cpp. References VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroMultiInnerStructures(), vpRenderLivroMultiModal(), and vpSetDefaultParameters(). |
|
Definition at line 140 of file vpraycasting.cpp. References vpSetCameraDefault(), vpSetLightDefault(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroMonoColor(), and vpRenderLivroMonoGray(). |
|
Definition at line 3298 of file vpraycasting.cpp. Referenced by VPVolume::vpSetRayCastingDiffuseLight(). |
|
Definition at line 3061 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), VPVector3D::vpSetVector3D(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by VPVolume::vpSetRayCastingSBand(). |
|
Definition at line 3158 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), VPVector3D::vpSetVector3D(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by VPVolume::vpSetRayCastingTBand(). |
|
Definition at line 2249 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), and VPVector3D::vpSetVector3D(). Referenced by vpRenderLivroMultiInnerStructures(), vpRenderLivroMultiModal(), and vpSetDefaultParameters(). |
|
Definition at line 3387 of file vpraycasting.cpp. Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal(). |
|
Definition at line 3253 of file vpraycasting.cpp. Referenced by VPVolume::vpSetRayCastingSampleStep(). |
|
Definition at line 3364 of file vpraycasting.cpp. Referenced by VPVolume::vpSetRayCastingShadingMethod(). |
|
Definition at line 3342 of file vpraycasting.cpp. Referenced by VPVolume::vpSetRayCastingSpecular(). |
|
Definition at line 3320 of file vpraycasting.cpp. Referenced by VPVolume::vpSetRayCastingSpecularExponent(). |
|
Definition at line 3411 of file vpraycasting.cpp. Referenced by VPVolume::vpSetRayCastingTypeOfCuttingTool(). |
|
|
Definition at line 2568 of file vpraycasting.cpp. References VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. |
|
Definition at line 2494 of file vpraycasting.cpp. References VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), vpRenderLivroMultiModal(), vpRenderMIP(), and vpRenderNoLightMonoGray(). |
|
Definition at line 2673 of file vpraycasting.cpp. References VPVector3D::vpNormalize(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z. |