class DVrotation_interpolation_container: public DVcontainerbase

DEVELOPER: A container which can animate over a range of rotations

Inheritance:


Public Methods

[more] DVrotation_interpolation_container(const int steps=1)
Constructors for this class
[more]virtual ~DVrotation_interpolation_container()
correct decendant destructor will get called.
[more]virtual void draw(LCVMstack<DVproperty*>&)
correct decendant routine gets called.
[more] DVrotation_interpolation_container(DVrotation_interpolation_container &data)
We also want a copy constructor as well as an assignment operator
[more]const DVrotation_interpolation_container& operator=(DVrotation_interpolation_container &data)
[more]virtual void print(ostream &)
print the rotation_interpolation_container -- make it virtual.
[more]friend ostream& operator<<(ostream &, DVrotation_interpolation_container &)
A friend routine to overload the << operator
[more]int ReadAnimateProp()
Routines concerning the scene file format
[more] DVrotation_interpolation_container(FileOption a_file_op)

Protected Methods

[more]virtual DVobject* copy()
of the object created with new.


Inherited from DVcontainerbase:

Public Methods

oDVobject& copy_child(DVobject &child)
oDVobject& delete_current_child()
oDVobject* operator[](const int)
oint get_size() const
ovoid erase()
ovoid ReadNode()

Protected Fields

oLCVMdoubly_linked_list<DVobject *> list


Inherited from DVobject:

Public Methods

oDVobject& set_translate(LCVMarray<float> &data)
oDVobject& set_translate(const float x, const float y, const float z)
oDVobject& add_translate(LCVMarray<float> &data)
oDVobject& add_translate(const float x, const float y, const float z)
oDVobject& set_rotate(LCVMarray<float> &data, const float angle, const char type='d')
oDVobject& set_rotate( const float x, const float y, const float z, const float angle, const char type='d' )
oDVobject& add_rotate(LCVMarray<float> &data, const float angle, const char type='d')
oDVobject& add_rotate( const float x, const float y, const float z, const float angle, const char type='d' )
ovoid get_translation(LCVMarray<float>&)
ovoid get_rotation(LCVMarray<float>&, float&)
ovoid set_OpenGL_lighting_properties(DVlight_properties_property_item_array &lights)
ovoid set_OpenGL_material_properties(DVmaterial_properties_property_item &material, DVcolor &color)
ovoid set_OpenGL_color(DVcolor &color)
oint operator==(const DVobject &data)
oint operator!=(const DVobject &data)
oint ReadProp()
ovoid ReadDVrotate()
ovoid ReadDVtranslation()
ovoid ReadSimpleProps()

Public

o
o

Protected Fields

oclass DVcontainerbase LCVMarray<float> translation
oLCVMarray<float> rotation_axis
ofloat rotation_angle
oLCVMarray<float> rotation_quaterions

Protected Methods

ovoid axis_to_quat(LCVMarray<float> axis, float angle, LCVMarray<float> &quat)
ovoid quat_to_axis(LCVMarray<float> quat, LCVMarray<float> &axis, float &angle)
ovoid add_quat(LCVMarray<float> a, LCVMarray<float> b, LCVMarray<float> &c)


Inherited from DVselect_property:

Public Fields

oDVcolor_select_property_item_array color
oDVpositive_float_select_property_item_array width
oDVcomplexity_int_select_property_item geometry_complexity
oDVcomplexity_int_select_property_item light_complexity
oDVscale_select_property_item scale
oDVcolor_by_data_select_property_item_array color_by_data
oDVrich_light_properties_select_property_item_array lights
oDVrich_material_properties_select_property_item_array material

Public Methods

ovoid extract_properties(DVproperty&)
ovoid default_lighting()
ovoid ReadDVColor()
ovoid ReadDVlightComp()
ovoid ReadDVgeomComp()
ovoid ReadDVscale()
ovoid ReadDVwidth()
ovoid ReadColorMap()


Documentation

DEVELOPER: A container which can animate over a range of rotations
ovirtual DVobject* copy()
of the object created with new.

o DVrotation_interpolation_container(const int steps=1)
Constructors for this class

ovirtual ~DVrotation_interpolation_container()
correct decendant destructor will get called.

ovirtual void draw(LCVMstack<DVproperty*>&)
correct decendant routine gets called.

o DVrotation_interpolation_container(DVrotation_interpolation_container &data)
We also want a copy constructor as well as an assignment operator

oconst DVrotation_interpolation_container& operator=(DVrotation_interpolation_container &data)

ovirtual void print(ostream &)
print the rotation_interpolation_container -- make it virtual.

ofriend ostream& operator<<(ostream &, DVrotation_interpolation_container &)
A friend routine to overload the << operator

oint ReadAnimateProp()
Routines concerning the scene file format

o DVrotation_interpolation_container(FileOption a_file_op)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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