public

Inheritance Graph

graph BT
	LightingState
	LightingState --> State
	click LightingState "classMinSG_1_1LightingState"
	click State "classMinSG_1_1State"

Description

State , that illuminates the node it is attached to. It serves as a wrapper for an associated light. When this state is (de-)activated, it (de-)activates the light.

Author: Benjamin Eikel

Date: 2010-05-25

Public Functions

   
   
  LightingState()
   
  LightingState( LightNode * newLight)
   
  LightingState(const LightingState & source)
   
LightNode * getLight() const
   
void setLight( LightNode * newLight)
   
LightingState * clone() const
Create a duplicate of this State object.
   
bool getEnableLight() const
   
void setEnableLight(bool b)

Documentation

function
MinSG::LightingState::LightingState

public
   
   
LightingState( )

Defined in MinSG/Core/States/LightingState.h:33


function
MinSG::LightingState::LightingState

public
     
     
LightingState( LightNode * newLight )

Defined in MinSG/Core/States/LightingState.h:34


function
MinSG::LightingState::LightingState

public
     
     
LightingState( const LightingState & source )

Defined in MinSG/Core/States/LightingState.h:35


function
MinSG::LightingState::getLight

public const inline
   
   
LightNode * getLight( ) const

Defined in MinSG/Core/States/LightingState.h:37


function
MinSG::LightingState::setLight

public inline
     
     
void setLight( LightNode * newLight )

Defined in MinSG/Core/States/LightingState.h:38


function
MinSG::LightingState::clone

public const virtual
   
   
LightingState * clone( ) const

Create a duplicate of this State object.

Defined in MinSG/Core/States/LightingState.h:39


function
MinSG::LightingState::getEnableLight

public const inline
   
   
bool getEnableLight( ) const

Defined in MinSG/Core/States/LightingState.h:41


function
MinSG::LightingState::setEnableLight

public inline
     
     
void setEnableLight( bool b )

Defined in MinSG/Core/States/LightingState.h:42