SoLightElement Class Reference
[Elements]

VSG extension Stores information on lights. More...

#include <Inventor/elements/SoLightElement.h>

Inheritance diagram for SoLightElement:
SoAccumulatedElement SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void push (SoState *state)
virtual void pop (SoState *, const SoElement *prevTopElement)

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void add (SoState *state, SoLight *light, const SbMatrix &WCToVRCMatrix)
static const SoNodeListgetLights (SoState *state)
static const SbMatrixgetMatrix (SoState *state, int index)

Detailed Description

VSG extension Stores information on lights.

This element stores information on lights.

SEE ALSO

SoLight, SoDirectionalLight, SoPointLight, SoSpotLight


Member Function Documentation

static void SoLightElement::add ( SoState state,
SoLight light,
const SbMatrix WCToVRCMatrix 
) [static]

Add to the current light list and to the current matrix list.

static int SoLightElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoAccumulatedElement.

static SoType SoLightElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoAccumulatedElement.

static const SoNodeList& SoLightElement::getLights ( SoState state  )  [static]

Returns the current list of light nodes from the state.

static const SbMatrix& SoLightElement::getMatrix ( SoState state,
int  index 
) [static]

Returns the matrix transform (WC to VRC) for the light i for an SoCallbackAction.

Returns the modelling matrix for other action.

virtual void SoLightElement::pop ( SoState ,
const SoElement prevTopElement 
) [virtual]

Pop method.

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

Overrides push() method to copy values from next instance in the stack.

Reimplemented from SoAccumulatedElement.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/