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

X3DTK::X3D::X3DLightNode Class Reference
[X3DSceneGraph]

Base class declared in <X3DTK/X3D/scenegraph.h>, part 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 declared in <X3DTK/X3D/scenegraph.h>, part of the Lighting component defining an X3DLightNode (documentation).


Constructor & Destructor Documentation

X3DTK::X3D::X3DLightNode::X3DLightNode  ) 
 

Constructor.

X3DTK::X3D::X3DLightNode::X3DLightNode const SFFloat ambientIntensity,
const SFColor color,
const SFFloat intensity,
const 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

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

Gets the ambientIntensity attribute.

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

Gets the color attribute.

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

Gets the intensity attribute.

const 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 const SFFloat ambientIntensity  ) 
 

Sets the ambientIntensity attribute.

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

Sets the color attribute.

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

Sets the intensity attribute.

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

Sets the on attribute.

virtual SFString& X3DTK::X3D::X3DLightNode::write SFString output  )  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 Apr 7 12:15:45 2004 for X3DToolKit by doxygen 1.3.3