class DVselect_property

A class which contains a set of properties and can differeniate those that have been explicitly from those that haven't.

Inheritance:


Public Fields

[more]DVcolor_select_property_item_array color
An array of colors.
[more]DVpositive_float_select_property_item_array width
An array of widths.
[more]DVcomplexity_int_select_property_item geometry_complexity
The geometry complexity of the object
[more]DVcomplexity_int_select_property_item light_complexity
The light complexity of the object
[more]DVscale_select_property_item scale
The scale of the object.
[more]DVcolor_by_data_select_property_item_array color_by_data
An array of color_by_data objects.
[more]DVrich_light_properties_select_property_item_array lights
An array of light_properties.
[more]DVrich_material_properties_select_property_item_array material
An array of material_properties.

Public Methods

[more] DVselect_property()
Default constructor
[more] DVselect_property(const DVselect_property&)
Copy constructor
[more] ~DVselect_property()
Destructor
[more]const DVselect_property& operator=(const DVselect_property&)
Assignment operator
[more]int operator==(const DVselect_property&) const
Check equality
[more]int operator!=(const DVselect_property&) const
Check inequality
[more]void extract_properties(DVproperty&)
Given a DVproperty this function modifies those properties in the DVproperty that have not been explicitly set in the DVselect_property.
[more]void print(ostream&)
Print function
[more]void default_lighting()
Turn on the default lighting.
[more]int ReadProp()
Read the object properties from a scene file
[more]void ReadDVColor()
Read the object properties from a scene file
[more]void ReadDVlightComp()
Read the object properties from a scene file
[more]void ReadDVgeomComp()
Read the object properties from a scene file
[more]void ReadDVscale()
Read the object properties from a scene file
[more]void ReadDVwidth()
Read the object properties from a scene file
[more]void ReadColorMap()
Read the object properties from a scene file


Documentation

A class which contains a set of properties and can differeniate those that have been explicitly from those that haven't. All the data is public since this should act like a struct. Each of the data does have its own checks on the data though.
oDVcolor_select_property_item_array color
An array of colors. The exact use of the colors is up to the class which inherits from this class. For example, some classes might only use the first entry, while others might use more.

oDVpositive_float_select_property_item_array width
An array of widths. The exact use of the widths is up to the class which inherits from this class. For example, some classes might only use the first entry, while others might use more.

oDVcomplexity_int_select_property_item geometry_complexity
The geometry complexity of the object

oDVcomplexity_int_select_property_item light_complexity
The light complexity of the object

oDVscale_select_property_item scale
The scale of the object.

oDVcolor_by_data_select_property_item_array color_by_data
An array of color_by_data objects. They allow the object to be colored by some component of its data. The exact use of the colors_by_data objects is up to the class which inherits from this class. For example, some classes might only use the first entry, while others might use more.

oDVrich_light_properties_select_property_item_array lights
An array of light_properties. The exact use of the light_properties is up to the class which inherits from this class. For example, some classes might only use the first entry, while others might use more.

oDVrich_material_properties_select_property_item_array material
An array of material_properties. The exact use of the material_properties is up to the class which inherits from this class. For example, some classes might only use the first entry, while others might use more.

o DVselect_property()
Default constructor

o DVselect_property(const DVselect_property&)
Copy constructor

o ~DVselect_property()
Destructor

oconst DVselect_property& operator=(const DVselect_property&)
Assignment operator

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

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

ovoid extract_properties(DVproperty&)
Given a DVproperty this function modifies those properties in the DVproperty that have not been explicitly set in the DVselect_property. For example, a DVselect_property which has had its color member modified will only modify the color member of the DVproperty, and leave the other members of the DVproperty unchanged.

ovoid print(ostream&)
Print function

ovoid default_lighting()
Turn on the default lighting. The default lighting consists of light 0 being turned on, at (0,0,0) with ambient(0.2,0.2,0.2,1.0), diffuse(0.8,0.8,0.8,1.0), and specular(0.0,0.0,0.0,1.0).

oint ReadProp()
Read the object properties from a scene file

ovoid ReadDVColor()
Read the object properties from a scene file

ovoid ReadDVlightComp()
Read the object properties from a scene file

ovoid ReadDVgeomComp()
Read the object properties from a scene file

ovoid ReadDVscale()
Read the object properties from a scene file

ovoid ReadDVwidth()
Read the object properties from a scene file

ovoid ReadColorMap()
Read the object properties from a scene file


Direct child classes:
DVobject

Alphabetic index HTML hierarchy of classes or Java



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