#include <animator.H>
Inheritance diagram for Animator:


Public Member Functions | |
| Animator (VIEWptr view) | |
| Animator () | |
| ~Animator () | |
| bool | on () const | 
| bool | play_on () const | 
| bool | rend_on () const | 
| void | toggle_activation () | 
| void | press_render () | 
| void | press_sync () | 
| void | press_play () | 
| void | press_stop () | 
| void | press_beginning () | 
| void | press_step_rev () | 
| void | press_step_fwd () | 
| void | press_jog_rev () | 
| void | press_jog_fwd () | 
| void | set_fps (int fps) | 
| int | get_fps () const | 
| void | set_jog_size (int jog) | 
| int | get_jog_size () const | 
| void | set_time_scale (double s) | 
| double | get_time_scale () const | 
| void | set_name (str_ptr name) | 
| void | set_current_frame (int f) | 
| int | get_current_frame () const | 
| void | set_end_frame (int f) | 
| int | get_end_frame () const | 
| void | set_loop (bool l) | 
| bool | get_loop () const | 
| double | pre_draw_CB () | 
| void | post_draw_CB () | 
| DEFINE_RTTI_METHODS_BASE ("Animator", CDATA_ITEM *) | |
| virtual DATA_ITEM * | dup () const | 
| virtual CTAGlist & | tags () const | 
| virtual STDdstream & | format (STDdstream &d) const | 
| virtual void | add_tags () const | 
| virtual STDdstream & | decode (STDdstream &d) | 
| virtual void | recompute () | 
| virtual STAT_STR_RET | class_name () const =0 | 
| virtual int | is_of_type (Cstr_ptr &t) const | 
Static Public Member Functions | |
| static STAT_STR_RET | static_name () | 
| static int | add_decoder (Cstr_ptr &d, DATA_ITEM *di, int copy=-1) | 
| static void | set_default_decoder (DATA_ITEM *(*d)(STDdstream &, Cstr_ptr &, DATA_ITEM *)) | 
| static DATA_ITEM * | Decode (STDdstream &d, int DelayDecoding=0) | 
| static DATA_ITEM * | lookup (Cstr_ptr &d) | 
| static HASH * | di_hash () | 
Protected Member Functions | |
| int & | fps_ () | 
| int & | start_frame_ () | 
| int & | end_frame_ () | 
| virtual void | get_name (TAGformat &d) | 
| virtual void | put_name (TAGformat &d) const | 
| void | step (int inc) | 
| int | num_frames () const | 
| void | inc_frame (int inc) | 
Protected Attributes | |
| VIEWptr | _view | 
| str_ptr | _name | 
| int | _fps | 
| int | _start_frame | 
| int | _end_frame | 
| int | _cur_frame | 
| int | _jog_size | 
| bool | _loop | 
| stop_watch | _timer | 
| bool | _on | 
| bool | _play_on | 
| bool | _rend_on | 
| bool | _sync_on | 
| double | _time_scale | 
| int | _copy | 
| TAGlist | _DEFINERtags | 
Static Private Attributes | |
| static TAGlist * | _a_tags = 0 | 
Definition at line 11 of file animator.H.
      
  | 
  
| 
 
 Definition at line 33 of file animator.C. References _timer, and stop_watch::reset_hold().  | 
  
      
  | 
  
| 
 
 Definition at line 43 of file animator.H.  | 
  
      
  | 
  
| 
 
 Definition at line 44 of file animator.H.  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 41 of file data_item.C. References DATA_ITEM::_hash, and HASH::add(). Referenced by JOTvar< OBJ, TYPE >::check_inst_name(), FUNC_ITEM::FUNC_ITEM(), hashdist::hashdist(), JOTvar< OBJ, TYPE >::JOTvar(), and DISTRIB::notify_exist().  | 
  
      
  | 
  
