SoGLShadowStyleElement Class Reference
[Elements]

VSG extension Stores the current shadow style. More...

#include <Inventor/elements/SoGLShadowStyleElement.h>

Inheritance diagram for SoGLShadowStyleElement:
SoGLDrawStyleElement SoDrawStyleElement SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  ShadowStyle {
  NO_SHADOWING = 0x00,
  CASTS_SHADOW = 0x01,
  SHADOWED = 0x02,
  CASTS_SHADOW_AND_SHADOWED = 0x03
}

Public Member Functions

virtual void push (SoState *state)
virtual void pop (SoState *state, const SoElement *prevTopElement)
int getPassNumber ()
bool enableCheckLighting ()

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoShadowStyle *shadowStyle, ShadowStyle style)
static void setPassNumber (SoState *state, int passNumber)
static void getDefault (ShadowStyle &shadowStyle, int &passNumber)
static void setCheckLightingEnabled (SoState *state, bool enable)

Detailed Description

VSG extension Stores the current shadow style.

This element stores the current shadow style.

NOTE: This class does not exist in Open Inventor 10.0 and later.

SEE ALSO

SoShadowStyle

Deprecated:

Deprecated since Open Inventor 9620
SoGLShadowStyleElement is no longer supported, use equivalent SoGLDrawStyleElement.

Member Enumeration Documentation

Enumerator:
NO_SHADOWING 
CASTS_SHADOW 
SHADOWED 
CASTS_SHADOW_AND_SHADOWED 

Member Function Documentation

bool SoGLShadowStyleElement::enableCheckLighting (  )  [inline]
static int SoGLShadowStyleElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoGLDrawStyleElement.

static SoType SoGLShadowStyleElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoGLDrawStyleElement.

static void SoGLShadowStyleElement::getDefault ( ShadowStyle shadowStyle,
int &  passNumber 
) [static]
int SoGLShadowStyleElement::getPassNumber (  )  [inline]
virtual void SoGLShadowStyleElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Overrides pop() method so side effects can occur in GL.

Reimplemented from SoGLDrawStyleElement.

virtual void SoGLShadowStyleElement::push ( SoState state  )  [virtual]

Overrides push() so we can remember the previous element's draw style, and perhaps avoid sending unnecessary GL calls if this element is the same.

Reimplemented from SoGLDrawStyleElement.

static void SoGLShadowStyleElement::set ( SoState state,
SoShadowStyle shadowStyle,
ShadowStyle  style 
) [static]
static void SoGLShadowStyleElement::setCheckLightingEnabled ( SoState state,
bool  enable 
) [static]
static void SoGLShadowStyleElement::setPassNumber ( SoState state,
int  passNumber 
) [static]

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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/