Stores information on lights. More...
#include <Inventor/elements/SoLightElement.h>
Public Member Functions | |
virtual void | push (SoState *state) |
Overrides push() method to copy values from next instance in the stack. | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Pops element. | |
Public Member Functions inherited from SoAccumulatedElement | |
virtual void | print (FILE *fp) const |
Prints element (for debugging). | |
Public Member Functions inherited from SoElement | |
virtual SoType | getTypeId () const |
Returns type identifier for element instance. | |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
static void | add (SoState *state, SoLight *light, const SbMatrix &WCToVRCMatrix) |
Add to the current light list and to the current matrix list. | |
static const SoNodeList & | getLights (SoState *state) |
Returns the current list of light nodes from the state. | |
static const SbMatrix & | getMatrix (SoState *state, int index) |
Returns the matrix transform (WC to VRC) for the light i for an SoCallbackAction. | |
Static Public Member Functions inherited from SoAccumulatedElement | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
Static Public Member Functions inherited from SoElement | |
static SoType | getClassTypeId () |
Returns type identifier for SoElement class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
This element stores information on lights.
SoLight, SoDirectionalLight, SoPointLight, SoSpotLight
Definition at line 48 of file SoLightElement.h.
|
static |
Add to the current light list and to the current matrix list.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
static |
Returns the current list of light nodes from the state.
Returns the matrix transform (WC to VRC) for the light i for an SoCallbackAction.
Returns the modelling matrix for other action.
Pops element.
Allows for side effects to occur. Default methods do nothing.
Reimplemented from SoElement.
|
virtual |
Overrides push() method to copy values from next instance in the stack.
Reimplemented from SoAccumulatedElement.