MeVisLab Toolbox Reference
SoShadowCast Class Reference

#include <SoShadowCast.h>

Inheritance diagram for SoShadowCast:
SoCast SoPickableShadowCast

Public Member Functions

 SoShadowCast ()
 
void commonGLRender (SoGLRenderAction *action) override
 
- Public Member Functions inherited from SoCast
const SbVec4fgetCurLightDir () const
 Return the vector used to setup the current cast matrix.
 
void animatePlaneAngleAssignment (float newAngle)
 
void getBoundingBox (SoGetBoundingBoxAction *action) override
 
void GLRenderBelowPath (SoGLRenderAction *action) override
 
void GLRenderInPath (SoGLRenderAction *action) override
 
const SbVec3fgetNearestPlaneVertex ()
 
const SbVec3fgetFarestPlaneVertex ()
 
virtual const SbVec3fgetFarestSceneVertex ()
 

Static Public Member Functions

static void initClass ()
 
- Static Public Member Functions inherited from SoCast
static void initClass ()
 

Public Attributes

SoSFBool planeRender
 Enable/disable rendering of plane. Defaults to (TRUE).
 
SoSFColor planeColor
 Color of groundplane. Defaults to (0.89, 0.86, 0.70)
 
- Public Attributes inherited from SoCast
SoSFVec4f lightPos
 Direction of the light. Default is (-1,-1,-1,0).
 
SoSFEnum lightMode
 ... . Default is (FREE).
 
SoSFPlane projectionPlane
 Plane to cast projected model onto. Default is ((0, 1, 0), 0).
 
SoSFFloat planeAngle
 Rotation around camera side vector. Default is (SbDeg2Rad<float>(40)).
 
SoSFColor castColor
 Color used to draw projected shapes. Default is (0.65, 0.62, 0.51).
 
SoSFBool castRender
 Enable/disable cast render pass. Default is (TRUE).
 

Protected Member Functions

virtual ~SoShadowCast ()
 
- Protected Member Functions inherited from SoCast
 SoCast ()
 Protected constructor.
 
virtual ~SoCast ()
 
SbPlane cameraToPlane (SoState *state, SbGroundplane &area)
 Calculates plane and plane vertices from viewing state.
 
SbBox3f getPlaneBoundingBox (SoState *state, SbBool usePlaneElement=FALSE)
 Calculates bounding box for plane.
 
virtual SbMatrix getCastMatrix (SoState *)
 
void adjustCurrentCameraClippingPlanes (SoState *state)
 

Additional Inherited Members

- Public Types inherited from SoCast
enum  LightMode { FREE , PLANE , CAMERA }
 How to cast regarding the light. More...
 
- Protected Attributes inherited from SoCast
SbVec4f _curlightPos
 
SbGroundplane _curPlaneArea
 

Detailed Description

Definition at line 26 of file SoShadowCast.h.

Constructor & Destructor Documentation

◆ ~SoShadowCast()

virtual SoShadowCast::~SoShadowCast ( )
protectedvirtual

◆ SoShadowCast()

SoShadowCast::SoShadowCast ( )

Member Function Documentation

◆ commonGLRender()

void SoShadowCast::commonGLRender ( SoGLRenderAction * action)
overridevirtual

Reimplemented from SoCast.

◆ initClass()

static void SoShadowCast::initClass ( )
static

Member Data Documentation

◆ planeColor

SoSFColor SoShadowCast::planeColor

Color of groundplane. Defaults to (0.89, 0.86, 0.70)

Definition at line 44 of file SoShadowCast.h.

◆ planeRender

SoSFBool SoShadowCast::planeRender

Enable/disable rendering of plane. Defaults to (TRUE).

Definition at line 41 of file SoShadowCast.h.


The documentation for this class was generated from the following file: