Logo ROOT  
Reference Guide
TViewerX3D.cxx File Reference
#include "TViewerX3D.h"
#include "X3DBuffer.h"
#include "TVirtualPad.h"
#include "TView.h"
#include "TMath.h"
#include "TROOT.h"
#include "snprintf.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 <cassert>

Classes

class  TX3DContainer

Enumerations

enum  EX3DViewerCommands {
  kFileNewViewer , kFileSave , kFileSaveAs , kFilePrint ,
  kFileCloseViewer , kHelpAbout , kHelpOnViewer
}

Functions

int x3d_dispatch_event (Handle_t event)
int x3d_exec_command (int px, int py, char command)
void x3d_get_position (Float_t *longitude, Float_t *latitude, Float_t *psi)
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)
void x3d_terminate ()
void x3d_update ()

Variables

const char gHelpX3DViewer []

Enumeration Type Documentation

◆ EX3DViewerCommands

Enumerator
kFileNewViewer 
kFileSave 
kFileSaveAs 
kFilePrint 
kFileCloseViewer 
kHelpAbout 
kHelpOnViewer 

Definition at line 81 of file TViewerX3D.cxx.

Function Documentation

◆ x3d_dispatch_event()

int x3d_dispatch_event ( Handle_t event)

Definition at line 3294 of file x3d.c.

◆ x3d_exec_command()

int x3d_exec_command ( int px,
int py,
char command )

Definition at line 3386 of file x3d.c.

◆ x3d_get_position()

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

Definition at line 3308 of file x3d.c.

◆ x3d_main()

Window_t x3d_main ( Float_t * longitude,
Float_t * latitude,
Float_t * psi,
Option_t * option,
Window_t parent )

◆ x3d_set_display()

void x3d_set_display ( Display_t display)

Definition at line 3381 of file x3d.c.

◆ x3d_terminate()

void x3d_terminate ( )

Definition at line 3318 of file x3d.c.

◆ x3d_update()

void x3d_update ( )

Definition at line 3284 of file x3d.c.

Variable Documentation

◆ gHelpX3DViewer

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 42 of file TViewerX3D.cxx.