Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

VPRayCasting Class Reference

#include <vpraycasting.h>

List of all members.

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)


Detailed Description

Deprecated:

Definition at line 75 of file vpraycasting.h.


Constructor & Destructor Documentation

VPRayCasting::VPRayCasting  ) 
 

Definition at line 40 of file vpraycasting.cpp.

References LOCALSHADING, NULL, VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.


Member Function Documentation

void VPRayCasting::Classify float *  intensity,
float *  gm,
float *  luminance,
float *  alpha
 

Definition at line 3531 of file vpraycasting.cpp.

Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal().

void VPRayCasting::ClassifyColor float *  intensity,
float *  gm,
float *  r,
float *  g,
float *  b,
float *  alpha
 

Definition at line 3561 of file vpraycasting.cpp.

Referenced by vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal().

void VPRayCasting::Gradient int  i,
int  j,
int  k,
VPVector3D gradient,
float *  gm,
VPGraphicObj volume
 

Definition at line 4027 of file vpraycasting.cpp.

References VPVector3D::vpNormalize(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by vpRenderLivroMIP().

void VPRayCasting::GradientBaka int  i,
int  j,
int  k,
VPVector3D gradient,
float *  gm,
VPGraphicObj volume
 

void VPRayCasting::GradientSobel int  i,
int  j,
int  k,
VPVector3D gradient,
float *  gm,
VPGraphicObj volume
 

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().

void VPRayCasting::SetClassificationTable void   ) 
 

Definition at line 3595 of file vpraycasting.cpp.

References EPSILON.

Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal().

void VPRayCasting::SetClassificationTable2 void   ) 
 

Definition at line 3710 of file vpraycasting.cpp.

Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal().

void VPRayCasting::SetClassificationTable3 void   ) 
 

Definition at line 3837 of file vpraycasting.cpp.

float VPRayCasting::Shade VPVector3D  gradient  ) 
 

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().

float VPRayCasting::ShadeSpecular VPVector3D  gradient,
VPVector3D  obsPoint
 

Definition at line 3991 of file vpraycasting.cpp.

References VPVector3D::vpDotProduct(), and VPVector3D::vpNormalize().

Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal().

void VPRayCasting::vpBAKA VPVector3D gradient,
int  i,
int  j,
int  k
 

void VPRayCasting::vpDefineA VPPoint3D pIn,
VPPoint3D  pOut,
VPPoint3D  p1,
VPVector3D  deltaZ,
float  yCorrection,
VPVector3D  plane1Normal,
VPGraphicObj volume,
VPPoint3D  volumeDimension,
float  d
 

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().

void VPRayCasting::vpDefineB int  i,
int  j,
int  k,
float &  alpha,
VPGraphicObj volume,
VPPoint3D pIn,
int  depth,
int &  ivalue
 

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().

void VPRayCasting::vpFindIntersectionCandidatePlanes short int  planes[],
VPVector3D  dir
 

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().

bool VPRayCasting::vpFindIntersectionPoints short int  planes[],
VPPoint3D  maxB,
VPPoint3D  origin,
VPVector3D  dir,
VPPoint3D in,
VPPoint3D out,
float &  tIn,
float &  tOut
 

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().

bool VPRayCasting::vpFindSphereIntersectionPoints VPPoint3D  origin,
VPPoint3D  center,
float  ray,
VPVector3D  dir,
VPPoint3D point
 

Definition at line 2453 of file vpraycasting.cpp.

References VPVector3D::vpDotProduct(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

float VPRayCasting::vpGetAmbientLight  ) 
 

Definition at line 3287 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingAmbientLight().

float VPRayCasting::vpGetDiffuseLight  ) 
 

Definition at line 3309 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingDiffuseLight().

int VPRayCasting::vpGetEndSBand  ) 
 

Definition at line 3144 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingSBand().

int VPRayCasting::vpGetEndTBand  ) 
 

Definition at line 3242 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingTBand().

VPVector3D VPRayCasting::vpGetLightDirection  ) 
 

Definition at line 3400 of file vpraycasting.cpp.

float VPRayCasting::vpGetSampleStep  ) 
 

Definition at line 3264 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingSampleStep().

int VPRayCasting::vpGetShadingMethod  ) 
 

Definition at line 3375 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingShadingMethod().

bool VPRayCasting::vpGetSpecular  ) 
 

Definition at line 3353 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingSpecular().

int VPRayCasting::vpGetSpecularExponent  ) 
 

Definition at line 3331 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingSpecularExponent().

int VPRayCasting::vpGetTypeOfCuttingTool  ) 
 

Definition at line 3422 of file vpraycasting.cpp.

Referenced by VPVolume::vpGetRayCastingTypeOfCuttingTool().

void VPRayCasting::vpGradient int  i,
int  j,
int  k,
VPGraphicObj volume,
VPVector3D g
 

void VPRayCasting::vpGradientComputation int  i,
int  j,
int  k,
VPGraphicObj volume,
VPPoint3D  p,
VPVector3D g,
bool &  interpolate
 

Definition at line 2918 of file vpraycasting.cpp.

References VPVector3D::vpNormalize(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

void VPRayCasting::vpMakeRegistration  ) 
 

