class DVrich_material_properties

A class to encapsulate a set of rich material properties.

Public Fields

[more]DVcolor_type ambient_factors
The ambient color
[more]DVcolor_type diffuse_factors
The diffuse color
[more]DVcolor_type specular_factors
The specular color
[more]DVcolor_type emission_factors
The emission color
[more]DVlighting_exponent_float_type shininess
The shininess exponent

Public Methods

[more] DVrich_material_properties()
Constructor
[more] DVrich_material_properties(const DVrich_material_properties&)
Copy constructor from another DVrich_material_properties
[more] DVrich_material_properties(const DVmaterial_properties&)
Copy constructor from a DVmaterial_properties
[more] ~DVrich_material_properties()
Destructor
[more]const DVrich_material_properties& operator=(const DVrich_material_properties&)
Assignment operator from another DVrich_material_properties
[more]const DVrich_material_properties& operator=(const DVmaterial_properties&)
Assignment operator from a DVmaterial_properties
[more]int operator==(const DVrich_material_properties&) const
Check equality
[more]int operator!=(const DVrich_material_properties&) const
Check inequality
[more]void print(ostream &output) const
Print function


Documentation

A class to encapsulate a set of rich material properties. Rich properities are those that can either be set explicitly (i.e. the data for the property resides within the object itself) or named (i.e. the data for the property resides in a global table whose keys are strings).
o DVrich_material_properties()
Constructor

o DVrich_material_properties(const DVrich_material_properties&)
Copy constructor from another DVrich_material_properties

o DVrich_material_properties(const DVmaterial_properties&)
Copy constructor from a DVmaterial_properties

o ~DVrich_material_properties()
Destructor

oconst DVrich_material_properties& operator=(const DVrich_material_properties&)
Assignment operator from another DVrich_material_properties

oconst DVrich_material_properties& operator=(const DVmaterial_properties&)
Assignment operator from a DVmaterial_properties

oint operator==(const DVrich_material_properties&) const
Check equality

oint operator!=(const DVrich_material_properties&) const
Check inequality

ovoid print(ostream &output) const
Print function

oDVcolor_type ambient_factors
The ambient color

oDVcolor_type diffuse_factors
The diffuse color

oDVcolor_type specular_factors
The specular color

oDVcolor_type emission_factors
The emission color

oDVlighting_exponent_float_type shininess
The shininess exponent


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.