cgv
|
Public Member Functions | |
value_animation (T &value, const T &_end_value, double _start_time, double _end_time, AnimationParameterMapping _parameter_mapping=APM_SIN_SQUARED) | |
![]() | |
animation (double _start_time, double _end_time, AnimationParameterMapping _parameter_mapping=APM_LINEAR) | |
void | set_base_ptr (cgv::base::base_ptr _bp) |
void | configure (AnimationParameterMapping _parameter_mapping, cgv::base::base_ptr _bp) |
void | set_parameter_mapping (AnimationParameterMapping _parameter_mapping) |
double | get_start_time () const |
bool | has_started (double time) const |
bool | is_over (double time) const |
double | get_parameter (double time) const |
bool | animates (const void *ptr) const |
bool | overlaps (const char *value_ptr, size_t value_size) const |
bool | set_time (double time) |
![]() | |
int | get_ref_count () const |
read access to current count | |
Public Attributes | |
T | end_value |
Protected Member Functions | |
char * | get_ptr () const |
size_t | get_value_size () const |
![]() | |
virtual void | set_value (double time)=0 |
![]() | |
ref_counted () | |
constructor initializes the count to 0 | |
void | set_ref_count (int c) const |
write access is also const to allow ref counted pointers to const instances | |
Protected Attributes | |
T | start_value |
T * | value_ptr |
![]() | |
AnimationParameterMapping | parameter_mapping |
double | start_time |
double | end_time |
cgv::base::base_ptr | bp |
|
inline |
|
inlineprotectedvirtual |
Implements cgv::gui::animation.
|
inlineprotectedvirtual |
Implements cgv::gui::animation.
T cgv::gui::value_animation< T >::end_value |
|
protected |
|
protected |