TViewerX3D.cxx File Reference

#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 []


Enumeration Type Documentation

enum EX3DViewerCommands

Definition at line 80 of file TViewerX3D.cxx.


Function Documentation

ClassImp ( TViewerX3D   ) 

Definition at line 138 of file TViewerX3D.cxx.

References fHeight, gClient, and TGClient::GetRoot().

int x3d_dispatch_event ( Handle_t  event  ) 

Referenced by TX3DContainer::HandleButton(), TX3DContainer::HandleColormapChange(), TX3DContainer::HandleConfigureNotify(), TX3DContainer::HandleExpose(), TX3DContainer::HandleKey(), and TX3DContainer::HandleMotion().

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().

void x3d_get_position ( Float_t longitude,
Float_t latitude,
Float_t psi 
)

Definition at line 3367 of file x3d.c.

References gOInfo, and o.

Referenced by TViewerX3D::GetPosition().

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 (  ) 

Definition at line 3377 of file x3d.c.

References bounds, colors, currPoint, currPoly, currSeg, free(), g, gDisplay, gGInfo, gOInfo, gSize3D, i, list, o, points, polys, and segs.

Referenced by TViewerX3D::DeleteX3DWindow().

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().


Variable Documentation

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().


Generated on Tue Jul 5 16:00:26 2011 for ROOT_528-00b_version by  doxygen 1.5.1