| 
 
 Definition at line 205 of file data_item.H.  | 
  
      
  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 57 of file data_item.C. References DATA_ITEM::_copy, DATA_ITEM::_decode_unknown, DATA_ITEM::class_name(), DATA_ITEM::decode(), DATA_ITEM::dup(), Config::get_var_bool(), and DATA_ITEM::lookup(). Referenced by JOThash::get(), DISTRIB::interpret(), and operator>>().  | 
  
      
  | 
  
| 
 
 Reimplemented in JOTsend_geom, and BMESH. Definition at line 145 of file data_item.C. References DATA_ITEM::class_name(), COMMENT::decode(), j, COMMENT::name(), TAGformat::read_end_id(), TAGformat::read_id(), DATA_ITEM::recompute(), and DATA_ITEM::tags(). Referenced by DATA_ITEM::Decode(), BMESH::decode(), JOTio::get(), BMESH::get_patches(), Patch::get_texture(), VIEW::get_view_animator(), and VIEW::get_view_data_file().  | 
  
      
  | 
  ||||||||||||
| 
 
  | 
  
      
  | 
  
| 
 
 Definition at line 225 of file data_item.H. References DATA_ITEM::_hash.  | 
  
      
  | 
  
| 
 
 Implements DATA_ITEM. Definition at line 88 of file animator.H.  | 
  
      
  | 
  
| 
 
 Definition at line 96 of file animator.H. References _end_frame. Referenced by tags().  | 
  
      
  | 
  
| 
 
 Reimplemented from DATA_ITEM. Definition at line 288 of file animator.C. References _end_frame, _fps, _name, _start_frame, NetStream::ascii_r, NetStream::ascii_w, IOManager::cached_prefix(), IOManager::current_prefix(), err_msg(), DATA_ITEM::format(), LOADobs::LOAD_ERROR_NONE, LOADobs::notify_load_obs(), SAVEobs::notify_save_obs(), NULL_STR, and SAVEobs::SAVE_ERROR_NONE. Referenced by VIEW::put_view_animator().  | 
  
      
  | 
  
| 
 
 Definition at line 94 of file animator.H. References _fps. Referenced by tags().  | 
  
      
  | 
  
| 
 
 Definition at line 74 of file animator.H. References _cur_frame.  | 
  
      
  | 
  
| 
 
 Definition at line 77 of file animator.H. References _end_frame.  | 
  
      
  | 
  
| 
 
 Definition at line 63 of file animator.H. References _fps.  | 
  
      
  | 
  
| 
 
 Definition at line 66 of file animator.H. References _jog_size.  | 
  
      
  | 
  
| 
 
 Definition at line 80 of file animator.H. References _loop.  | 
  
      
  | 
  
| 
 
 Definition at line 382 of file animator.C. References _name, ERR_LEV_SPAM, err_mesg(), and NULL_STR. Referenced by tags().  | 
  
      
  | 
  
| 
 
 Definition at line 69 of file animator.H. References _time_scale.  | 
  
      
  | 
  
| 
 
 Definition at line 191 of file animator.C. References _cur_frame, _end_frame, _loop, _start_frame, and wrap(). Referenced by post_draw_CB(), and step().  | 
  
      
  | 
  
| 
 
 Definition at line 214 of file data_item.H. References IS. Referenced by BMESH::operator=().  | 
  
      
  | 
  
| 
 
 Definition at line 222 of file data_item.H. References DATA_ITEM::_hash, and HASH::find(). Referenced by DATA_ITEM::Decode(), FUNC_ITEM::FUNC_ITEM(), Patch::get_tex(), and BMESH::read_jot_stream().  | 
  
      
  | 
  
| 
 
 Definition at line 105 of file animator.H. References _end_frame, and _start_frame.  | 
  
      
  | 
  
| 
 
 Definition at line 46 of file animator.H. References _on. Referenced by VIEW::paint(), GL_VIEW::paint(), and VIEW::swap().  | 
  
      
  | 
  
| 
 
 Definition at line 47 of file animator.H. References _play_on. Referenced by GL_VIEW::paint().  | 
  
      
  | 
  
