glViewerExercise.C File Reference

#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


Function Documentation

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.


Variable Documentation

TGLViewer::ECameraType camera

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

Int_t moveCount = 0

Definition at line 14 of file glViewerExercise.C.

Referenced by AnimateCamera().

TRandom randGen(0)

Referenced by AnimateCamera(), and glViewerExercise().

TTimer timer(25)


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