void VPRayCasting::vpOtherSampleColorAndShading int  i,
int  j,
int  k,
VPGraphicObj volume,
VPPoint3D  p,
float  previousIlight,
VPLight l,
float &  color,
float &  Ilight
 

Definition at line 2791 of file vpraycasting.cpp.

References VPVector3D::vpNormalize(), vpProcessILight(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

float VPRayCasting::vpProcessILight VPVector3D  g,
VPLight l
 

Definition at line 3002 of file vpraycasting.cpp.

References VPVector3D::vpDotProduct().

Referenced by vpOtherSampleColorAndShading().

float VPRayCasting::vpProcessSpecularILight VPVector3D  g,
VPLight l,
VPVector3D  o
 

Definition at line 3030 of file vpraycasting.cpp.

References VPVector3D::vpDotProduct().

void VPRayCasting::vpRenderLivro3VolMultiModal VPScene s,
VPCamera c,
int  opacityComputation,
unsigned int ***  image
 

void VPRayCasting::vpRenderLivroInnerStructures VPScene s,
VPCamera c,
int  opacityComputation,
unsigned int **  image
 

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().

void VPRayCasting::vpRenderLivroMIP VPScene s,
VPCamera c,
unsigned int **  image
 

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.

void VPRayCasting::vpRenderLivroMonoColor VPScene s,
VPCamera c,
int  opacityComputation,
unsigned int ***  image
 

Definition at line 801 of file vpraycasting.cpp.

References blue, ClassifyColor(), CVP, GradientSobel(), green, LEVOYSURFACEOPACITY, LINEAROPACITY, OBLIQUESLICE, red, SetClassificationTable(), SetClassificationTable2(), Shade(), ShadeSpecular(), TWOCUTPLANESINCLUSIONOPAC, VPVector3D::vpCrossProduct(), vpDefineA(), vpDefineB(), vpFindIntersectionPoints(), VPTable::vpGetColor(), VPVector3D::vpNormalize(), vpSetDefaultParameters(), vpSetLightDirection(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by VPVolume::vpRender().

void VPRayCasting::vpRenderLivroMonoColorInnerStructures VPScene s,
VPCamera c,
int  opacityComputation,
unsigned int ***  image
 

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().

void VPRayCasting::vpRenderLivroMonoGray VPScene s,
VPCamera c,
int  visualizationType,
int  opacityComputation,
unsigned int **  image
 

Definition at line 184 of file vpraycasting.cpp.

References Classify(), CVP, DEFAULTVIS, GradientSobel(), LEVOYSURFACEOPACITY, LINEAROPACITY, MONOGRAYVIS, OBLIQUESLICE, SetClassificationTable(), SetClassificationTable2(), Shade(), ShadeSpecular(), TWOCUTPLANESINCLUSIONOPAC, VPVector3D::vpCrossProduct(), vpDefineA(), vpDefineB(), vpFindIntersectionPoints(), VPVector3D::vpNormalize(), vpSetDefaultParameters(), vpSetLightDirection(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by VPVolume::vpRender().

void VPRayCasting::vpRenderLivroMultiInnerStructures VPScene s,
VPCamera c,
int  opacityComputation,
unsigned int ***  image
 

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().

void VPRayCasting::vpRenderLivroMultiModal VPScene s,
VPCamera c,
int  opacityComputation,
unsigned int ***  image
 

Definition at line 442 of file vpraycasting.cpp.

References blue, Classify(), ClassifyColor(), CVP, GradientSobel(), green, LEVOYSURFACEOPACITY, LINEAROPACITY, OBLIQUESLICE, red, SetClassificationTable(), SetClassificationTable2(), Shade(), ShadeSpecular(), TWOCUTPLANESINCLUSIONOPAC, VPVector3D::vpCrossProduct(), vpDefineA(), vpDefineB(), vpFindIntersectionPoints(), VPTable::vpGetColor(), VPVector3D::vpNormalize(), vpSetCameraDefault(), vpSetLightDefault(), vpSetLightDirection(), vpSetVariables(), vpTrilinearInterpolation(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by VPVolume::vpRender().

void VPRayCasting::vpRenderMIP VPScene s,
VPCamera c,
unsigned int **  image
 

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().

void VPRayCasting::vpRenderMonoColor VPScene s,
VPCamera c,
int  opacityComputation,
unsigned int ***  image
 

void VPRayCasting::vpRenderMonoGray VPScene s,
VPCamera c,
int  visualizationType,
int  opacityComputation,
unsigned int **  image
 

void VPRayCasting::vpRenderMultiModal  ) 
 

void VPRayCasting::vpRenderMultiModal VPScene s,
VPCamera c,
int  opacityComputation,
unsigned int ***  image
 

void VPRayCasting::vpRenderNoLightMonoGray VPScene s,
VPCamera c,
unsigned int **  image
 

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().

void VPRayCasting::vpRenderSideBySide  ) 
 

void VPRayCasting::vpRenderSubVolume  ) 
 

void VPRayCasting::vpSetAmbientLight float  a  ) 
 

Definition at line 3275 of file vpraycasting.cpp.

Referenced by VPVolume::vpSetRayCastingAmbientLight().

void VPRayCasting::vpSetCameraDefault VPCamera camera,
VPGraphicObj volume
 

Definition at line 2199 of file vpraycasting.cpp.

References VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by vpRenderLivroMultiInnerStructures(), vpRenderLivroMultiModal(), and vpSetDefaultParameters().

void VPRayCasting::vpSetDefaultParameters VPGraphicObj volume,
VPCamera camera
 

Definition at line 140 of file vpraycasting.cpp.

References vpSetCameraDefault(), vpSetLightDefault(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by vpRenderLivroMonoColor(), and vpRenderLivroMonoGray().

void VPRayCasting::vpSetDiffuseLight float  d  ) 
 

Definition at line 3298 of file vpraycasting.cpp.

Referenced by VPVolume::vpSetRayCastingDiffuseLight().

void VPRayCasting::vpSetEndSBand VPPoint3D  sb,
VPGraphicObj volume,
int  vt
 

Definition at line 3061 of file vpraycasting.cpp.

References VPVector3D::vpNormalize(), VPVector3D::vpSetVector3D(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by VPVolume::vpSetRayCastingSBand().

void VPRayCasting::vpSetEndTBand VPPoint3D  tb,
VPGraphicObj volume,
int  vt
 

Definition at line 3158 of file vpraycasting.cpp.

References VPVector3D::vpNormalize(), VPVector3D::vpSetVector3D(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by VPVolume::vpSetRayCastingTBand().

void VPRayCasting::vpSetLightDefault VPLight light,
VPCamera camera
 

Definition at line 2249 of file vpraycasting.cpp.

References VPVector3D::vpNormalize(), and VPVector3D::vpSetVector3D().

Referenced by vpRenderLivroMultiInnerStructures(), vpRenderLivroMultiModal(), and vpSetDefaultParameters().

void VPRayCasting::vpSetLightDirection VPVector3D  ld  ) 
 

Definition at line 3387 of file vpraycasting.cpp.

Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), and vpRenderLivroMultiModal().

void VPRayCasting::vpSetSampleStep float  s  ) 
 

Definition at line 3253 of file vpraycasting.cpp.

Referenced by VPVolume::vpSetRayCastingSampleStep().

void VPRayCasting::vpSetShadingMethod int  sm  ) 
 

Definition at line 3364 of file vpraycasting.cpp.

Referenced by VPVolume::vpSetRayCastingShadingMethod().

void VPRayCasting::vpSetSpecular bool  s  ) 
 

Definition at line 3342 of file vpraycasting.cpp.

Referenced by VPVolume::vpSetRayCastingSpecular().

void VPRayCasting::vpSetSpecularExponent int  s  ) 
 

Definition at line 3320 of file vpraycasting.cpp.

Referenced by VPVolume::vpSetRayCastingSpecularExponent().

void VPRayCasting::vpSetTypeOfCuttingTool int  t  ) 
 

Definition at line 3411 of file vpraycasting.cpp.

Referenced by VPVolume::vpSetRayCastingTypeOfCuttingTool().

void VPRayCasting::vpSetVariables VPCamera camera,
VPVector3D projectionDirection,
VPPoint3D minPlaneProjection,
VPPoint3D volumeDimension,
short int  planes[],
int &  finalLineValue,
int &  finalColumnValue,
VPVector3D deltaX,
VPVector3D deltaY,
VPVector3D deltaZ,
VPGraphicObj volume
 

Definition at line 2122 of file vpraycasting.cpp.

References VPVector3D::vpCrossProduct(), vpFindIntersectionCandidatePlanes(), VPPoint2D::vpGetX(), VPPoint2D::vpGetY(), VPVector3D::vpNormalize(), VPVector3D::vpSetVector3D(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

Referenced by vpRenderLivroInnerStructures(), vpRenderLivroMIP(), vpRenderLivroMonoColor(), vpRenderLivroMonoColorInnerStructures(), vpRenderLivroMonoGray(), vpRenderLivroMultiInnerStructures(), vpRenderLivroMultiModal(), vpRenderMIP(), and vpRenderNoLightMonoGray().

void VPRayCasting::vpTriLinearGouraudInterpolation int  i,
int  j,
int  k,
VPGraphicObj volume,
VPPoint3D  p,
float &  color,
float &  light,
bool &  interpolate
 

Definition at line 2568 of file vpraycasting.cpp.

References VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.

float VPRayCasting::vpTrilinearInterpolation int  i,
int  j,
int  k,
VPGraphicObj volume,
VPPoint3D  p
 

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().

void VPRayCasting::vpTriLinearInterpolationAndGradientComputation int  i,
int  j,
int  k,
VPGraphicObj volume,
VPPoint3D  p,
float &  color,
VPVector3D g,
bool &  interpolate
 

Definition at line 2673 of file vpraycasting.cpp.

References VPVector3D::vpNormalize(), VPPoint3D::x, VPPoint3D::y, and VPPoint3D::z.


The documentation for this class was generated from the following files:
Generated on Tue Sep 6 10:00:18 2005 for VPAT by  doxygen 1.4.4