class DVproperty

A class to contain the properties of an object.

Public Fields

[more]int frame_number
Used to keep track of which frames to draw for selection containers.
[more]DVcolor_property_item_array color
The array of colors.
[more]DVpositive_float_property_item_array width
The array of widhts.
[more]DVcomplexity_int_property_item geometry_complexity
The geometry complexity.
[more]DVcomplexity_int_property_item light_complexity
The light complexity.
[more]DVscale_property_item scale
The scale.
[more]DVcolor_by_data_property_item_array color_by_data
The array of color_by_data objects.
[more]DVlight_properties_property_item_array lights
The array of light properties.
[more]DVmaterial_properties_property_item_array material
The array of material properties.

Public Methods

[more] DVproperty()
Default constructor
[more] DVproperty(const DVproperty&)
Copy constructor
[more] ~DVproperty()
Destructor
[more]const DVproperty& operator=(const DVproperty&)
Assignment operator
[more]int operator==(const DVproperty&) const
Check equality
[more]int operator!=(const DVproperty&) const
Check inequality
[more]void print(ostream&)
Print routine


Documentation

A class to contain the properties of an object. The DVproperty class is used for the data that gets put on the stack at each level as we traverse the tree structure. we also make (almost) everything public since this is basically a struct... Also, since in general, only the various draw routines and the routine to make this "stack entry" from the properties of the DVobject will have access to this, we can get by without being so protective. There is not a lot of stuff to mess up though--the colors take care of themselves for example.

we have a constructor and a destructor. Also since we will most often copy the current top of the stack to make a new top, we will need a copy constructor.

o DVproperty()
Default constructor

o DVproperty(const DVproperty&)
Copy constructor

o ~DVproperty()
Destructor

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

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

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

ovoid print(ostream&)
Print routine

oint frame_number
Used to keep track of which frames to draw for selection containers. It does not come from DVselect_property.

oDVcolor_property_item_array color
The array of colors. It is an array since some types of objects use more then one. It comes from DVselect_property.

oDVpositive_float_property_item_array width
The array of widhts. It is an array since some types of objects use more then one. It comes from DVselect_property.

oDVcomplexity_int_property_item geometry_complexity
The geometry complexity. It comes from DVselect_property.

oDVcomplexity_int_property_item light_complexity
The light complexity. It comes from DVselect_property.

oDVscale_property_item scale
The scale. It comes from DVselect_property.

oDVcolor_by_data_property_item_array color_by_data
The array of color_by_data objects. It is an array since some types of objects use more then one. It comes from DVselect_property.

oDVlight_properties_property_item_array lights
The array of light properties. It is an array since some types of objects use more then one. It comes from DVselect_property.

oDVmaterial_properties_property_item_array material
The array of material properties. It is an array since some types of objects use more then one. It comes from DVselect_property.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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