X3DTK::GL::Material Class Reference
[GLSceneGraph]

Class declared in <X3DTK/GL/scenegraph.h> providing the GL implementation of X3D::Material. More...

Inheritance diagram for X3DTK::GL::Material:

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

Public Member Functions


Detailed Description

Class declared in <X3DTK/GL/scenegraph.h> providing the GL implementation of X3D::Material.


Constructor & Destructor Documentation

X3DTK::GL::Material::Material  ) 
 

Constructor.

virtual X3DTK::GL::Material::~Material  )  [virtual]
 

Destructor.


Member Function Documentation

const MFFloat& X3DTK::GL::Material::getAmbientColor  )  const [inline]
 

Gets the ambient color attribute.

const MFFloat& X3DTK::GL::Material::getDiffuseColor  )  const [inline]
 

Gets the diffuse color attribute.

const MFFloat& X3DTK::GL::Material::getEmissiveColor  )  const [inline]
 

Gets the emissisve color attribute.

const SFFloat& X3DTK::GL::Material::getShininess  )  const [inline]
 

Gets the shininess attribute.

const MFFloat& X3DTK::GL::Material::getSpecularColor  )  const [inline]
 

Gets the specular color attribute.

void X3DTK::GL::Material::setAmbientColor const MFFloat ambientColor  ) 
 

Sets the ambient color attribute.

void X3DTK::GL::Material::setDiffuseColor const MFFloat diffuseColor  ) 
 

Sets the diffuse color attribute.

void X3DTK::GL::Material::setEmissiveColor const MFFloat emissiveColor  ) 
 

Sets the emissisve color attribute.

void X3DTK::GL::Material::setShininess const SFFloat shininess  ) 
 

Sets the shininess attribute.

void X3DTK::GL::Material::setSpecularColor const MFFloat specularColor  ) 
 

Sets the specular color attribute.

virtual void X3DTK::GL::Material::update  )  [virtual]
 

Updates the attributes of the node.

Reimplemented from X3DTK::GL::X3DNode.


Generated on Fri Jul 30 12:02:37 2004 for X3DToolKit by doxygen 1.3.6