| 
 
 Definition at line 248 of file animator.C. References _cur_frame, _end_frame, _fps, _loop, _name, _play_on, _rend_on, _start_frame, _sync_on, _view, Image::data(), err_msg(), Config::get_var_bool(), inc_frame(), press_stop(), VIEW_SIZE, and Image::write_png(). Referenced by VIEW::swap().  | 
  
      
  | 
  
| 
 VIEW Callbacks Definition at line 232 of file animator.C. References _cur_frame, _fps, _on, _start_frame, _sync_on, _time_scale, _timer, and stop_watch::elapsed_time(). Referenced by VIEW::paint().  | 
  
      
  | 
  
| 
 
 Definition at line 86 of file animator.C. References _cur_frame, _start_frame, _timer, and stop_watch::set_elapsed_time().  | 
  
      
  | 
  
| 
 
 Definition at line 60 of file animator.H.  | 
  
      
  | 
  
| 
 
 Definition at line 59 of file animator.H.  | 
  
      
  | 
  
| 
 
 Definition at line 96 of file animator.C. References _play_on, _timer, stop_watch::resume(), and show_msg().  | 
  
      
  | 
  
| 
 
 Definition at line 127 of file animator.C. References _rend_on, _sync_on, and show_msg().  | 
  
      
  | 
  
| 
 
 Definition at line 58 of file animator.H. References step().  | 
  
      
  | 
  
| 
 
 Definition at line 57 of file animator.H. References step().  | 
  
      
  | 
  
| 
 
 Definition at line 111 of file animator.C. References _play_on, _timer, stop_watch::pause(), and show_msg(). Referenced by post_draw_CB().  | 
  
      
  | 
  
| 
 
 Definition at line 147 of file animator.C. References _rend_on, _sync_on, and show_msg().  | 
  
      
  | 
  
| 
 
 Definition at line 404 of file animator.C. References _name, TAGformat::end_id(), ERR_LEV_SPAM, err_mesg(), TAGformat::id(), and NULL_STR. Referenced by tags().  | 
  
      
  | 
  
| 
 
 Reimplemented in Patch. Definition at line 208 of file data_item.H. Referenced by DATA_ITEM::decode().  | 
  
      
  | 
  
| 
 
 Definition at line 48 of file animator.H. References _rend_on. Referenced by GL_VIEW::paint().  | 
  
      
  | 
  
| 
 
 Definition at line 73 of file animator.H. References _cur_frame.  | 
  
      
  | 
  
| 
 
 Definition at line 218 of file data_item.H. References DATA_ITEM::_decode_unknown.  | 
  
      
  | 
  
| 
 
 Definition at line 76 of file animator.H. References _end_frame.  | 
  
      
  | 
  
| 
 
 Definition at line 62 of file animator.H. References _fps.  | 
  
      
  | 
  
| 
 
 Definition at line 65 of file animator.H. References _jog_size.  | 
  
      
  | 
  
| 
 
 Definition at line 79 of file animator.H. References _loop.  | 
  
      
  | 
  
| 
 
 Definition at line 71 of file animator.H. References _name.  | 
  
      
  | 
  
| 
 
 Definition at line 68 of file animator.H. References _time_scale.  | 
  
      
  | 
  
| 
 
 Definition at line 95 of file animator.H. References _start_frame. Referenced by tags().  | 
  
      
  | 
  
| 
 
 Definition at line 31 of file data_item.C. References RET_STAT_STR. Referenced by BALLwidget_anchor::BALLwidget_anchor(), CAMwidget_anchor::CAMwidget_anchor(), Patch::cur_tex(), OGLTexture::draw_id_ref(), OGLTexture::draw_id_triangles(), OGLTexture::draw_vis_ref(), VIEW::get_view_animator(), GRIDwidget_anchor::GRIDwidget_anchor(), and toggle_sil_frame().  | 
  
      
  | 
  
| 
 
 Definition at line 205 of file animator.C. References _cur_frame, _end_frame, _fps, _play_on, _start_frame, _sync_on, _timer, stop_watch::inc_elapsed_time(), inc_frame(), stop_watch::is_paused(), and show_msg(). Referenced by press_jog_fwd(), press_jog_rev(), press_step_fwd(), and press_step_rev().  | 
  
      
  | 
  
| 
 
 Reimplemented from DATA_ITEM. Definition at line 354 of file animator.C. References _a_tags, end_frame_(), fps_(), get_name(), put_name(), and start_frame_().  | 
  
      
  | 
  
| 
 
 Definition at line 56 of file animator.C. References _end_frame, _fps, _name, _on, _start_frame, _timer, debug, err_adv(), NULL_STR, stop_watch::set_elapsed_time(), and show_msg().  | 
  
      
  | 
  
| 
 
 Definition at line 14 of file animator.H. Referenced by tags().  | 
  
      
  | 
  
| 
 
 Definition at line 197 of file data_item.H. Referenced by DATA_ITEM::Decode().  | 
  
      
  | 
  
| 
 
 Definition at line 25 of file animator.H. Referenced by get_current_frame(), inc_frame(), post_draw_CB(), pre_draw_CB(), press_beginning(), set_current_frame(), and step().  | 
  
      
  | 
  
| 
 
 Definition at line 198 of file data_item.H. Referenced by DATA_ITEM::tags().  | 
  
      
  | 
  
| 
 
 Definition at line 24 of file animator.H. Referenced by end_frame_(), format(), get_end_frame(), inc_frame(), num_frames(), post_draw_CB(), set_end_frame(), step(), and toggle_activation().  | 
  
      
  | 
  
| 
 
 Definition at line 22 of file animator.H. Referenced by format(), fps_(), get_fps(), post_draw_CB(), pre_draw_CB(), set_fps(), step(), and toggle_activation().  | 
  
      
  | 
  
| 
 
 Definition at line 26 of file animator.H. Referenced by get_jog_size(), press_jog_fwd(), press_jog_rev(), and set_jog_size().  | 
  
      
  | 
  
| 
 
 Definition at line 27 of file animator.H. Referenced by get_loop(), inc_frame(), post_draw_CB(), and set_loop().  | 
  
      
  | 
  
| 
 
 Definition at line 19 of file animator.H. Referenced by format(), get_name(), post_draw_CB(), put_name(), set_name(), and toggle_activation().  | 
  
      
  | 
  
| 
 
 Definition at line 34 of file animator.H. Referenced by on(), pre_draw_CB(), and toggle_activation().  | 
  
      
  | 
  
| 
 
 Definition at line 35 of file animator.H. Referenced by play_on(), post_draw_CB(), press_play(), press_stop(), and step().  | 
  
      
  | 
  
| 
 
 Definition at line 36 of file animator.H. Referenced by post_draw_CB(), press_render(), press_sync(), and rend_on().  | 
  
      
  | 
  
| 
 
 Definition at line 23 of file animator.H. Referenced by format(), inc_frame(), num_frames(), post_draw_CB(), pre_draw_CB(), press_beginning(), start_frame_(), step(), and toggle_activation().  | 
  
      
  | 
  
| 
 
 Definition at line 37 of file animator.H. Referenced by post_draw_CB(), pre_draw_CB(), press_render(), press_sync(), and step().  | 
  
      
  | 
  
| 
 
 Definition at line 38 of file animator.H. Referenced by get_time_scale(), pre_draw_CB(), and set_time_scale().  | 
  
      
  | 
  
| 
 
 Definition at line 31 of file animator.H. Referenced by Animator(), pre_draw_CB(), press_beginning(), press_play(), press_stop(), step(), and toggle_activation().  | 
  
      
  | 
  
| 
 
 Definition at line 18 of file animator.H. Referenced by post_draw_CB().  | 
  
 1.4.4