A class to contain the properties of an object.
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.
DVproperty(const DVproperty&)
~DVproperty()
const DVproperty& operator=(const DVproperty&)
int operator==(const DVproperty&) const
int operator!=(const DVproperty&) const
void print(ostream&)
int frame_number
DVcolor_property_item_array color
DVpositive_float_property_item_array width
DVcomplexity_int_property_item geometry_complexity
DVcomplexity_int_property_item light_complexity
DVscale_property_item scale
DVcolor_by_data_property_item_array color_by_data
DVlight_properties_property_item_array lights
DVmaterial_properties_property_item_array material
Alphabetic index HTML hierarchy of classes or Java