OpenGLPrakt --> cADSEColor
a simple class for representing ambient, diffuse, specular and emissive color
There should be no use in deriving from this class. It's basically a beefed-up struct with four cColor objects in it.
public cADSEColor ( const cColor & amb = cColor ( ) , const cColor & diff = cColor ( ) , const cColor & spec = cColor ( ) , const cColor & em = cColor ( ) ) ;
default constructor w/ optional initialization
amb | cColor object for ambient color |
diff | cColor object for diffuse color |
spec | cColor object for specular color |
em | cColor object for emissive color |
public ~ cADSEColor ( ) ;
destructor
protected cColor mAmbient
protected cColor mDiffuse
protected cColor mSpecular
protected cColor mEmissive
public const cColor & Ambient ( ) const ;
provide read-only access to ambient component
public cColor & wAmbient ( ) ;
provide write access to ambient color
public const cColor & Diffuse ( ) const ;
provide read-only access to diffuse component
public cColor & wDiffuse ( ) ;
provide write access to diffuse color
public const cColor & Specular ( ) const ;
provide read-only access to emissive component
public cColor & wSpecular ( ) ;
provide write access to specular color
public const cColor & Emissive ( ) const ;
provide read-only access to emissive component
public cColor & wEmissive ( ) ;
provide write access to emissive color
This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.
Click here to return to the top of the page.