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

X3DTK::X3D::PointLight Class Reference

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

Inheritance diagram for X3DTK::X3D::PointLight:

X3DTK::X3D::X3DLightNode X3DTK::X3D::X3DChildNode X3DTK::X3D::X3DNode X3DTK::X3DAbstractNode List of all members.

Public Methods

Protected Methods


Detailed Description

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


Constructor & Destructor Documentation

X3DTK::X3D::PointLight::PointLight  
 

Constructor.

X3DTK::X3D::PointLight::PointLight SFFloat    ambientIntensity,
const SFVec3f   attenuation,
const SFColor &    color,
SFFloat    intensity,
const SFVec3f   location,
SFBool    on,
SFFloat    radius
 

Constructs a PointLight from its attributes.

virtual X3DTK::X3D::PointLight::~PointLight   [virtual]
 

Virtual destructor.

X3DTK::X3D::PointLight::PointLight const PointLight &    N [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode X3DTK::X3D::PointLight::clone   [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3D::X3DLightNode.

const SFVec3f& X3DTK::X3D::PointLight::getAttenuation   const [inline]
 

Gets the attenuation attribute.

const SFVec3f& X3DTK::X3D::PointLight::getLocation   const [inline]
 

Gets the location attribute.

SFFloat X3DTK::X3D::PointLight::getRadius   const [inline]
 

Gets the radius attribute.

virtual void X3DTK::X3D::PointLight::load const X3DFileElement   element [virtual]
 

Loads the attributes from a X3DFileElement.

Reimplemented from X3DTK::X3D::X3DLightNode.

void X3DTK::X3D::PointLight::setAttenuation const SFVec3f   attenuation
 

Sets the attenuation attribute.

void X3DTK::X3D::PointLight::setLocation const SFVec3f   location
 

Sets the location attribute.

void X3DTK::X3D::PointLight::setRadius SFFloat    radius
 

Sets the radius attribute.

virtual SFString X3DTK::X3D::PointLight::write   [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DLightNode.


Generated on Thu Oct 9 13:51:02 2003 for X3DToolKit by doxygen1.2.18