class DVmaterial_properties

A class which encapsulates the properties that may be modified for an object

Public Fields

[more]DVcolor ambient_factors
A color to use for the ambient lighting of the object
[more]DVcolor diffuse_factors
A color to use for the diffuse lighting of the object
[more]DVcolor specular_factors
A color to use for the specular highlights of the object
[more]DVcolor emission_factors
A color to use for the emissivity of the object
[more]DVlighting_exponent_float shininess
A float used for the shininess of the object

Public Methods

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


Documentation

A class which encapsulates the properties that may be modified for an object
o DVmaterial_properties()
Default constructor

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

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

o ~DVmaterial_properties()
Destructor

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

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

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

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

ovoid print(ostream &output) const
Print routine

oDVcolor ambient_factors
A color to use for the ambient lighting of the object

oDVcolor diffuse_factors
A color to use for the diffuse lighting of the object

oDVcolor specular_factors
A color to use for the specular highlights of the object

oDVcolor emission_factors
A color to use for the emissivity of the object

oDVlighting_exponent_float shininess
A float used for the shininess of the object


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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