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

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

Base class declared in <X3DTK/X3D/scenegraph.h>, part of the Lighting component defining a 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 Member Functions

Protected Member Functions


Detailed Description

Base class declared in <X3DTK/X3D/scenegraph.h>, part of the Lighting component defining a PointLight (documentation).


Constructor & Destructor Documentation

X3DTK::X3D::PointLight::PointLight  ) 
 

Constructor.

X3DTK::X3D::PointLight::PointLight const SFFloat ambientIntensity,
const SFVec3f attenuation,
const SFColor color,
const SFFloat intensity,
const SFVec3f location,
const SFBool on,
const 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 SFAbstractNode X3DTK::X3D::PointLight::clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3DAbstractNode.

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

Gets the attenuation attribute.

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

Gets the location attribute.

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

Sets the radius attribute.

virtual SFString& X3DTK::X3D::PointLight::write SFString output  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DLightNode.


Generated on Thu Jun 3 10:12:25 2004 for X3DToolKit by doxygen 1.3.6