MeVisLab Toolbox Reference
SoShadowMaterial Class Reference

#include <SoShadowMaterial.h>

Inheritance diagram for SoShadowMaterial:

Public Types

enum  OverrideRenderPassMode { SHADOW = 0x01 , NONSHADOW = 0x02 , ALL = 0xff }
 

Public Member Functions

 SoShadowMaterial ()
 
void doAction (SoAction *action) override
 
void GLRender (SoGLRenderAction *action) override
 
void callback (SoCallbackAction *action) override
 

Static Public Member Functions

static void initClass ()
 

Public Attributes

SoSFEnum overrideRenderPass
 Default is (SHADOW)
 
SoMFColor shadowColor
 Default is (0.65, 0.62, 0.51)
 
SoSFBool useShadowColor
 Default is TRUE (shadow color differs from model color)
 
SoSFVec2f shadowOffset
 Ignored by default (factor, units); see glPolygonOffset()
 

Protected Member Functions

virtual ~SoShadowMaterial ()
 

Detailed Description

Definition at line 30 of file SoShadowMaterial.h.

Member Enumeration Documentation

◆ OverrideRenderPassMode

Enumerator
SHADOW 

Override only in shadow render pass.

NONSHADOW 

Override only in non-shadow render pass.

ALL 

Override in shadow and non-shadow render pass.

Definition at line 43 of file SoShadowMaterial.h.

Constructor & Destructor Documentation

◆ ~SoShadowMaterial()

virtual SoShadowMaterial::~SoShadowMaterial ( )
protectedvirtual

◆ SoShadowMaterial()

SoShadowMaterial::SoShadowMaterial ( )

Member Function Documentation

◆ callback()

void SoShadowMaterial::callback ( SoCallbackAction * action)
override

◆ doAction()

void SoShadowMaterial::doAction ( SoAction * action)
override

◆ GLRender()

void SoShadowMaterial::GLRender ( SoGLRenderAction * action)
override

◆ initClass()

static void SoShadowMaterial::initClass ( )
static

Member Data Documentation

◆ overrideRenderPass

SoSFEnum SoShadowMaterial::overrideRenderPass

Default is (SHADOW)

Definition at line 49 of file SoShadowMaterial.h.

◆ shadowColor

SoMFColor SoShadowMaterial::shadowColor

Default is (0.65, 0.62, 0.51)

Definition at line 50 of file SoShadowMaterial.h.

◆ shadowOffset

SoSFVec2f SoShadowMaterial::shadowOffset

Ignored by default (factor, units); see glPolygonOffset()

Definition at line 52 of file SoShadowMaterial.h.

◆ useShadowColor

SoSFBool SoShadowMaterial::useShadowColor

Default is TRUE (shadow color differs from model color)

Definition at line 51 of file SoShadowMaterial.h.


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