#include <SoCast.h>
Definition at line 41 of file SoCast.h.
◆ LightMode
How to cast regarding the light.
Enumerator |
---|
FREE | The field "lightPos" is used.
|
PLANE | Light is perpendicular to the shadow plane.
|
CAMERA | Light comes from the current camera.
|
Definition at line 93 of file SoCast.h.
◆ SoCast()
◆ ~SoCast()
◆ adjustCurrentCameraClippingPlanes()
void SoCast::adjustCurrentCameraClippingPlanes |
( |
SoState * | state | ) |
|
|
protected |
Adjust camera clipping planes to contain the entire scene including shadow projection plane.
◆ animatePlaneAngleAssignment()
void SoCast::animatePlaneAngleAssignment |
( |
float | newAngle | ) |
|
◆ cameraToPlane()
Calculates plane and plane vertices from viewing state.
◆ castRenderSetup()
Called from GLRender() before rendering traversal of model in cast-mode starts. SoShadowRenderElement will be set by GLRender().
◆ commonGLRender()
◆ getBoundingBox()
◆ getCastMatrix()
Returns a matrix projecting model vertices on a plane. Method is used by castRenderSetup().
◆ getCurLightDir()
Return the vector used to setup the current cast matrix.
This value depends on the current lightMode.
Definition at line 127 of file SoCast.h.
◆ getFarestPlaneVertex()
◆ getFarestSceneVertex()
◆ getNearestPlaneVertex()
Used by viewers to extend clipping planes. Returns the nearest/farest plane vertex from the camera.
Definition at line 142 of file SoCast.h.
◆ getPlaneBoundingBox()
Calculates bounding box for plane.
◆ GLRenderBelowPath()
◆ GLRenderInPath()
◆ initClass()
◆ normalRenderSetup()
Called from GLRender() before normal rendering traversal of model starts. SoShadowRenderElement will be set by GLRender().
Definition at line 70 of file SoCast.h.
◆ _curlightPos
◆ _curPlaneArea
◆ castColor
Color used to draw projected shapes. Default is (0.65, 0.62, 0.51).
Definition at line 118 of file SoCast.h.
◆ castRender
Enable/disable cast render pass. Default is (TRUE).
Definition at line 121 of file SoCast.h.
◆ lightMode
... . Default is (FREE).
Definition at line 103 of file SoCast.h.
◆ lightPos
Direction of the light. Default is (-1,-1,-1,0).
Definition at line 100 of file SoCast.h.
◆ planeAngle
Rotation around camera side vector. Default is (SbDeg2Rad<float>(40)).
Value is only used if field projectionPlane is ignored.
Definition at line 115 of file SoCast.h.
◆ projectionPlane
Plane to cast projected model onto. Default is ((0, 1, 0), 0).
If the field is set to be ignored, compute plane from camera.
Definition at line 109 of file SoCast.h.
The documentation for this class was generated from the following file:
- FMEwork/ReleaseMeVis/Sources/Inventor/SoShadow/Inventor/nodes/SoCast.h