#include "TGLViewer.h"
#include "TGLPerspectiveCamera.h"
#include "TTimer.h"
#include "TRandom.h"
#include "TVirtualPad.h"
Go to the source code of this file.
Functions | |
void | AnimateCamera () |
void | glViewerExercise () |
Variables | |
TGLViewer::ECameraType | camera |
TTimer | timer (25) |
TRandom | randGen (0) |
Int_t | moveCount = 0 |
void AnimateCamera | ( | ) |
Definition at line 16 of file glViewerExercise.C.
References camera, gPad, moveCount, TMath::PiOver2(), randGen, TRandom::Rndm(), TMath::Sqrt(), and TMath::TwoPi().
void glViewerExercise | ( | ) |
Definition at line 89 of file glViewerExercise.C.
References camera, TQObject::Connect(), TGLSAViewer::GetFrame(), gPad, gROOT, TRandom::Integer(), kFALSE, TGLRnrCtx::kFill, TGLLightSet::kLightBottom, TGLLightSet::kLightLeft, TGLLightSet::kLightRight, TGLLightSet::kLightTop, TGLRnrCtx::kOutline, kTRUE, TGLRnrCtx::kWireFrame, ls(), o, TROOT::ProcessLine(), randGen, and timer.
Definition at line 10 of file glViewerExercise.C.
Referenced by AnimateCamera(), TGLManip::CalcDrawScale(), TGLRotateManip::CalculateAngleDelta(), TGLRotateManip::CalculateRingLine(), TGLPhysicalShape::CalculateShapeLOD(), TEveProjectionAxesGL::DirectDraw(), TGLRotateManip::Draw(), TGLScaleManip::Draw(), TGLTransManip::Draw(), Rgl::DrawPalette(), Rgl::DrawPaletteAxis(), TGLUtil::DrawReferenceMarker(), TGLUtil::DrawSimpleAxes(), TEveCaloLegoGL::GetGridStep(), glViewerExercise(), TGLRotateManip::HandleButton(), TGLScaleManip::HandleButton(), TGLScaleManip::HandleMotion(), TGLTransManip::HandleMotion(), TGLRotateManip::HandleMotion(), TX11GLManager::SelectManip(), TGWin32GLManager::SelectManip(), and TGLLightSet::StdSetupLights().
Referenced by AnimateCamera(), and glViewerExercise().