Belle II Software
release-08-01-10
|
Responsible for arranging the GL viewers and providing related functionality. More...
#include <SplitGLView.h>
Public Types | |
enum | EMenuCommands { kGLPerspYOZ , kGLPerspXOZ , kGLPerspXOY , kGLXOY , kGLXOZ , kGLZOY , kGLOrthoRotate , kGLOrthoDolly , kGLStereo , kSceneUpdate , kSceneUpdateAll , kShowScale , kSaveGeometryExtract } |
Which menu command was selected? | |
Public Member Functions | |
SplitGLView () | |
constructor. | |
virtual | ~SplitGLView () |
destructor. | |
void | itemClicked (TGListTreeItem *item, Int_t btn, Int_t x, Int_t y=43) |
handler for clicks inside GL viewer. | |
void | handleMenu (Int_t menuCommand) |
menu item handler | |
void | onClicked (TObject *obj) |
make current viewer active & show name of obj in status bar. | |
void | onMouseOver (TGLPhysicalShape *shape) |
show name of shape in status bar. | |
void | updateCamera (int cameraAction) |
change camera type, given one of EMenuCommands. | |
void | toggleOrthoRotate () |
toggle wether the active viewer may be rotated (not that useful for projections). | |
void | toggleOrthoDolly () |
Toggle state of the 'Ortho allow dolly' menu entry. | |
void | toggleStereo () |
Toggle stereo viewing for perspective viewer. | |
void | toggleShowScale () |
Toggle visibility of axes for projections. | |
TEveProjectionManager * | getRPhiMgr () const |
return R-Phi projection manager. | |
TEveProjectionManager * | getRhoZMgr () const |
return Rho-Z projection manager. | |
TGLEmbeddedViewer * | getActiveGLViewer () |
return TGLEmbeddedViewer that is active right now. | |
InfoWidget * | getInfoWidget () const |
text-based info viewer. | |
Private Member Functions | |
void | setActiveViewer (TGLEmbeddedViewer *v) |
set m_activeViewer and update UI accordingly. | |
Private Attributes | |
TGLEmbeddedViewer * | m_glViewer [3] |
GL viewers. | |
TEveWindow * | m_window [3] |
corresponding windows | |
int | m_activeViewer |
selected viewer/window, or -1. | |
TEveProjectionManager * | m_rphiManager |
R-Phi projection. | |
TEveProjectionManager * | m_rhozManager |
Rho-Z projection. | |
TGPopupMenu * | m_cameraMenu |
'Camera' popup menu | |
TGPopupMenu * | m_sceneMenu |
'Scene' popup menu | |
TGStatusBar * | m_statusBar |
status bar | |
InfoWidget * | m_infoWidget |
text-based info viewer. | |
Responsible for arranging the GL viewers and providing related functionality.
Adapted from alice_esd_split.C example.
Definition at line 30 of file SplitGLView.h.