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

Class declared in <X3DTK/X3D/scenegraph.h>, part of the shape component defining a Material (documentation). More...

Inheritance diagram for X3DTK::X3D::Material:

X3DTK::X3D::X3DMaterialNode X3DTK::X3D::X3DAppearanceChildNode X3DTK::X3D::X3DNode X3DTK::X3DAbstractNode List of all members.

Public Member Functions


Detailed Description

Class declared in <X3DTK/X3D/scenegraph.h>, part of the shape component defining a Material (documentation).


Constructor & Destructor Documentation

X3DTK::X3D::Material::Material (   ) 
 

Constructor.

virtual X3DTK::X3D::Material::~Material (   )  [virtual]
 

Destructor.


Member Function Documentation

const SFFloat& X3DTK::X3D::Material::getAmbientIntensity (   )  const [inline]
 

Gets the AmbientIntensity attribute.

const SFColor& X3DTK::X3D::Material::getDiffuseColor (   )  const [inline]
 

Gets the DiffuseColor attribute.

const SFColor& X3DTK::X3D::Material::getEmissiveColor (   )  const [inline]
 

Gets the EmissiveColor attribute.

const SFFloat& X3DTK::X3D::Material::getShininess (   )  const [inline]
 

Gets the Shininess attribute.

const SFColor& X3DTK::X3D::Material::getSpecularColor (   )  const [inline]
 

Gets the SpecularColor attribute.

const SFFloat& X3DTK::X3D::Material::getTransparency (   )  const [inline]
 

Gets the Transparency attribute.

void X3DTK::X3D::Material::setAmbientIntensity (  const SFFloat &  ambientIntensity  ) 
 

Sets the AmbientIntensity attribute.

void X3DTK::X3D::Material::setDiffuseColor (  const SFColor &  diffuseColor  ) 
 

Sets the DiffuseColo attribute.

void X3DTK::X3D::Material::setEmissiveColor (  const SFColor &  emissiveColor  ) 
 

Sets the EmissiveColo attribute.

void X3DTK::X3D::Material::setShininess (  const SFFloat &  shininess  ) 
 

Sets the Shininess attribute.

void X3DTK::X3D::Material::setSpecularColor (  const SFColor &  specularColor  ) 
 

Sets the SpecularColor attribute.

void X3DTK::X3D::Material::setTransparency (  const SFFloat &  transparency  ) 
 

Sets the Transparenc attribute.


Generated on Fri Aug 27 13:16:38 2004 for X3DToolKit by doxygen 1.3.6