Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

FPS Class Reference

Displayable subclass to display the current display update rate onscreen. More...

#include <FPS.h>

Inheritance diagram for FPS:

Displayable Pickable List of all members.

Public Methods

 FPS (DisplayDevice *, Displayable *)
 constructor: the display device to take aspect ratio from. More...

virtual void prepare ()
 specific preparations, called by draw_prepare, supplied by derived class. More...


Protected Methods

virtual void do_color_changed (int)

Detailed Description

Displayable subclass to display the current display update rate onscreen.

Definition at line 15 of file FPS.h.


Constructor & Destructor Documentation

FPS::FPS DisplayDevice  ,
Displayable  
 

constructor: the display device to take aspect ratio from.

Definition at line 16 of file FPS.C.

References Scene::add_color_category, Scene::add_color_item, Scene::category_index, Displayable::cent_trans_off, do_color_changed, Displayable::glob_trans_off, REGWHITE, Displayable::rot_off, Displayable::scale_off, Displayable::scene, and time_of_day.


Member Function Documentation

void FPS::do_color_changed int    [protected, virtual]
 

Reimplemented from Displayable.

Definition at line 67 of file FPS.C.

References Scene::category_item_value, and Displayable::scene.

Referenced by FPS.

void FPS::prepare   [virtual]
 

specific preparations, called by draw_prepare, supplied by derived class.

Reimplemented from Displayable.

Definition at line 36 of file FPS.C.

References Displayable::append, DisplayDevice::aspect, Displayable::cmdList, Displayable::displayed, DMATERIALOFF, Displayable::need_matrix_recalc, DispCmdText::putdata, DispCmdColorIndex::putdata, Displayable::reset_disp_list, and time_of_day.


The documentation for this class was generated from the following files:
Generated on Thu Mar 28 02:45:41 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002