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

GLMaterial Class Reference

Class providing a implementation of the X3DGLNode corresponding to the X3DNode Material. More...

Inheritance diagram for GLMaterial:

X3DGLMaterialNode X3DGLAppearanceChildNode X3DGLNode X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Class providing a implementation of the X3DGLNode corresponding to the X3DNode Material.

Definition at line 19 of file GLMaterial.h.


Constructor & Destructor Documentation

GLMaterial  ) 
 

Constructor.

~GLMaterial  ) 
 

Destructor.

GLMaterial const GLMaterial &  M  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DGLMaterialNode.

MFFloat& getAmbientColor  )  const [inline]
 

Gets the ambientColor.

Definition at line 32 of file GLMaterial.h.

MFFloat& getDiffuseColor  )  const [inline]
 

Gets the diffuseColor.

Definition at line 30 of file GLMaterial.h.

MFFloat& getEmissiveColor  )  const [inline]
 

Gets the emissiveColor.

Definition at line 34 of file GLMaterial.h.

SFFloat& getShininess  )  const [inline]
 

Gets the shininess.

Definition at line 36 of file GLMaterial.h.

MFFloat& getSpecularColor  )  const [inline]
 

Gets the specularColor.

Definition at line 38 of file GLMaterial.h.


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:13 2003 for X3DToolKit by doxygen1.3