class DVtips_and_hints

A class which is used to encapsulate the information sent from DVgeomtry to the user defined scene graph creatation routine.

Public Methods

[more] DVtips_and_hints()
Constructor
[more] ~DVtips_and_hints()
Destructor
[more] DVtips_and_hints(const DVtips_and_hints&)
Copy constructor
[more]DVtips_and_hints& operator=(const DVtips_and_hints&)
Assignment operator
[more]DVtips_and_hints& set_first_frame_number(const int)
The first frame number of the animation.
[more]DVtips_and_hints& set_last_frame_number(const int)
The first frame number of the animation.
[more]DVtips_and_hints& set_animation_optimize_flag(const int)
Turn on optimization of the animation.
[more]DVtips_and_hints& set_animation_first_frame_number(const int)
Set the animation first frame number.
[more]DVtips_and_hints& set_animation_last_frame_number(const int)
Set the animation last frame number.
[more]DVtips_and_hints& set_animation_step_frame_number(const int)
Set the animation step frame number.
[more]DVtips_and_hints& set_background_color(const DVcolor&)
Set the background color
[more]DVtips_and_hints& set_background_color(const DVcolor_type&)
Set the background color
[more]DVtips_and_hints& set_background_color(const LCVMstring&)
Set the background color
[more]DVtips_and_hints& set_background_color( const DVcolor_float r = 0.0, const DVcolor_float g = 0.0, const DVcolor_float b = 0.0, const DVcolor_float a = 1.0 )
Set the background color
[more]DVtips_and_hints& set_frames_per_second(const float)
Set the number of frames to display per second
[more]int get_first_frame_number() const
[more]int get_last_frame_number() const
[more]int get_animation_optimize_flag() const
[more]int get_animation_first_frame_number() const
[more]int get_animation_last_frame_number() const
[more]int get_animation_step_frame_number() const
[more]void get_background_color(DVcolor&) const
[more]void get_background_color(DVcolor_type&) const
[more]float get_frames_per_second() const


Documentation

A class which is used to encapsulate the information sent from DVgeomtry to the user defined scene graph creatation routine.
o DVtips_and_hints()
Constructor

o ~DVtips_and_hints()
Destructor

o DVtips_and_hints(const DVtips_and_hints&)
Copy constructor

oDVtips_and_hints& operator=(const DVtips_and_hints&)
Assignment operator

oDVtips_and_hints& set_first_frame_number(const int)
The first frame number of the animation. This number is NOT used internally by DVgeometry, it is only provided as information to whatever external program is using the DVgeometry. It should be considered as a hint from the user defined scene graph creation function. Its main use to to allow scene graph creation function to communicate which subset of the animation to draw.

oDVtips_and_hints& set_last_frame_number(const int)
The first frame number of the animation. This number is NOT used internally by DVgeometry, it is only provided as information to whatever external program is using the DVgeometry. It should be considered as a hint from the user defined scene graph creation function. Its main use to to allow scene graph creation function to communicate which subset of the animation to draw.

oDVtips_and_hints& set_animation_optimize_flag(const int)
Turn on optimization of the animation. This is performed by precomputing a display list for each frame of the animation.

oDVtips_and_hints& set_animation_first_frame_number(const int)
Set the animation first frame number. This information is used internally by DVgeometry to compute the bounds of the animation.

oDVtips_and_hints& set_animation_last_frame_number(const int)
Set the animation last frame number. This information is used internally by DVgeometry to compute the bounds of the animation.

oDVtips_and_hints& set_animation_step_frame_number(const int)
Set the animation step frame number. For example, if this number is 2, then only every other frame will be shown. This information is used internally by DVgeometry to compute the bounds of the animation.

oDVtips_and_hints& set_background_color(const DVcolor&)
Set the background color

oDVtips_and_hints& set_background_color(const DVcolor_type&)
Set the background color

oDVtips_and_hints& set_background_color(const LCVMstring&)
Set the background color

oDVtips_and_hints& set_background_color( const DVcolor_float r = 0.0, const DVcolor_float g = 0.0, const DVcolor_float b = 0.0, const DVcolor_float a = 1.0 )
Set the background color

oDVtips_and_hints& set_frames_per_second(const float)
Set the number of frames to display per second

oint get_first_frame_number() const

oint get_last_frame_number() const

oint get_animation_optimize_flag() const

oint get_animation_first_frame_number() const

oint get_animation_last_frame_number() const

oint get_animation_step_frame_number() const

ovoid get_background_color(DVcolor&) const

ovoid get_background_color(DVcolor_type&) const

ofloat get_frames_per_second() const


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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