#include "TViewerX3D.h"#include "X3DBuffer.h"#include "TVirtualPad.h"#include "TView.h"#include "TMath.h"#include "TROOT.h"#include "TRootHelpDialog.h"#include "TGClient.h"#include "TGCanvas.h"#include "TGMenu.h"#include "TGWidget.h"#include "TGMsgBox.h"#include "TVirtualX.h"#include "TBuffer3D.h"#include "TBuffer3DTypes.h"#include "HelpText.h"#include <assert.h>Go to the source code of this file.
Classes | |
| class | TX3DContainer |
Enumerations | |
| enum | EX3DViewerCommands |
Functions | |
| Window_t | x3d_main (Float_t *longitude, Float_t *latitude, Float_t *psi, Option_t *option, Window_t parent) |
| void | x3d_set_display (Display_t display) |
| int | x3d_dispatch_event (Handle_t event) |
| void | x3d_update () |
| void | x3d_get_position (Float_t *longitude, Float_t *latitude, Float_t *psi) |
| int | x3d_exec_command (int px, int py, char command) |
| void | x3d_terminate () |
| ClassImp (TViewerX3D) TViewerX3D | |
Variables | |
| const char | gHelpX3DViewer [] |
| enum EX3DViewerCommands |
Definition at line 80 of file TViewerX3D.cxx.
| ClassImp | ( | TViewerX3D | ) |
Definition at line 138 of file TViewerX3D.cxx.
References fHeight, gClient, and TGClient::GetRoot().
| int x3d_dispatch_event | ( | Handle_t | event | ) |
| int x3d_exec_command | ( | int | px, | |
| int | py, | |||
| char | command | |||
| ) |
Definition at line 3445 of file x3d.c.
References CalculateAngles(), deltaMove, g, gGInfo, gOInfo, HIDDENLINE, o, POINTERRATIO, quitApplication, SMALLMOVEMENT, SOLID, TWOPI, WIREFRAME, X, x3d_update(), Y, and Z.
Referenced by TViewerX3D::ExecCommand().
| Window_t x3d_main | ( | Float_t * | longitude, | |
| Float_t * | latitude, | |||
| Float_t * | psi, | |||
| Option_t * | option, | |||
| Window_t | parent | |||
| ) |
Referenced by TViewerX3D::InitX3DWindow().
| void x3d_set_display | ( | Display_t | display | ) |
Referenced by TViewerX3D::InitX3DWindow().
| void x3d_terminate | ( | ) |
| void x3d_update | ( | ) |
Definition at line 3343 of file x3d.c.
References BeginImage(), DrawObject(), EndImage(), g, gGInfo, gOInfo, and o.
Referenced by TViewerX3D::Update(), x3d_dispatch_event(), and x3d_exec_command().
| const char gHelpX3DViewer[] |
Initial value:
"\ PRESS \n\ \tw\t--- wireframe mode\n\ \te\t--- hidden line mode\n\ \tr\t--- hidden surface mode\n\ \tu\t--- move object down\n\ \ti\t--- move object up\n\ \to\t--- toggle controls style\n\ \ts\t--- toggle stereo display\n\ \td\t--- toggle blue stereo view\n\ \tf\t--- toggle double buffer\n\ \th\t--- move object right\n\ \tj\t--- move object forward\n\ \tk\t--- move object backward\n\ \tl\t--- move object left\n\ \tx a\t--- rotate about x\n\ \ty b\t--- rotate about y\n\ \tz c\t--- rotate about z\n\ \t1 2 3\t--- autorotate about x\n\ \t4 5 6\t--- autorotate about y\n\ \t7 8 9\t--- autorotate about z\n\ \t[ ] { }\t--- adjust focus\n\n\ HOLD the left mouse button and MOVE mouse to ROTATE object\n\n\ "
Definition at line 41 of file TViewerX3D.cxx.
Referenced by TViewerX3D::ProcessFrameMessage().
1.5.1