Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

X3DTK::X3D::X3DLightNode Class Reference

Base class of the Lighting component defining an X3DLightNode (documentation). More...

Inheritance diagram for X3DTK::X3D::X3DLightNode:

X3DTK::X3D::X3DChildNode X3DTK::X3D::X3DNode X3DTK::X3DAbstractNode X3DTK::X3D::DirectionalLight X3DTK::X3D::PointLight X3DTK::X3D::SpotLight List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Base class of the Lighting component defining an X3DLightNode (documentation).


Constructor & Destructor Documentation

X3DTK::X3D::X3DLightNode::X3DLightNode  ) 
 

Constructor.

X3DTK::X3D::X3DLightNode::X3DLightNode SFFloat  ambientIntensity,
const SFColor &  color,
SFFloat  intensity,
SFBool  on
 

Constructs an X3DLightNode from its attributes.

virtual X3DTK::X3D::X3DLightNode::~X3DLightNode  )  [virtual]
 

Virtual destructor.

X3DTK::X3D::X3DLightNode::X3DLightNode const X3DLightNode &  N  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode X3DTK::X3D::X3DLightNode::clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3D::X3DChildNode.

Reimplemented in X3DTK::X3D::DirectionalLight, X3DTK::X3D::PointLight, and X3DTK::X3D::SpotLight.

SFFloat X3DTK::X3D::X3DLightNode::getAmbientIntensity  )  const [inline]
 

Gets the ambientIntensity attribute.

const SFColor& X3DTK::X3D::X3DLightNode::getColor  )  const [inline]
 

Gets the color attribute.

SFFloat X3DTK::X3D::X3DLightNode::getIntensity  )  const [inline]
 

Gets the intensity attribute.

SFBool X3DTK::X3D::X3DLightNode::getOn  )  const [inline]
 

Gets the on attribute.

virtual void X3DTK::X3D::X3DLightNode::load const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement.

Reimplemented from X3DTK::X3D::X3DNode.

Reimplemented in X3DTK::X3D::DirectionalLight, X3DTK::X3D::PointLight, and X3DTK::X3D::SpotLight.

void X3DTK::X3D::X3DLightNode::setAmbientIntensity SFFloat  ambientIntensity  ) 
 

Sets the ambientIntensity attribute.

void X3DTK::X3D::X3DLightNode::setColor const SFColor &  color  ) 
 

Sets the color attribute.

void X3DTK::X3D::X3DLightNode::setIntensity SFFloat  intensity  ) 
 

Sets the intensity attribute.

void X3DTK::X3D::X3DLightNode::setOn SFBool  on  ) 
 

Sets the on attribute.

virtual SFString X3DTK::X3D::X3DLightNode::write  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DNode.

Reimplemented in X3DTK::X3D::DirectionalLight, X3DTK::X3D::PointLight, and X3DTK::X3D::SpotLight.


Generated on Wed Sep 10 11:25:25 2003 for X3DToolKit by doxygen1.3