public

Inheritance Graph

graph BT
	LightNode
	LightNode --> Node
	click LightNode "classMinSG_1_1LightNode"
	click Node "classMinSG_1_1Node"

Description

[ LightNode ] > [ Node ]

Public Static Functions

   
   
LightNode * createPointLight()
factories
   
LightNode * createDirectionalLight()
   
LightNode * createSpotLight()

Public Functions

     
     
  LightNode( Rendering::LightParameters::lightType_t type)  
     
  ~LightNode()  
     
Rendering::LightParameters::lightType_t getType() const  
     
void setLightType( Rendering::LightParameters::lightType_t type)  
     
void setAmbientLightColor(const Util::Color4f & color)
Color parameters.
 
     
void setDiffuseLightColor(const Util::Color4f & color)  
     
void setSpecularLightColor(const Util::Color4f & color)  
     
const Util::Color4f & getAmbientLightColor() const  
     
const Util::Color4f & getDiffuseLightColor() const  
     
const Util::Color4f & getSpecularLightColor() const  
     
void setConstantAttenuation(float attenuation)
Attenuations.
 
     
float getConstantAttenuation() const  
     
void setLinearAttenuation(float attenuation)  
     
float getLinearAttenuation() const  
     
void setQuadraticAttenuation(float attenuation)  
     
float getQuadraticAttenuation() const  
     
float getCutoff() const
SpoLight parameters.
 
     
void setCutoff(float cutoff)  
     
void setExponent(float exponent)  
     
float getExponent() const  
     
const Rendering::LightParameters & getParameters() const  
     
void switchOn( FrameContext & context)  
     
void switchOff( FrameContext & context)  
     
bool isSwitchedOn() const  
     
void doDisplay( FrameContext & context, const RenderParam & rp)
> [ Node ]

Documentation

function
MinSG::LightNode::createPointLight

public static
   
   
LightNode * createPointLight( )

factories

Defined in MinSG/Core/Nodes/LightNode.h:38


function
MinSG::LightNode::createDirectionalLight

public static
   
   
LightNode * createDirectionalLight( )

Defined in MinSG/Core/Nodes/LightNode.h:39


function
MinSG::LightNode::createSpotLight

public static
   
   
LightNode * createSpotLight( )

Defined in MinSG/Core/Nodes/LightNode.h:40


function
MinSG::LightNode::LightNode

public
     
     
LightNode( Rendering::LightParameters::lightType_t type )

Defined in MinSG/Core/Nodes/LightNode.h:44


function
MinSG::LightNode::~LightNode

public virtual
   
   
~LightNode( )

Defined in MinSG/Core/Nodes/LightNode.h:45


function
MinSG::LightNode::getType

public const inline
   
   
Rendering::LightParameters::lightType_t getType( ) const

Defined in MinSG/Core/Nodes/LightNode.h:47


function
MinSG::LightNode::setLightType

public inline
     
     
void setLightType( Rendering::LightParameters::lightType_t type )

Defined in MinSG/Core/Nodes/LightNode.h:50


function
MinSG::LightNode::setAmbientLightColor

public inline
     
     
void setAmbientLightColor( const Util::Color4f & color )

Color parameters.

Defined in MinSG/Core/Nodes/LightNode.h:57


function
MinSG::LightNode::setDiffuseLightColor

public inline
     
     
void setDiffuseLightColor( const Util::Color4f & color )

Defined in MinSG/Core/Nodes/LightNode.h:58


function
MinSG::LightNode::setSpecularLightColor

public inline
     
     
void setSpecularLightColor( const Util::Color4f & color )

Defined in MinSG/Core/Nodes/LightNode.h:59


function
MinSG::LightNode::getAmbientLightColor

public const inline
   
   
const Util::Color4f & getAmbientLightColor( ) const

Defined in MinSG/Core/Nodes/LightNode.h:60


function
MinSG::LightNode::getDiffuseLightColor

public const inline
   
   
const Util::Color4f & getDiffuseLightColor( ) const

Defined in MinSG/Core/Nodes/LightNode.h:61


function
MinSG::LightNode::getSpecularLightColor

public const inline
   
   
const Util::Color4f & getSpecularLightColor( ) const

Defined in MinSG/Core/Nodes/LightNode.h:62


function
MinSG::LightNode::setConstantAttenuation

public inline
     
     
void setConstantAttenuation( float attenuation )

Attenuations.

Defined in MinSG/Core/Nodes/LightNode.h:66


function
MinSG::LightNode::getConstantAttenuation

public const inline
   
   
float getConstantAttenuation( ) const

Defined in MinSG/Core/Nodes/LightNode.h:67


function
MinSG::LightNode::setLinearAttenuation

public inline
     
     
void setLinearAttenuation( float attenuation )

Defined in MinSG/Core/Nodes/LightNode.h:68


function
MinSG::LightNode::getLinearAttenuation

public const inline
   
   
float getLinearAttenuation( ) const

Defined in MinSG/Core/Nodes/LightNode.h:69


function
MinSG::LightNode::setQuadraticAttenuation

public inline
     
     
void setQuadraticAttenuation( float attenuation )

Defined in MinSG/Core/Nodes/LightNode.h:70


function
MinSG::LightNode::getQuadraticAttenuation

public const inline
   
   
float getQuadraticAttenuation( ) const

Defined in MinSG/Core/Nodes/LightNode.h:71


function
MinSG::LightNode::getCutoff

public const inline
   
   
float getCutoff( ) const

SpoLight parameters.

Defined in MinSG/Core/Nodes/LightNode.h:74


function
MinSG::LightNode::setCutoff

public
     
     
void setCutoff( float cutoff )

Defined in MinSG/Core/Nodes/LightNode.h:76


function
MinSG::LightNode::setExponent

public inline
     
     
void setExponent( float exponent )

Defined in MinSG/Core/Nodes/LightNode.h:77


function
MinSG::LightNode::getExponent

public const inline
   
   
float getExponent( ) const

Defined in MinSG/Core/Nodes/LightNode.h:78


function
MinSG::LightNode::getParameters

public const inline
   
   
const Rendering::LightParameters & getParameters( ) const

Defined in MinSG/Core/Nodes/LightNode.h:80


function
MinSG::LightNode::switchOn

public
     
     
void switchOn( FrameContext & context )

Defined in MinSG/Core/Nodes/LightNode.h:85


function
MinSG::LightNode::switchOff

public
     
     
void switchOff( FrameContext & context )

Defined in MinSG/Core/Nodes/LightNode.h:86


function
MinSG::LightNode::isSwitchedOn

public const inline
   
   
bool isSwitchedOn( ) const

Defined in MinSG/Core/Nodes/LightNode.h:87


function
MinSG::LightNode::doDisplay

public virtual
     
     
void doDisplay( FrameContext & context,
  const RenderParam & rp
)    
> [ Node ]

Defined in MinSG/Core/Nodes/LightNode.h:90