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

X3DTK::X3D::SpotLight Class Reference

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

Inheritance diagram for X3DTK::X3D::SpotLight:

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 SpotLight ( documentation).


Constructor & Destructor Documentation

X3DTK::X3D::SpotLight::SpotLight  
 

Constructor.

X3DTK::X3D::SpotLight::SpotLight const SFFloat &    ambientIntensity,
const SFVec3f   attenuation,
const SFFloat &    beamWidth,
const SFColor &    color,
const SFFloat &    cutOffAngle,
const SFVec3f   direction,
const SFFloat &    intensity,
const SFVec3f   location,
const SFBool &    on,
const SFFloat &    radius
 

Constructs a SpotLight from its attributes.

virtual X3DTK::X3D::SpotLight::~SpotLight   [virtual]
 

Virtual destructor.

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

Copy constructor.


Member Function Documentation

virtual SFAbstractNode X3DTK::X3D::SpotLight::clone   [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3DAbstractNode.

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

Gets the attenuation attribute.

const SFFloat& X3DTK::X3D::SpotLight::getBeamWidth   const [inline]
 

Gets the beamWidth attribute.

const SFFloat& X3DTK::X3D::SpotLight::getCutOffAngle   const [inline]
 

Gets the cutOffAngle attribute.

const SFVec3f& X3DTK::X3D::SpotLight::getDirection   const [inline]
 

Gets the direction attribute.

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

Gets the location attribute.

const SFFloat& X3DTK::X3D::SpotLight::getRadius   const [inline]
 

Gets the radius attribute.

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

Loads the attributes from a X3DFileElement.

Reimplemented from X3DTK::X3D::X3DLightNode.

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

Sets the attenuation attribute.

void X3DTK::X3D::SpotLight::setBeamWidth const SFFloat &    beamWidth
 

Sets the beamWidth attribute.

void X3DTK::X3D::SpotLight::setCutOffAngle const SFFloat &    cutOffAngle
 

Sets the cutOffAngle attribute.

void X3DTK::X3D::SpotLight::setDirection const SFVec3f   direction
 

Sets the direction attribute.

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

Sets the location attribute.

void X3DTK::X3D::SpotLight::setRadius const SFFloat &    radius
 

Sets the radius attribute.

virtual SFString& X3DTK::X3D::SpotLight::write SFString   output const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DLightNode.


Generated on Thu Dec 4 13:26:03 2003 for X3DToolKit by doxygen1.2.18