Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

OpenCAL::Utils::Material Class Reference

#include <Material.h>

Collaboration diagram for OpenCAL::Utils::Material:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const Color & getAmbient () const
Color * getAmbientP ()
const Color & getDiffuse () const
Color * getDiffuseP ()
const Color & getSpecular () const
Color * getSpecularP ()
const Color & getEmission () const
Color * getEmissionP ()
float getShininess () const
void setAmbient (const Color &ambient)
void setDiffuse (const Color &diffuse)
void setSpecular (const Color &specular)
void setEmission (const Color &emission)
void setShininess (float shininess)
void reset ()

Protected Attributes

Color m_ambient
Color m_diffuse
Color m_specular
Color m_emission
float m_shininess

Detailed Description

This class represents a material

Definition at line 26 of file Material.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 19:19:37 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8