#include <Stage.h>
Inheritance diagram for Stage:

Public Types | |
| enum | StagePos { NO_STAGE = 0, STAGE_ORIGIN, STAGE_LOWER, STAGE_UPPER, STAGE_LEFT, STAGE_RIGHT, STAGE_BEHIND, STAGEPOS_TOTAL } |
| enumerated locations for the stage. More... | |
Public Methods | |
| Stage (Displayable *) | |
| constructor: the parent displayable. More... | |
| int | location (int) |
| set stage display mode; return success. More... | |
| int | location (void) |
| return stage display mode. More... | |
| char * | loc_description (int) |
| return descripton of location. More... | |
| int | locations (void) |
| return total number of locations. More... | |
| int | panels (void) |
| get/set number of panels (must be >= 1). More... | |
| int | panels (int newp) |
| virtual void | prepare () |
| prepare for drawing ... do any updates needed right before draw. More... | |
Protected Methods | |
| virtual void | do_color_changed (int) |
Definition at line 31 of file Stage.h.
|
|
enumerated locations for the stage.
|
|
|
constructor: the parent displayable.
Definition at line 43 of file Stage.C. References Scene::add_color_category, Scene::add_color_item, Displayable::cent_trans_off, do_color_changed, Displayable::glob_trans_off, location, NO_STAGE, panels, Displayable::rot_off, Displayable::scale_off, Displayable::scene, STAGE_PANELS, STAGEEVENCOL, STAGEODDCOL, and STAGEPOS_TOTAL. |
|
|
Reimplemented from Displayable. Definition at line 67 of file Stage.C. References Scene::category_item_index, Scene::category_item_value, and Displayable::scene. Referenced by Stage. |
|
|
return descripton of location.
Definition at line 142 of file Stage.C. References stageloc. Referenced by MainFltkMenu::MainFltkMenu, VMDApp::stage_set_location, and text_cmd_stage. |
|
|
return stage display mode.
Definition at line 74 of file Stage.h. Referenced by Stage. |
|
|
set stage display mode; return success.
Definition at line 126 of file Stage.C. References NO_STAGE, Displayable::off, and Displayable::on. Referenced by VMDApp::stage_set_location, and text_cmd_stage. |
|
|
return total number of locations.
Definition at line 80 of file Stage.h. References STAGEPOS_TOTAL. Referenced by MainFltkMenu::MainFltkMenu, VMDApp::stage_set_location, and text_cmd_stage. |
|
|
|
|
|
get/set number of panels (must be >= 1).
Definition at line 83 of file Stage.h. Referenced by Stage, VMDApp::stage_set_numpanels, and text_cmd_stage. |
|
|
prepare for drawing ... do any updates needed right before draw.
Reimplemented from Displayable. Definition at line 148 of file Stage.C. References Displayable::add_rot, Displayable::glob_trans_off, Displayable::glob_trans_on, NO_STAGE, Displayable::reset_transformation, Displayable::rot_off, Displayable::rot_on, Displayable::set_glob_trans, STAGE_BEHIND, STAGE_LEFT, STAGE_LOWER, STAGE_ORIGIN, STAGE_RIGHT, and STAGE_UPPER. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002