VrmlMaterial Class Reference

#include <basic/geometry/vrml_reader/VrmlMaterial.h>

Inherits VrmlNode.

Inheritance diagram for VrmlMaterial:

Inheritance graph
[legend]
Collaboration diagram for VrmlMaterial:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VrmlMaterial ()
virtual void Parse (char *&buffer)
virtual void Render (VrmlStack &stack) const
virtual void RenderOpenGl (VrmlStack &stack) const
virtual IGS_ObjectRenderToIGS (VrmlStack &stack) const

Protected Attributes

float m_Ambient [4]
float m_Diffuse [4]
float m_Specular [4]
float m_Emissive [4]
float m_Shininess

Detailed Description

Definition at line 9 of file VrmlMaterial.h.


Constructor & Destructor Documentation

VrmlMaterial::VrmlMaterial  ) 
 

Definition at line 20 of file VrmlMaterial.cpp.


Member Function Documentation

void VrmlMaterial::Parse char *&  buffer  )  [virtual]
 

Reimplemented from VrmlNode.

Definition at line 29 of file VrmlMaterial.cpp.

References EatNotWhite(), EatWhite(), VrmlNode::GetKeyword(), m_Ambient, m_Diffuse, m_Emissive, m_Shininess, m_Specular, VRML_AmbientColor, VRML_AmbientIntensity, VRML_DiffuseColor, VRML_EmissiveColor, VRML_Shininess, VRML_SpecularColor, and VRML_Transparency.

Here is the call graph for this function:

void VrmlMaterial::Render VrmlStack stack  )  const [virtual]
 

Reimplemented from VrmlNode.

Definition at line 169 of file VrmlMaterial.cpp.

References m_Ambient, VrmlStack::m_Ambient, m_Diffuse, VrmlStack::m_Diffuse, m_Emissive, VrmlStack::m_Emissive, m_Shininess, VrmlStack::m_Shininess, m_Specular, and VrmlStack::m_Specular.

void VrmlMaterial::RenderOpenGl VrmlStack stack  )  const [virtual]
 

Reimplemented from VrmlNode.

Definition at line 183 of file VrmlMaterial.cpp.

References m_Ambient, m_Diffuse, m_Emissive, and m_Specular.

IGS_Object * VrmlMaterial::RenderToIGS VrmlStack stack  )  const [virtual]
 

Reimplemented from VrmlNode.

Definition at line 199 of file VrmlMaterial.cpp.


Member Data Documentation

float VrmlMaterial::m_Ambient[4] [protected]
 

Definition at line 23 of file VrmlMaterial.h.

Referenced by Parse(), Render(), and RenderOpenGl().

float VrmlMaterial::m_Diffuse[4] [protected]
 

Definition at line 24 of file VrmlMaterial.h.

Referenced by Parse(), Render(), and RenderOpenGl().

float VrmlMaterial::m_Emissive[4] [protected]
 

Definition at line 26 of file VrmlMaterial.h.

Referenced by Parse(), Render(), and RenderOpenGl().

float VrmlMaterial::m_Shininess [protected]
 

Definition at line 27 of file VrmlMaterial.h.

Referenced by Parse(), and Render().

float VrmlMaterial::m_Specular[4] [protected]
 

Definition at line 25 of file VrmlMaterial.h.

Referenced by Parse(), Render(), and RenderOpenGl().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 22:07:02 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO