TGLViewer Class Reference

#include <TGLViewer.h>

Inheritance diagram for TGLViewer:

TVirtualViewer3D TGLViewerBase TQObject TVirtualViewer3D TGLViewerBase TQObject TGLLockable TGLLockable TObject TObject TGLLockable TGLLockable TObject TObject TGLEmbeddedViewer TGLEmbeddedViewer TGLSAViewer TGLSAViewer List of all members.

Public Types

enum  ECameraType
enum  ESecSelType
enum  EPushAction
enum  EDragAction
enum  ECameraType
enum  ESecSelType
enum  EPushAction
enum  EDragAction

Public Member Functions

 TGLViewer (TVirtualPad *pad, Int_t x, Int_t y, Int_t width, Int_t height)
 TGLViewer (TVirtualPad *pad)
virtual ~TGLViewer ()
virtual Bool_t CanLoopOnPrimitives () const
virtual void PadPaint (TVirtualPad *pad)
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual Bool_t PreferLocalFrame () const
virtual void BeginScene ()
virtual Bool_t BuildingScene () const
virtual void EndScene ()
virtual Int_t AddObject (const TBuffer3D &, Bool_t *=0)
virtual Int_t AddObject (UInt_t, const TBuffer3D &, Bool_t *=0)
virtual Bool_t OpenComposite (const TBuffer3D &, Bool_t *=0)
virtual void CloseComposite ()
virtual void AddCompositeOp (UInt_t)
virtual void PrintObjects ()
virtual void ResetCameras ()
virtual void ResetCamerasAfterNextUpdate ()
TGLWidgetGetGLWidget ()
virtual void CreateGLWidget ()
virtual void DestroyGLWidget ()
Int_t GetDev () const
Bool_t GetSmartRefresh () const
void SetSmartRefresh (Bool_t smart_ref)
TGLColorSetRefDarkColorSet ()
TGLColorSetRefLightColorSet ()
TGLColorSetColorSet ()
void UseDarkColorSet ()
void UseLightColorSet ()
void SwitchColorSet ()
void UseDefaultColorSet (Bool_t x)
Bool_t IsUsingDefaultColorSet () const
Bool_t IsColorSetDark () const
void SetClearColor (Color_t col)
const TGLRectRefViewport () const
Int_t ViewportDiagonal () const
Float_t GetPointScale () const
Float_t GetLineScale () const
void SetPointScale (Float_t s)
void SetLineScale (Float_t s)
Bool_t GetSmoothPoints () const
Bool_t GetSmoothLines () const
void SetSmoothPoints (Bool_t s)
void SetSmoothLines (Bool_t s)
TGLLightSetGetLightSet () const
TGLClipSetGetClipSet () const
Bool_t GetClipAutoUpdate () const
void SetClipAutoUpdate (Bool_t x)
TGLCameraCurrentCamera () const
TGLCameraRefCamera (ECameraType camera)
void SetCurrentCamera (ECameraType camera)
void SetOrthoCamera (ECameraType camera, Double_t zoom, Double_t dolly, Double_t center[3], Double_t hRotate, Double_t vRotate)
void SetPerspectiveCamera (ECameraType camera, Double_t fov, Double_t dolly, Double_t center[3], Double_t hRotate, Double_t vRotate)
void GetGuideState (Int_t &axesType, Bool_t &axesDepthTest, Bool_t &referenceOn, Double_t *referencePos) const
void SetGuideState (Int_t axesType, Bool_t axesDepthTest, Bool_t referenceOn, const Double_t *referencePos)
void SetDrawCameraCenter (Bool_t x)
Bool_t GetDrawCameraCenter ()
void PickCameraCenter ()
void PickAnnotate ()
TGLCameraOverlayGetCameraOverlay () const
void SetCameraOverlay (TGLCameraOverlay *m)
TGLAutoRotatorGetAutoRotator ()
void SetAutoRotator (TGLAutoRotator *ar)
Bool_t GetStereo () const
Float_t GetStereoZeroParallax () const
Float_t GetStereoEyeOffsetFac () const
Float_t GetStereoFrustumAsymFac () const
void SetStereo (Bool_t s)
void SetStereoZeroParallax (Float_t f)
void SetStereoEyeOffsetFac (Float_t f)
void SetStereoFrustumAsymFac (Float_t f)
EPushAction GetPushAction () const
EDragAction GetDragAction () const
const TGLPhysicalShapeGetSelected () const
Float_t GetMaxSceneDrawTimeHQ () const
Float_t GetMaxSceneDrawTimeLQ () const
void SetMaxSceneDrawTimeHQ (Float_t t)
void SetMaxSceneDrawTimeLQ (Float_t t)
void RequestDraw (Short_t LOD=TGLRnrCtx::kLODMed)
virtual void PreRender ()
virtual void PostRender ()
void DoDraw (Bool_t swap_buffers=kTRUE)
void DoDrawMono (Bool_t swap_buffers)
void DoDrawStereo (Bool_t swap_buffers)
void DrawGuides ()
void DrawDebugInfo ()
Bool_t RequestSelect (Int_t x, Int_t y)
Bool_t DoSelect (Int_t x, Int_t y)
Bool_t RequestSecondarySelect (Int_t x, Int_t y)
Bool_t DoSecondarySelect (Int_t x, Int_t y)
void ApplySelection ()
Bool_t RequestOverlaySelect (Int_t x, Int_t y)
Bool_t DoOverlaySelect (Int_t x, Int_t y)
Bool_t SavePicture ()
Bool_t SavePicture (const TString &fileName)
Bool_t SavePictureUsingBB (const TString &fileName)
Bool_t SavePictureUsingFBO (const TString &fileName, Int_t w, Int_t h, Float_t pixel_object_scale=0)
Bool_t SavePictureWidth (const TString &fileName, Int_t width, Bool_t pixel_object_scale=kTRUE)
Bool_t SavePictureHeight (const TString &fileName, Int_t height, Bool_t pixel_object_scale=kTRUE)
Bool_t SavePictureScale (const TString &fileName, Float_t scale, Bool_t pixel_object_scale=kTRUE)
const char * GetPictureFileName () const
void SetPictureFileName (const TString &f)
Float_t GetFader () const
void SetFader (Float_t x)
void AutoFade (Float_t fade, Float_t time=1, Int_t steps=10)
void UpdateScene (Bool_t redraw=kTRUE)
Bool_t GetIgnoreSizesOnUpdate () const
void SetIgnoreSizesOnUpdate (Bool_t v)
void ResetCurrentCamera ()
Bool_t GetResetCamerasOnUpdate () const
void SetResetCamerasOnUpdate (Bool_t v)
virtual void PostSceneBuildSetup (Bool_t resetCameras)
virtual void Activated ()
virtual void MouseIdle (TGLPhysicalShape *, UInt_t, UInt_t)
virtual void MouseOver (TGLPhysicalShape *)
virtual void MouseOver (TGLPhysicalShape *, UInt_t state)
virtual void MouseOver (TObject *obj, UInt_t state)
virtual void ReMouseOver (TObject *obj, UInt_t state)
virtual void UnMouseOver (TObject *obj, UInt_t state)
virtual void Clicked (TObject *obj)
virtual void Clicked (TObject *obj, UInt_t button, UInt_t state)
virtual void ReClicked (TObject *obj, UInt_t button, UInt_t state)
virtual void UnClicked (TObject *obj, UInt_t button, UInt_t state)
virtual void DoubleClicked ()
TGEventHandlerGetEventHandler () const
virtual void SetEventHandler (TGEventHandler *handler)
TGedEditorGetGedEditor () const
virtual void SetGedEditor (TGedEditor *ed)
virtual void SelectionChanged ()
virtual void OverlayDragFinished ()
virtual void RefreshPadEditor (TObject *obj=0)
virtual void RemoveOverlayElement (TGLOverlayElement *el)
TGLSelectRecordGetSelRec ()
TGLOvlSelectRecordGetOvlSelRec ()
TGLOverlayElementGetCurrentOvlElm () const
void ClearCurrentOvlElm ()
 TGLViewer (TVirtualPad *pad, Int_t x, Int_t y, Int_t width, Int_t height)
 TGLViewer (TVirtualPad *pad)
virtual ~TGLViewer ()
virtual Bool_t CanLoopOnPrimitives () const
virtual void PadPaint (TVirtualPad *pad)
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual Bool_t PreferLocalFrame () const
virtual void BeginScene ()
virtual Bool_t BuildingScene () const
virtual void EndScene ()
virtual Int_t AddObject (const TBuffer3D &, Bool_t *=0)
virtual Int_t AddObject (UInt_t, const TBuffer3D &, Bool_t *=0)
virtual Bool_t OpenComposite (const TBuffer3D &, Bool_t *=0)
virtual void CloseComposite ()
virtual void AddCompositeOp (UInt_t)
virtual void PrintObjects ()
virtual void ResetCameras ()
virtual void ResetCamerasAfterNextUpdate ()
TGLWidgetGetGLWidget ()
virtual void CreateGLWidget ()
virtual void DestroyGLWidget ()
Int_t GetDev () const
Bool_t GetSmartRefresh () const
void SetSmartRefresh (Bool_t smart_ref)
TGLColorSetRefDarkColorSet ()
TGLColorSetRefLightColorSet ()
TGLColorSetColorSet ()
void UseDarkColorSet ()
void UseLightColorSet ()
void SwitchColorSet ()
void UseDefaultColorSet (Bool_t x)
Bool_t IsUsingDefaultColorSet () const
Bool_t IsColorSetDark () const
void SetClearColor (Color_t col)
const TGLRectRefViewport () const
Int_t ViewportDiagonal () const
Float_t GetPointScale () const
Float_t GetLineScale () const
void SetPointScale (Float_t s)
void SetLineScale (Float_t s)
Bool_t GetSmoothPoints () const
Bool_t GetSmoothLines () const
void SetSmoothPoints (Bool_t s)
void SetSmoothLines (Bool_t s)
TGLLightSetGetLightSet () const
TGLClipSetGetClipSet () const
Bool_t GetClipAutoUpdate () const
void SetClipAutoUpdate (Bool_t x)
TGLCameraCurrentCamera () const
TGLCameraRefCamera (ECameraType camera)
void SetCurrentCamera (ECameraType camera)
void SetOrthoCamera (ECameraType camera, Double_t zoom, Double_t dolly, Double_t center[3], Double_t hRotate, Double_t vRotate)
void SetPerspectiveCamera (ECameraType camera, Double_t fov, Double_t dolly, Double_t center[3], Double_t hRotate, Double_t vRotate)
void GetGuideState (Int_t &axesType, Bool_t &axesDepthTest, Bool_t &referenceOn, Double_t *referencePos) const
void SetGuideState (Int_t axesType, Bool_t axesDepthTest, Bool_t referenceOn, const Double_t *referencePos)
void SetDrawCameraCenter (Bool_t x)
Bool_t GetDrawCameraCenter ()
void PickCameraCenter ()
void PickAnnotate ()
TGLCameraOverlayGetCameraOverlay () const
void SetCameraOverlay (TGLCameraOverlay *m)
TGLAutoRotatorGetAutoRotator ()
void SetAutoRotator (TGLAutoRotator *ar)
Bool_t GetStereo () const
Float_t GetStereoZeroParallax () const
Float_t GetStereoEyeOffsetFac () const
Float_t GetStereoFrustumAsymFac () const
void SetStereo (Bool_t s)
void SetStereoZeroParallax (Float_t f)
void SetStereoEyeOffsetFac (Float_t f)
void SetStereoFrustumAsymFac (Float_t f)
EPushAction GetPushAction () const
EDragAction GetDragAction () const
const TGLPhysicalShapeGetSelected () const
Float_t GetMaxSceneDrawTimeHQ () const
Float_t GetMaxSceneDrawTimeLQ () const
void SetMaxSceneDrawTimeHQ (Float_t t)
void SetMaxSceneDrawTimeLQ (Float_t t)
void RequestDraw (Short_t LOD=TGLRnrCtx::kLODMed)
virtual void PreRender ()
virtual void PostRender ()
void DoDraw (Bool_t swap_buffers=kTRUE)
void DoDrawMono (Bool_t swap_buffers)
void DoDrawStereo (Bool_t swap_buffers)
void DrawGuides ()
void DrawDebugInfo ()
Bool_t RequestSelect (Int_t x, Int_t y)
Bool_t DoSelect (Int_t x, Int_t y)
Bool_t RequestSecondarySelect (Int_t x, Int_t y)
Bool_t DoSecondarySelect (Int_t x, Int_t y)
void ApplySelection ()
Bool_t RequestOverlaySelect (Int_t x, Int_t y)
Bool_t DoOverlaySelect (Int_t x, Int_t y)
Bool_t SavePicture ()
Bool_t SavePicture (const TString &fileName)
Bool_t SavePictureUsingBB (const TString &fileName)
Bool_t SavePictureUsingFBO (const TString &fileName, Int_t w, Int_t h, Float_t pixel_object_scale=0)
Bool_t SavePictureWidth (const TString &fileName, Int_t width, Bool_t pixel_object_scale=kTRUE)
Bool_t SavePictureHeight (const TString &fileName, Int_t height, Bool_t pixel_object_scale=kTRUE)
Bool_t SavePictureScale (const TString &fileName, Float_t scale, Bool_t pixel_object_scale=kTRUE)
const char * GetPictureFileName () const
void SetPictureFileName (const TString &f)
Float_t GetFader () const
void SetFader (Float_t x)
void AutoFade (Float_t fade, Float_t time=1, Int_t steps=10)
void UpdateScene (Bool_t redraw=kTRUE)
Bool_t GetIgnoreSizesOnUpdate () const
void SetIgnoreSizesOnUpdate (Bool_t v)
void ResetCurrentCamera ()
Bool_t GetResetCamerasOnUpdate () const
void SetResetCamerasOnUpdate (Bool_t v)
virtual void PostSceneBuildSetup (Bool_t resetCameras)
virtual void Activated ()
virtual void MouseIdle (TGLPhysicalShape *, UInt_t, UInt_t)
virtual void MouseOver (TGLPhysicalShape *)
virtual void MouseOver (TGLPhysicalShape *, UInt_t state)
virtual void MouseOver (TObject *obj, UInt_t state)
virtual void ReMouseOver (TObject *obj, UInt_t state)
virtual void UnMouseOver (TObject *obj, UInt_t state)
virtual void Clicked (TObject *obj)
virtual void Clicked (TObject *obj, UInt_t button, UInt_t state)
virtual void ReClicked (TObject *obj, UInt_t button, UInt_t state)
virtual void UnClicked (TObject *obj, UInt_t button, UInt_t state)
virtual void DoubleClicked ()
TGEventHandlerGetEventHandler () const
virtual void SetEventHandler (TGEventHandler *handler)
TGedEditorGetGedEditor () const
virtual void SetGedEditor (TGedEditor *ed)
virtual void SelectionChanged ()
virtual void OverlayDragFinished ()
virtual void RefreshPadEditor (TObject *obj=0)
virtual void RemoveOverlayElement (TGLOverlayElement *el)
TGLSelectRecordGetSelRec ()
TGLOvlSelectRecordGetOvlSelRec ()
TGLOverlayElementGetCurrentOvlElm () const
void ClearCurrentOvlElm ()

Static Public Member Functions

static TGLColorSetGetDefaultColorSet ()
static void UseDefaultColorSetForNewViewers (Bool_t x)
static Bool_t IsUsingDefaultColorSetForNewViewers ()
static TGLColorSetGetDefaultColorSet ()
static void UseDefaultColorSetForNewViewers (Bool_t x)
static Bool_t IsUsingDefaultColorSetForNewViewers ()

Protected Member Functions

virtual void SetupClipObject ()
 name says it all
void InitGL ()
void PreDraw ()
void PostDraw ()
void FadeView (Float_t alpha)
void MakeCurrent () const
void SwapBuffers () const
void SetViewport (Int_t x, Int_t y, Int_t width, Int_t height)
void SetViewport (const TGLRect &vp)
void SetupCameras (Bool_t reset)
virtual void SetupClipObject ()
 name says it all
void InitGL ()
void PreDraw ()
void PostDraw ()
void FadeView (Float_t alpha)
void MakeCurrent () const
void SwapBuffers () const
void SetViewport (Int_t x, Int_t y, Int_t width, Int_t height)
void SetViewport (const TGLRect &vp)
void SetupCameras (Bool_t reset)

Protected Attributes

TVirtualPadfPad
TContextMenufContextMenu
 external pad - remove replace with signal
TGLPerspectiveCamera fPerspectiveCameraXOZ
TGLPerspectiveCamera fPerspectiveCameraYOZ
TGLPerspectiveCamera fPerspectiveCameraXOY
TGLOrthoCamera fOrthoXOYCamera
TGLOrthoCamera fOrthoXOZCamera
TGLOrthoCamera fOrthoZOYCamera
TGLOrthoCamera fOrthoXnOYCamera
TGLOrthoCamera fOrthoXnOZCamera
TGLOrthoCamera fOrthoZnOYCamera
TGLCamerafCurrentCamera
TGLAutoRotatorfAutoRotator
Bool_t fStereo
Float_t fStereoZeroParallax
 use stereo rendering
Float_t fStereoEyeOffsetFac
 position of zero-parallax plane: 0 - near clipping plane, 1 - far clipping plane
Float_t fStereoFrustumAsymFac
TGLLightSetfLightSet
TGLClipSetfClipSet
TGLSelectRecord fCurrentSelRec
TGLSelectRecord fSelRec
 select record in use as selected
TGLSelectRecord fSecSelRec
 select record from last select (should go to context)
TGLManipSetfSelectedPShapeRef
 select record from last secondary select (should go to context)
TGLOverlayElementfCurrentOvlElm
TGLOvlSelectRecord fOvlSelRec
 current overlay element
TGEventHandlerfEventHandler
 select record from last overlay select
TGedEditorfGedEditor
 event handler
TGLPShapeObjfPShapeWrap
 GED editor.
EPushAction fPushAction
EDragAction fDragAction
TGLRedrawTimerfRedrawTimer
Float_t fMaxSceneDrawTimeHQ
 timer for triggering redraws
Float_t fMaxSceneDrawTimeLQ
 max time for scene rendering at high LOD (in ms)
TGLRect fViewport
 max time for scene rendering at high LOD (in ms)
TGLColorSet fDarkColorSet
 viewport - drawn area
TGLColorSet fLightColorSet
 color-set with dark background
Float_t fPointScale
 color-set with light background
Float_t fLineScale
 size scale for points
Bool_t fSmoothPoints
 width scale for lines
Bool_t fSmoothLines
 smooth point edge rendering
Int_t fAxesType
 smooth line edge rendering
Bool_t fAxesDepthTest
 axes type
Bool_t fReferenceOn
 remove guides hidden-lines
TGLVertex3 fReferencePos
 reference marker on?
Bool_t fDrawCameraCenter
 reference position
TGLCameraOverlayfCameraOverlay
 reference marker on?
Bool_t fSmartRefresh
 markup size of viewport in scene units
Bool_t fDebugMode
 cache logicals during scene rebuilds
Bool_t fIsPrinting
 debug mode (forced rebuild + draw scene/frustum/interest boxes)
TString fPictureFileName
Float_t fFader
 default file-name for SavePicture()
TGLWidgetfGLWidget
Int_t fGLDevice
TGLContextIdentityfGLCtxId
 for embedded gl viewer
Bool_t fIgnoreSizesOnUpdate
 for embedded gl viewer
Bool_t fResetCamerasOnUpdate
Bool_t fResetCamerasOnNextUpdate
TVirtualPadfPad
TContextMenufContextMenu
 external pad - remove replace with signal
TGLCamerafCurrentCamera
TGLAutoRotatorfAutoRotator
TGLLightSetfLightSet
TGLClipSetfClipSet
TGLManipSetfSelectedPShapeRef
 select record from last secondary select (should go to context)
TGLOverlayElementfCurrentOvlElm
TGEventHandlerfEventHandler
 select record from last overlay select
TGedEditorfGedEditor
 event handler
TGLPShapeObjfPShapeWrap
 GED editor.
TGLRedrawTimerfRedrawTimer
TGLCameraOverlayfCameraOverlay
 reference marker on?
TGLWidgetfGLWidget
TGLContextIdentityfGLCtxId
 for embedded gl viewer

Static Protected Attributes

static TGLColorSet fgDefaultColorSet
 fade the view (0 - no fade/default, 1 - full fade/no rendering done)
static Bool_t fgUseDefaultColorSetForNewViewers
 a shared, default color-set

Private Member Functions

 TGLViewer (const TGLViewer &)
TGLVieweroperator= (const TGLViewer &)
void InitSecondaryObjects ()
 TGLViewer (const TGLViewer &)
TGLVieweroperator= (const TGLViewer &)
void InitSecondaryObjects ()

Friends

class TGLOutput
class TGLEventHandler

Detailed Description

Definition at line 52 of file TGLViewer.h.


Member Enumeration Documentation

enum TGLViewer::ECameraType

Definition at line 61 of file TGLViewer.h.

enum TGLViewer::ESecSelType

Definition at line 65 of file TGLViewer.h.

enum TGLViewer::EPushAction

Definition at line 122 of file TGLViewer.h.

enum TGLViewer::EDragAction

Definition at line 124 of file TGLViewer.h.

enum TGLViewer::ECameraType

Definition at line 61 of file TGLViewer.h.

enum TGLViewer::ESecSelType

Definition at line 65 of file TGLViewer.h.

enum TGLViewer::EPushAction

Definition at line 122 of file TGLViewer.h.

enum TGLViewer::EDragAction

Definition at line 124 of file TGLViewer.h.


Constructor & Destructor Documentation

TGLViewer::TGLViewer ( const TGLViewer  )  [private]

TGLViewer::TGLViewer ( TVirtualPad pad,
Int_t  x,
Int_t  y,
Int_t  width,
Int_t  height 
)

Definition at line 99 of file TGLViewer.cxx.

References InitSecondaryObjects(), and SetViewport().

TGLViewer::TGLViewer ( TVirtualPad pad  ) 

Definition at line 162 of file TGLViewer.cxx.

References TGLContextIdentity::AddRef(), fGLCtxId, fGLDevice, gGLManager, InitSecondaryObjects(), and SetViewport().

TGLViewer::~TGLViewer (  )  [virtual]

Definition at line 266 of file TGLViewer.cxx.

References fAutoRotator, fContextMenu, fEventHandler, fGLCtxId, fGLDevice, fGLWidget, fLightSet, fPad, fRedrawTimer, TGLContextIdentity::Release(), and TVirtualPad::ReleaseViewer3D().

TGLViewer::TGLViewer ( const TGLViewer  )  [private]

TGLViewer::TGLViewer ( TVirtualPad pad,
Int_t  x,
Int_t  y,
Int_t  width,
Int_t  height 
)

TGLViewer::TGLViewer ( TVirtualPad pad  ) 

virtual TGLViewer::~TGLViewer (  )  [virtual]


Member Function Documentation

TGLViewer& TGLViewer::operator= ( const TGLViewer  )  [private]

void TGLViewer::InitSecondaryObjects (  )  [private]

Definition at line 232 of file TGLViewer.cxx.

References TGLViewerBase::AddOverlayElement(), TGLColorSet::Background(), TGLRnrCtx::ChangeBaseColorSet(), fCameraOverlay, fClipSet, fDarkColorSet, fgDefaultColorSet, fgUseDefaultColorSetForNewViewers, fLightColorSet, fLightSet, fPad, fPShapeWrap, fRedrawTimer, TGLViewerBase::fRnrCtx, fSelectedPShapeRef, TAttFill::GetFillColor(), TAttLine::GetLineColor(), kFALSE, kTRUE, TGLColor::SetColor(), TGLManipSet::SetDrawBBox(), and TGLColorSet::StdLightBackground().

Referenced by TGLViewer().

void TGLViewer::SetupClipObject (  )  [protected, virtual]

name says it all

Reimplemented from TGLViewerBase.

Definition at line 460 of file TGLViewer.cxx.

References fClipSet, TGLViewerBase::fOverallBoundingBox, GetClipAutoUpdate(), TGLClipSet::SetupCurrentClip(), and TGLClipSet::SetupCurrentClipIfInvalid().

void TGLViewer::InitGL (  )  [protected]

Definition at line 401 of file TGLViewer.cxx.

References TGLUtil::CheckError(), GL_BACK, GL_BLEND, GL_COLOR_MATERIAL, GL_CULL_FACE, GL_DEPTH_TEST, GL_DIFFUSE, GL_FALSE, GL_FILL, GL_FRONT, GL_FRONT_AND_BACK, GL_LIGHT_MODEL_AMBIENT, GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, GL_LINE_SMOOTH_HINT, GL_NICEST, GL_POINT_SMOOTH_HINT, GL_SHININESS, GL_TRUE, glClearColor(), glClearDepth(), glColorMaterial(), glCullFace(), glDisable(), glEnable(), glHint(), glLightModelfv(), glLightModeli(), glMaterialf(), and glPolygonMode().

Referenced by PreDraw().

void TGLViewer::PreDraw (  )  [protected]

Definition at line 1045 of file TGLViewer.cxx.

References TGLColorSet::Background(), TGLUtil::CheckError(), TGLRnrCtx::ColorSet(), fGLDevice, TGLViewerBase::fRnrCtx, TROOT::GetColor(), TGLColor::GetColorIndex(), GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_STENCIL_BUFFER_BIT, glClear(), glClearColor(), gPad, gROOT, and InitGL().

Referenced by DoDrawMono(), and DoDrawStereo().

void TGLViewer::PostDraw (  )  [protected]

Definition at line 1070 of file TGLViewer.cxx.

References TGLUtil::CheckError(), and glFlush().

Referenced by DoDrawMono(), and DoDrawStereo().

void TGLViewer::FadeView ( Float_t  alpha  )  [protected]

Definition at line 1079 of file TGLViewer.cxx.

References TGLColorSet::Background(), TGLUtil::ColorAlpha(), TGLRnrCtx::ColorSet(), TGLViewerBase::fRnrCtx, GL_BLEND, GL_LIGHTING, GL_MODELVIEW, GL_ONE_MINUS_SRC_ALPHA, GL_PROJECTION, GL_QUADS, GL_SRC_ALPHA, glBegin(), glBlendFunc(), glEnd(), glLoadIdentity(), glMatrixMode(), glPopMatrix(), glPushMatrix(), glVertex3f(), kFALSE, and kTRUE.

Referenced by DoDrawMono(), and DoDrawStereo().

void TGLViewer::MakeCurrent (  )  const [protected]

Definition at line 1105 of file TGLViewer.cxx.

References fGLDevice, fGLWidget, gGLManager, and TGLWidget::MakeCurrent().

Referenced by DoDrawMono(), DoDrawStereo(), DoOverlaySelect(), DoSecondarySelect(), DoSelect(), and SavePictureUsingFBO().

void TGLViewer::SwapBuffers (  )  const [protected]

Definition at line 1115 of file TGLViewer.cxx.

References TGLLockable::CurrentLock(), TObject::Error(), fGLDevice, fGLWidget, gGLManager, TGLLockable::IsDrawOrSelectLock(), kFALSE, TGLLockable::LockName(), and TGLWidget::SwapBuffers().

Referenced by DoDrawMono(), and DoDrawStereo().

void TGLViewer::SetViewport ( Int_t  x,
Int_t  y,
Int_t  width,
Int_t  height 
) [protected]

Definition at line 1533 of file TGLViewer.cxx.

References fCurrentCamera, fViewport, gDebug, TGLRect::Height(), TObject::Info(), TGLRect::Set(), TGLCamera::SetViewport(), TGLRect::Width(), TGLRect::X(), and TGLRect::Y().

Referenced by DoDraw(), TGLEventHandler::HandleConfigureNotify(), SavePictureUsingFBO(), SetViewport(), and TGLViewer().

void TGLViewer::SetViewport ( const TGLRect vp  )  [protected]

Definition at line 1552 of file TGLViewer.cxx.

References SetViewport(), and vp.

void TGLViewer::SetupCameras ( Bool_t  reset  )  [protected]

Definition at line 359 of file TGLViewer.cxx.

References box(), TGLLockable::CurrentLock(), TObject::Error(), fOrthoXnOYCamera, fOrthoXnOZCamera, fOrthoXOYCamera, fOrthoXOZCamera, fOrthoZnOYCamera, fOrthoZOYCamera, TGLViewerBase::fOverallBoundingBox, fPerspectiveCameraXOY, fPerspectiveCameraXOZ, fPerspectiveCameraYOZ, TGLLockable::IsLocked(), TGLLockable::LockName(), TGLPerspectiveCamera::Setup(), and TGLOrthoCamera::Setup().

Referenced by PostSceneBuildSetup(), and ResetCameras().

virtual Bool_t TGLViewer::CanLoopOnPrimitives (  )  const [inline, virtual]

Reimplemented from TVirtualViewer3D.

Definition at line 199 of file TGLViewer.h.

References kTRUE.

void TGLViewer::PadPaint ( TVirtualPad pad  )  [virtual]

Reimplemented from TVirtualViewer3D.

Definition at line 292 of file TGLViewer.cxx.

References TGLViewerBase::AddScene(), fResetCamerasOnNextUpdate, fResetCamerasOnUpdate, TGLViewerBase::fScenes, TGLScenePad::GetPad(), kFALSE, TGLScenePad::PadPaintFromViewer(), PostSceneBuildSetup(), and RequestDraw().

Referenced by SplitGLView::OpenFile(), and TStructViewerGUI::TStructViewerGUI().

Int_t TGLViewer::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 1968 of file TGLViewer.cxx.

References gPad.

void TGLViewer::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 1981 of file TGLViewer.cxx.

References TObject::ExecuteEvent(), and fEventHandler.

virtual Bool_t TGLViewer::PreferLocalFrame (  )  const [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 206 of file TGLViewer.h.

References kTRUE.

virtual void TGLViewer::BeginScene (  )  [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 207 of file TGLViewer.h.

virtual Bool_t TGLViewer::BuildingScene (  )  const [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 208 of file TGLViewer.h.

References kFALSE.

virtual void TGLViewer::EndScene (  )  [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 209 of file TGLViewer.h.

virtual Int_t TGLViewer::AddObject ( const TBuffer3D ,
Bool_t = 0 
) [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 210 of file TGLViewer.h.

References TBuffer3D::kNone.

virtual Int_t TGLViewer::AddObject ( UInt_t  ,
const TBuffer3D ,
Bool_t = 0 
) [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 211 of file TGLViewer.h.

References TBuffer3D::kNone.

virtual Bool_t TGLViewer::OpenComposite ( const TBuffer3D ,
Bool_t = 0 
) [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 212 of file TGLViewer.h.

References kFALSE.

virtual void TGLViewer::CloseComposite (  )  [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 213 of file TGLViewer.h.

virtual void TGLViewer::AddCompositeOp ( UInt_t   )  [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 214 of file TGLViewer.h.

void TGLViewer::PrintObjects (  )  [virtual]

Reimplemented from TVirtualViewer3D.

Definition at line 1992 of file TGLViewer.cxx.

References TGLOutput::Capture().

virtual void TGLViewer::ResetCameras (  )  [inline, virtual]

Reimplemented from TVirtualViewer3D.

Definition at line 217 of file TGLViewer.h.

References kTRUE, and SetupCameras().

virtual void TGLViewer::ResetCamerasAfterNextUpdate (  )  [inline, virtual]

Reimplemented from TVirtualViewer3D.

Definition at line 218 of file TGLViewer.h.

References fResetCamerasOnNextUpdate, and kTRUE.

TGLWidget* TGLViewer::GetGLWidget (  )  [inline]

Definition at line 220 of file TGLViewer.h.

References fGLWidget.

Referenced by TGLEventHandler::GrabMouse(), MakeCaloLego(), TEveViewer::PreUndock(), and TStructViewerGUI::TStructViewerGUI().

virtual void TGLViewer::CreateGLWidget (  )  [inline, virtual]

Definition at line 222 of file TGLViewer.h.

Referenced by TEveViewer::PostDock().

virtual void TGLViewer::DestroyGLWidget (  )  [inline, virtual]

Definition at line 223 of file TGLViewer.h.

Referenced by TEveViewer::PreUndock().

Int_t TGLViewer::GetDev (  )  const [inline]

Definition at line 225 of file TGLViewer.h.

References fGLDevice.

Referenced by TGLViewerEditor::SetModel(), and TGLViewerEditor::ViewerRedraw().

Bool_t TGLViewer::GetSmartRefresh (  )  const [inline]

Definition at line 226 of file TGLViewer.h.

References fSmartRefresh.

Referenced by TGLScenePad::PadPaintFromViewer().

void TGLViewer::SetSmartRefresh ( Bool_t  smart_ref  )  [inline]

Definition at line 227 of file TGLViewer.h.

References fSmartRefresh.

Referenced by TEveViewer::SetGLViewer().

TGLColorSet& TGLViewer::RefDarkColorSet (  )  [inline]

Definition at line 229 of file TGLViewer.h.

References fDarkColorSet.

TGLColorSet& TGLViewer::RefLightColorSet (  )  [inline]

Definition at line 230 of file TGLViewer.h.

References fLightColorSet.

TGLColorSet& TGLViewer::ColorSet (  )  [inline]

Definition at line 231 of file TGLViewer.h.

References TGLViewerBase::fRnrCtx, and TGLRnrCtx::GetBaseColorSet().

void TGLViewer::UseDarkColorSet (  ) 

Definition at line 1427 of file TGLViewer.cxx.

References TGLRnrCtx::ChangeBaseColorSet(), fDarkColorSet, TGLViewerBase::fRnrCtx, and RefreshPadEditor().

Referenced by SwitchColorSet().

void TGLViewer::UseLightColorSet (  ) 

Definition at line 1436 of file TGLViewer.cxx.

References TGLRnrCtx::ChangeBaseColorSet(), fLightColorSet, TGLViewerBase::fRnrCtx, and RefreshPadEditor().

Referenced by SwitchColorSet().

void TGLViewer::SwitchColorSet (  ) 

Definition at line 1445 of file TGLViewer.cxx.

References fLightColorSet, TGLViewerBase::fRnrCtx, TGLRnrCtx::GetBaseColorSet(), TObject::Info(), IsUsingDefaultColorSet(), UseDarkColorSet(), and UseLightColorSet().

Referenced by TGLEventHandler::HandleKey().

void TGLViewer::UseDefaultColorSet ( Bool_t  x  ) 

Definition at line 1462 of file TGLViewer.cxx.

References TGLRnrCtx::ChangeBaseColorSet(), fDarkColorSet, fgDefaultColorSet, TGLViewerBase::fRnrCtx, and RefreshPadEditor().

Bool_t TGLViewer::IsUsingDefaultColorSet (  )  const

Definition at line 1474 of file TGLViewer.cxx.

References fgDefaultColorSet, TGLViewerBase::fRnrCtx, and TGLRnrCtx::GetBaseColorSet().

Referenced by TGLViewerEditor::SetModel(), and SwitchColorSet().

Bool_t TGLViewer::IsColorSetDark (  )  const

Definition at line 1521 of file TGLViewer.cxx.

References fDarkColorSet, TGLViewerBase::fRnrCtx, and TGLRnrCtx::GetBaseColorSet().

void TGLViewer::SetClearColor ( Color_t  col  ) 

Definition at line 1483 of file TGLViewer.cxx.

References TGLColorSet::Background(), TGLViewerBase::fRnrCtx, TGLRnrCtx::GetBaseColorSet(), and TGLColor::SetColor().

TGLColorSet & TGLViewer::GetDefaultColorSet (  )  [static]

Definition at line 1492 of file TGLViewer.cxx.

References fgDefaultColorSet.

Referenced by G__G__GL_165_0_48(), and G__setup_memfuncTGLViewer().

void TGLViewer::UseDefaultColorSetForNewViewers ( Bool_t  x  )  [static]

Definition at line 1501 of file TGLViewer.cxx.

References fgUseDefaultColorSetForNewViewers.

Referenced by G__G__GL_165_0_49(), and G__setup_memfuncTGLViewer().

Bool_t TGLViewer::IsUsingDefaultColorSetForNewViewers (  )  [static]

Definition at line 1511 of file TGLViewer.cxx.

References fgUseDefaultColorSetForNewViewers.

Referenced by G__G__GL_165_0_50(), and G__setup_memfuncTGLViewer().

const TGLRect& TGLViewer::RefViewport (  )  const [inline]

Definition at line 246 of file TGLViewer.h.

References fViewport.

Int_t TGLViewer::ViewportDiagonal (  )  const [inline]

Definition at line 247 of file TGLViewer.h.

References TGLRect::Diagonal(), and fViewport.

Float_t TGLViewer::GetPointScale (  )  const [inline]

Definition at line 249 of file TGLViewer.h.

References fPointScale.

Referenced by TGLViewerEditor::SetModel().

Float_t TGLViewer::GetLineScale (  )  const [inline]

Definition at line 250 of file TGLViewer.h.

References fLineScale.

Referenced by TGLViewerEditor::SetModel().

void TGLViewer::SetPointScale ( Float_t  s  )  [inline]

Definition at line 251 of file TGLViewer.h.

References fPointScale.

Referenced by TGLViewerEditor::UpdatePointLineStuff().

void TGLViewer::SetLineScale ( Float_t  s  )  [inline]

Definition at line 252 of file TGLViewer.h.

References fLineScale.

Referenced by TGLViewerEditor::UpdatePointLineStuff().

Bool_t TGLViewer::GetSmoothPoints (  )  const [inline]

Definition at line 253 of file TGLViewer.h.

References fSmoothPoints.

Referenced by TGLViewerEditor::SetModel().

Bool_t TGLViewer::GetSmoothLines (  )  const [inline]

Definition at line 254 of file TGLViewer.h.

References fSmoothLines.

Referenced by TGLViewerEditor::SetModel().

void TGLViewer::SetSmoothPoints ( Bool_t  s  )  [inline]

Definition at line 255 of file TGLViewer.h.

References fSmoothPoints.

Referenced by TGLViewerEditor::UpdatePointLineStuff().

void TGLViewer::SetSmoothLines ( Bool_t  s  )  [inline]

Definition at line 256 of file TGLViewer.h.

References fSmoothLines.

Referenced by TGLViewerEditor::UpdatePointLineStuff().

TGLLightSet* TGLViewer::GetLightSet (  )  const [inline]

Definition at line 258 of file TGLViewer.h.

References fLightSet.

Referenced by TGLViewerEditor::SetModel().

TGLClipSet* TGLViewer::GetClipSet (  )  const [inline]

Definition at line 259 of file TGLViewer.h.

References fClipSet.

Referenced by TGLViewerEditor::SetModel().

Bool_t TGLViewer::GetClipAutoUpdate (  )  const [inline]

Definition at line 260 of file TGLViewer.h.

References fClipSet, and TGLClipSet::GetAutoUpdate().

Referenced by SetupClipObject().

void TGLViewer::SetClipAutoUpdate ( Bool_t  x  )  [inline]

Definition at line 261 of file TGLViewer.h.

References fClipSet, and TGLClipSet::SetAutoUpdate().

TGLCamera& TGLViewer::CurrentCamera (  )  const [inline]

Definition at line 264 of file TGLViewer.h.

References fCurrentCamera.

Referenced by TGLViewerEditor::DoCameraCenterExt(), TGLViewerEditor::DoCameraOverlay(), DoDraw(), DrawDebugInfo(), TGLEventHandler::ExecuteEvent(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), TGLEventHandler::HandleMotion(), RootShower::ProcessMessage(), projection_prescale(), ResetCurrentCamera(), TGLEventHandler::Rotate(), TEveLegoEventHandler::Rotate(), TGLViewerEditor::SetGuides(), TGLViewerEditor::SetModel(), TGLAutoRotator::Start(), track(), and TGLViewerEditor::UpdateCameraCenter().

TGLCamera & TGLViewer::RefCamera ( ECameraType  camera  ) 

Definition at line 1564 of file TGLViewer.cxx.

References TObject::Error(), fCurrentCamera, fOrthoXnOYCamera, fOrthoXnOZCamera, fOrthoXOYCamera, fOrthoXOZCamera, fOrthoZnOYCamera, fOrthoZOYCamera, fPerspectiveCameraXOY, fPerspectiveCameraXOZ, fPerspectiveCameraYOZ, kCameraOrthoXnOY, kCameraOrthoXnOZ, kCameraOrthoXOY, kCameraOrthoXOZ, kCameraOrthoZnOY, kCameraOrthoZOY, kCameraPerspXOY, kCameraPerspXOZ, and kCameraPerspYOZ.

void TGLViewer::SetCurrentCamera ( ECameraType  camera  ) 

Definition at line 1595 of file TGLViewer.cxx.

References TGLLockable::CurrentLock(), TObject::Error(), fAutoRotator, fCurrentCamera, fOrthoXnOYCamera, fOrthoXnOZCamera, fOrthoXOYCamera, fOrthoXOZCamera, fOrthoZnOYCamera, fOrthoZOYCamera, fPerspectiveCameraXOY, fPerspectiveCameraXOZ, fPerspectiveCameraYOZ, fViewport, TGLAutoRotator::GetCamera(), TGLLockable::IsLocked(), TGLAutoRotator::IsRunning(), kCameraOrthoXnOY, kCameraOrthoXnOZ, kCameraOrthoXOY, kCameraOrthoXOZ, kCameraOrthoZnOY, kCameraOrthoZOY, kCameraPerspXOY, kCameraPerspXOZ, kCameraPerspYOZ, TGLRnrCtx::kLODHigh, TGLLockable::LockName(), RefreshPadEditor(), RequestDraw(), TGLCamera::SetViewport(), TGLAutoRotator::Start(), and TGLAutoRotator::Stop().

Referenced by calo_detail(), glplot(), SplitGLView::HandleMenu(), MakeCaloLego(), MultiView::MultiView(), TGLSAViewer::ProcessFrameMessage(), RootShower::ProcessMessage(), projection_prescale(), TEveLegoEventHandler::Rotate(), SplitGLView::SplitGLView(), and TStructViewerGUI::TStructViewerGUI().

void TGLViewer::SetOrthoCamera ( ECameraType  camera,
Double_t  zoom,
Double_t  dolly,
Double_t  center[3],
Double_t  hRotate,
Double_t  vRotate 
)

Definition at line 1679 of file TGLViewer.cxx.

References TGLOrthoCamera::Configure(), TObject::Error(), fCurrentCamera, fOrthoXOYCamera, fOrthoXOZCamera, fOrthoZOYCamera, kCameraOrthoXOY, kCameraOrthoXOZ, kCameraOrthoZOY, TGLRnrCtx::kLODHigh, and RequestDraw().

void TGLViewer::SetPerspectiveCamera ( ECameraType  camera,
Double_t  fov,
Double_t  dolly,
Double_t  center[3],
Double_t  hRotate,
Double_t  vRotate 
)

Definition at line 1728 of file TGLViewer.cxx.

References TGLPerspectiveCamera::Configure(), TObject::Error(), fCurrentCamera, fPerspectiveCameraXOY, fPerspectiveCameraXOZ, fPerspectiveCameraYOZ, kCameraPerspXOY, kCameraPerspXOZ, kCameraPerspYOZ, TGLRnrCtx::kLODHigh, and RequestDraw().

void TGLViewer::GetGuideState ( Int_t axesType,
Bool_t axesDepthTest,
Bool_t referenceOn,
Double_t referencePos 
) const

Referenced by TGLViewerEditor::SetGuides().

void TGLViewer::SetGuideState ( Int_t  axesType,
Bool_t  axesDepthTest,
Bool_t  referenceOn,
const Double_t referencePos 
)

Referenced by track(), TGLViewerEditor::UpdateViewerAxes(), and TGLViewerEditor::UpdateViewerReference().

void TGLViewer::SetDrawCameraCenter ( Bool_t  x  ) 

Definition at line 1829 of file TGLViewer.cxx.

References fDrawCameraCenter, and RequestDraw().

Referenced by TGLViewerEditor::DoDrawCameraCenter().

Bool_t TGLViewer::GetDrawCameraCenter (  )  [inline]

Definition at line 274 of file TGLViewer.h.

References fDrawCameraCenter.

Referenced by TGLViewerEditor::SetModel().

void TGLViewer::PickCameraCenter (  )  [inline]

Definition at line 275 of file TGLViewer.h.

References fPushAction, kPushCamCenter, and RefreshPadEditor().

Referenced by TGLViewerEditor::DoCaptureCenter().

void TGLViewer::PickAnnotate (  )  [inline]

Definition at line 276 of file TGLViewer.h.

References fPushAction, kPushAnnotate, and RefreshPadEditor().

Referenced by TGLViewerEditor::DoAnnotation().

TGLCameraOverlay* TGLViewer::GetCameraOverlay (  )  const [inline]

Definition at line 277 of file TGLViewer.h.

References fCameraOverlay.

Referenced by TGLViewerEditor::DoCameraOverlay(), and TGLViewerEditor::SetGuides().

void TGLViewer::SetCameraOverlay ( TGLCameraOverlay m  )  [inline]

Definition at line 278 of file TGLViewer.h.

References fCameraOverlay, and m.

TGLAutoRotator * TGLViewer::GetAutoRotator (  ) 

Definition at line 1776 of file TGLViewer.cxx.

References fAutoRotator.

Referenced by TGLViewerEditor::DoRotatorStart(), TGLViewerEditor::DoRotatorStop(), TGLViewerEditor::SetModel(), and TGLViewerEditor::UpdateRotator().

void TGLViewer::SetAutoRotator ( TGLAutoRotator ar  ) 

Definition at line 1786 of file TGLViewer.cxx.

References fAutoRotator.

Bool_t TGLViewer::GetStereo (  )  const [inline]

Definition at line 283 of file TGLViewer.h.

References fStereo.

Referenced by TGLViewerEditor::SetModel().

Float_t TGLViewer::GetStereoZeroParallax (  )  const [inline]

Definition at line 284 of file TGLViewer.h.

References fStereoZeroParallax.

Referenced by TGLViewerEditor::SetModel().

Float_t TGLViewer::GetStereoEyeOffsetFac (  )  const [inline]

Definition at line 285 of file TGLViewer.h.

References fStereoEyeOffsetFac.

Referenced by TGLViewerEditor::SetModel().

Float_t TGLViewer::GetStereoFrustumAsymFac (  )  const [inline]

Definition at line 286 of file TGLViewer.h.

References fStereoFrustumAsymFac.

Referenced by TGLViewerEditor::SetModel().

void TGLViewer::SetStereo ( Bool_t  s  )  [inline]

Definition at line 288 of file TGLViewer.h.

References fStereo.

void TGLViewer::SetStereoZeroParallax ( Float_t  f  )  [inline]

Definition at line 289 of file TGLViewer.h.

References fStereoZeroParallax.

Referenced by TGLViewerEditor::UpdateStereo().

void TGLViewer::SetStereoEyeOffsetFac ( Float_t  f  )  [inline]

Definition at line 290 of file TGLViewer.h.

References fStereoEyeOffsetFac.

Referenced by TGLViewerEditor::UpdateStereo().

void TGLViewer::SetStereoFrustumAsymFac ( Float_t  f  )  [inline]

Definition at line 291 of file TGLViewer.h.

References fStereoFrustumAsymFac.

Referenced by TGLViewerEditor::UpdateStereo().

EPushAction TGLViewer::GetPushAction (  )  const [inline]

Definition at line 294 of file TGLViewer.h.

References fPushAction.

Referenced by TGLEventHandler::HandleButton(), and TGLViewerEditor::SetModel().

EDragAction TGLViewer::GetDragAction (  )  const [inline]

Definition at line 295 of file TGLViewer.h.

References fDragAction.

const TGLPhysicalShape * TGLViewer::GetSelected (  )  const

Definition at line 1839 of file TGLViewer.cxx.

References fSelectedPShapeRef, and TGLPShapeRef::GetPShape().

Referenced by TGLEventHandler::HandleDoubleClick(), TGLSAViewer::SelectionChanged(), and SelectionChanged().

Float_t TGLViewer::GetMaxSceneDrawTimeHQ (  )  const [inline]

Definition at line 303 of file TGLViewer.h.

References fMaxSceneDrawTimeHQ.

Referenced by TGLViewerEditor::SetModel().

Float_t TGLViewer::GetMaxSceneDrawTimeLQ (  )  const [inline]

Definition at line 304 of file TGLViewer.h.

References fMaxSceneDrawTimeLQ.

Referenced by TGLViewerEditor::SetModel().

void TGLViewer::SetMaxSceneDrawTimeHQ ( Float_t  t  )  [inline]

Definition at line 305 of file TGLViewer.h.

References fMaxSceneDrawTimeHQ.

Referenced by TGLViewerEditor::UpdateMaxDrawTimes().

void TGLViewer::SetMaxSceneDrawTimeLQ ( Float_t  t  )  [inline]

Definition at line 306 of file TGLViewer.h.

References fMaxSceneDrawTimeLQ.

Referenced by TGLViewerEditor::UpdateMaxDrawTimes().

void TGLViewer::RequestDraw ( Short_t  LOD = TGLRnrCtx::kLODMed  ) 

Definition at line 429 of file TGLViewer.cxx.

References DoDraw(), fGLDevice, fGLWidget, TGLViewerBase::fLOD, Form(), fRedrawTimer, gDebug, gROOT, gVirtualX, TObject::Info(), TGWindow::IsMapped(), TGLLockable::kDrawLock, TROOT::ProcessLineFast(), TGLRedrawTimer::RequestDraw(), TGLRedrawTimer::Stop(), and TGLLockable::TakeLock().

Referenced by ApplySelection(), ClearCurrentOvlElm(), TGLPShapeObjEditor::DoColorButton(), TGLPShapeObjEditor::DoGeoButton(), TGLEventHandler::ExecuteEvent(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), TGLEventHandler::HandleMotion(), TGLFaderHelper::MakeFadeStep(), MyTimer::Notify(), TGLRedrawTimer::Notify(), PadPaint(), TEveViewer::Redraw(), SetCurrentCamera(), SetDrawCameraCenter(), SetOrthoCamera(), SetPerspectiveCamera(), TGLSAViewer::Show(), text(), TGLAutoRotator::Timeout(), track(), UpdateScene(), TGLAnnotation::UpdateText(), and TGLViewerEditor::ViewerRedraw().

void TGLViewer::PreRender (  )  [virtual]

Reimplemented from TGLViewerBase.

Definition at line 474 of file TGLViewer.cxx.

References TGLContextIdentity::DeleteGLResources(), TGLViewerBase::fCamera, TGLViewerBase::fClip, fClipSet, fCurrentCamera, fDebugMode, fGLCtxId, fGLDevice, fLightSet, fLineScale, TGLViewerBase::fOverallBoundingBox, fPointScale, TGLViewerBase::fRnrCtx, fSmoothLines, fSmoothPoints, TGLClipSet::GetCurrentClip(), TGLRnrCtx::GetRenderScale(), GL_BLEND, GL_LINE_SMOOTH, GL_ONE_MINUS_SRC_ALPHA, GL_POINT_SMOOTH, GL_SRC_ALPHA, glBlendFunc(), glDisable(), glEnable(), TGLViewerBase::PreRender(), TGLRnrCtx::SetGLCtxIdentity(), TGLUtil::SetLineWidthScale(), TGLUtil::SetPointSizeScale(), and TGLLightSet::StdSetupLights().

Referenced by DoDrawMono(), DoDrawStereo(), DoSecondarySelect(), and DoSelect().

void TGLViewer::PostRender (  )  [virtual]

Reimplemented from TGLViewerBase.

Definition at line 509 of file TGLViewer.cxx.

References TGLViewerBase::PostRender(), TGLUtil::SetLineWidthScale(), and TGLUtil::SetPointSizeScale().

Referenced by DoDrawMono(), DoDrawStereo(), DoSecondarySelect(), and DoSelect().

void TGLViewer::DoDraw ( Bool_t  swap_buffers = kTRUE  ) 

Definition at line 521 of file TGLViewer.cxx.

References CurrentCamera(), TGLLockable::CurrentLock(), DoDrawMono(), DoDrawStereo(), TObject::Error(), fCurrentCamera, fGLDevice, fIsPrinting, TGLViewerBase::fLOD, fMaxSceneDrawTimeHQ, fMaxSceneDrawTimeLQ, fRedrawTimer, TGLViewerBase::fRnrCtx, fStereo, fViewport, gDebug, TGLRnrCtx::GetGrabImage(), gGLManager, TGLRect::Height(), TObject::Info(), TGLCamera::IsPerspective(), kDragCameraDolly, TGLLockable::kDrawLock, kFALSE, TGLRnrCtx::kLODHigh, TGLLockable::LockName(), TGLLockable::ReleaseLock(), TGLRedrawTimer::RequestDraw(), TGLViewerBase::ResetSceneInfos(), TGLRnrCtx::SetRenderTimeOut(), SetViewport(), TStopwatch::Start(), TGLRedrawTimer::Stop(), TGLLockable::TakeLock(), timer, and TGLRect::Width().

Referenced by TGLOutput::Capture(), TGLOutput::CapturePostscript(), RequestDraw(), SavePictureUsingBB(), and SavePictureUsingFBO().

void TGLViewer::DoDrawMono ( Bool_t  swap_buffers  ) 

Definition at line 597 of file TGLViewer.cxx.

References DrawDebugInfo(), DrawGuides(), FadeView(), fFader, fIsPrinting, TGLViewerBase::fRnrCtx, GL_DEPTH_BUFFER_BIT, glClear(), TGLOverlayElement::kAllVisible, kFALSE, kTRUE, MakeCurrent(), PostDraw(), PostRender(), PreDraw(), PreRender(), TGLViewerBase::RenderNonSelected(), TGLViewerBase::RenderOverlay(), TGLViewerBase::RenderSelected(), TGLRnrCtx::SetHighlight(), TGLRnrCtx::StartStopwatch(), TGLRnrCtx::StopStopwatch(), and SwapBuffers().

Referenced by DoDraw().

void TGLViewer::DoDrawStereo ( Bool_t  swap_buffers  ) 

Definition at line 639 of file TGLViewer.cxx.

References TGLRect::Aspect(), c, TMath::DegToRad(), DrawDebugInfo(), DrawGuides(), FadeView(), fCurrentCamera, fFader, TGLViewerBase::fRnrCtx, fStereoEyeOffsetFac, fStereoFrustumAsymFac, fStereoZeroParallax, fViewport, GL_BACK, GL_BACK_LEFT, GL_BACK_RIGHT, GL_DEPTH_BUFFER_BIT, GL_MODELVIEW, GL_PROJECTION, glClear(), glDrawBuffer(), glFrustum(), glLoadIdentity(), glMatrixMode(), glTranslatef(), TGLOverlayElement::kAllVisible, kFALSE, kTRUE, MakeCurrent(), PostDraw(), PostRender(), PreDraw(), PreRender(), TGLViewerBase::RenderNonSelected(), TGLViewerBase::RenderOverlay(), TGLViewerBase::RenderSelected(), TGLRnrCtx::SetHighlight(), TGLRnrCtx::StartStopwatch(), TGLRnrCtx::StopStopwatch(), SwapBuffers(), and TMath::Tan().

Referenced by DoDraw().

void TGLViewer::DrawGuides (  ) 

Definition at line 984 of file TGLViewer.cxx.

References TGLUtil::DrawReferenceMarker(), TGLUtil::DrawSimpleAxes(), TGLUtil::DrawSphere(), fAxesDepthTest, fAxesType, TGLViewerBase::fCamera, fDrawCameraCenter, TGLViewerBase::fOverallBoundingBox, fReferenceOn, fReferencePos, TGLCamera::GetCenterVec(), GL_DEPTH_TEST, glDisable(), glEnable(), kFALSE, kTRUE, TGLVector3::Mag(), and TGLCamera::ViewportDeltaToWorld().

Referenced by DoDrawMono(), and DoDrawStereo().

void TGLViewer::DrawDebugInfo (  ) 

Definition at line 1019 of file TGLViewer.cxx.

References TGLBoundingBox::Center(), CurrentCamera(), TGLBoundingBox::Draw(), TGLCamera::DrawDebugAids(), TGLUtil::DrawSphere(), TGLBoundingBox::Extents(), fDebugMode, TGLUtil::fgGreen, TGLUtil::fgWhite, TGLViewerBase::fOverallBoundingBox, GL_DEPTH_TEST, GL_LIGHTING, glColor3d(), glDisable(), glEnable(), TGLVector3::Mag(), and size.

Referenced by DoDrawMono(), and DoDrawStereo().

Bool_t TGLViewer::RequestSelect ( Int_t  x,
Int_t  y 
)

Definition at line 1131 of file TGLViewer.cxx.

References DoSelect(), Form(), gROOT, gVirtualX, kFALSE, TGLLockable::kSelectLock, TROOT::ProcessLineFast(), and TGLLockable::TakeLock().

Referenced by TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), TGLEventHandler::SelectForClicked(), and TGLEventHandler::SelectForMouseOver().

Bool_t TGLViewer::DoSelect ( Int_t  x,
Int_t  y 
)

Definition at line 1150 of file TGLViewer.cxx.

References TGLSelectRecord::AreSameSelectionWise(), TGLRnrCtx::BeginSelection(), TGLLockable::CurrentLock(), TGLRnrCtx::EndSelection(), TObject::Error(), fCurrentSelRec, TGLViewerBase::FindClosestOpaqueRecord(), TGLViewerBase::FindClosestRecord(), TGLViewerBase::fRnrCtx, fSelRec, gDebug, TGLSelectRecord::GetTransparent(), GL_RENDER, GL_SELECT, glRenderMode(), TObject::Info(), kFALSE, TGLLockable::kSelectLock, TGLLockable::LockName(), MakeCurrent(), PostRender(), PreRender(), TGLSelectRecord::Print(), TGLLockable::ReleaseLock(), TGLViewerBase::Render(), and TGLSelectRecord::Reset().

Referenced by RequestSelect().

Bool_t TGLViewer::RequestSecondarySelect ( Int_t  x,
Int_t  y 
)

Definition at line 1202 of file TGLViewer.cxx.

References DoSecondarySelect(), Form(), gROOT, gVirtualX, kFALSE, TGLLockable::kSelectLock, TROOT::ProcessLineFast(), and TGLLockable::TakeLock().

Referenced by TGLEventHandler::SelectForClicked(), and TGLEventHandler::SelectForMouseOver().

Bool_t TGLViewer::DoSecondarySelect ( Int_t  x,
Int_t  y 
)

Definition at line 1217 of file TGLViewer.cxx.

References TGLRnrCtx::BeginSelection(), TGLLockable::CurrentLock(), TGLPhysicalShape::Draw(), TGLRnrCtx::EndSelection(), TObject::Error(), TGLViewerBase::fRnrCtx, TGLViewerBase::fScenes, fSecSelRec, fSelRec, gDebug, TGLPhysicalShape::GetLogical(), TGLSelectRecord::GetPhysShape(), TGLSceneInfo::GetScene(), TGLSelectRecord::GetSceneInfo(), TGLRnrCtx::GetSelectBuffer(), GL_RENDER, GL_SELECT, glPopName(), glPushName(), glRenderMode(), TGLPhysicalShape::ID(), TObject::Info(), kFALSE, TGLRnrCtx::kLODHigh, TGLRnrCtx::kPassFill, TGLLockable::kSelectLock, kTRUE, TGLLockable::LockName(), MakeCurrent(), PostRender(), TGLSceneBase::PostRender(), PreRender(), TGLSceneBase::PreRender(), TGLSelectRecord::Print(), TGLSelectBuffer::RawRecord(), TGLLockable::ReleaseLock(), TGLSelectRecord::Reset(), TGLRnrCtx::SetDrawPass(), TGLSelectRecordBase::SetRawOnly(), TGLRnrCtx::SetSceneInfo(), TGLRnrCtx::SetSecSelection(), TGLRnrCtx::SetShapeLOD(), and TGLLogicalShape::SupportsSecondarySelect().

Referenced by RequestSecondarySelect().

void TGLViewer::ApplySelection (  ) 

Definition at line 1286 of file TGLViewer.cxx.

References fCurrentSelRec, fSelectedPShapeRef, fSelRec, TGLSelectRecord::GetPhysShape(), TGLRnrCtx::kLODHigh, RequestDraw(), SelectionChanged(), and TGLManipSet::SetPShape().

Referenced by TGLEventHandler::HandleButton().

Bool_t TGLViewer::RequestOverlaySelect ( Int_t  x,
Int_t  y 
)

Definition at line 1304 of file TGLViewer.cxx.

References DoOverlaySelect(), Form(), gROOT, gVirtualX, kFALSE, TGLLockable::kSelectLock, TROOT::ProcessLineFast(), and TGLLockable::TakeLock().

Referenced by TGLEventHandler::HandleButton(), and TGLEventHandler::HandleMotion().

Bool_t TGLViewer::DoOverlaySelect ( Int_t  x,
Int_t  y 
)

Definition at line 1323 of file TGLViewer.cxx.

References TGLRnrCtx::BeginSelection(), TGLLockable::CurrentLock(), TGLRnrCtx::EndSelection(), TObject::Error(), fCurrentOvlElm, TGLViewerBase::FindClosestOverlayRecord(), fOvlSelRec, TGLViewerBase::fRnrCtx, TGLOvlSelectRecord::GetOvlElement(), GL_RENDER, GL_SELECT, glRenderMode(), TGLOverlayElement::kActive, kFALSE, TGLLockable::kSelectLock, kTRUE, TGLLockable::LockName(), MakeCurrent(), TGLOverlayElement::MouseEnter(), TGLOverlayElement::MouseStillInside(), TGLViewerBase::PostRenderOverlaySelection(), TGLViewerBase::PreRenderOverlaySelection(), TGLLockable::ReleaseLock(), TGLViewerBase::RenderOverlay(), and TGLOvlSelectRecord::Reset().

Referenced by RequestOverlaySelect().

Bool_t TGLViewer::SavePicture (  ) 

Definition at line 755 of file TGLViewer.cxx.

References fPictureFileName.

Referenced by TGLSAViewer::ProcessFrameMessage().

Bool_t TGLViewer::SavePicture ( const TString fileName  ) 

Definition at line 765 of file TGLViewer.cxx.

References TGLOutput::Capture(), TString::Data(), TString::EndsWith(), fViewport, GLEW_EXT_framebuffer_object, TGLRect::Height(), TGLOutput::kEPS_BSP, kFALSE, TGLOutput::kPDF_BSP, SavePictureUsingBB(), SavePictureUsingFBO(), and TGLRect::Width().

Bool_t TGLViewer::SavePictureUsingBB ( const TString fileName  ) 

Definition at line 796 of file TGLViewer.cxx.

References TString::Contains(), TImage::Create(), TString::Data(), DoDraw(), TString::EndsWith(), TObject::Error(), TGLViewerBase::fLOD, Form(), TGLViewerBase::fRnrCtx, fViewport, GL_BACK, GL_BGRA, GL_PACK_ALIGNMENT, GL_UNSIGNED_BYTE, glPixelStorei(), glReadBuffer(), glReadPixels(), gROOT, gVirtualX, TGLRect::Height(), image, TGLLockable::kDrawLock, kFALSE, TGLRnrCtx::kLODHigh, kTRUE, TROOT::ProcessLineFast(), TGLRnrCtx::SetGrabImage(), TGLLockable::TakeLock(), TObject::Warning(), and TGLRect::Width().

Referenced by SavePicture().

Bool_t TGLViewer::SavePictureUsingFBO ( const TString fileName,
Int_t  w,
Int_t  h,
Float_t  pixel_object_scale = 0 
)

Definition at line 848 of file TGLViewer.cxx.

References TGLFBO::Bind(), TString::Contains(), TImage::Create(), TString::Data(), DoDraw(), TString::EndsWith(), TObject::Error(), fGLWidget, TGLViewerBase::fLOD, Form(), TGLViewerBase::fRnrCtx, fViewport, TGLWidget::GetPixelFormat(), TGLRnrCtx::GetRenderScale(), TGLFormat::GetSamples(), GL_BGRA, GL_PACK_ALIGNMENT, GL_UNSIGNED_BYTE, glPixelStorei(), glReadPixels(), gROOT, gVirtualX, TGLRect::Height(), image, TGLFBO::Init(), TGLLockable::kDrawLock, kFALSE, TGLRnrCtx::kLODHigh, kTRUE, MakeCurrent(), TROOT::ProcessLineFast(), TGLFBO::SetAsReadBuffer(), TGLRnrCtx::SetGrabImage(), TGLRnrCtx::SetRenderScale(), SetViewport(), TGLLockable::TakeLock(), TGLFBO::Unbind(), TObject::Warning(), and TGLRect::Width().

Referenced by SavePicture(), SavePictureHeight(), SavePictureScale(), and SavePictureWidth().

Bool_t TGLViewer::SavePictureWidth ( const TString fileName,
Int_t  width,
Bool_t  pixel_object_scale = kTRUE 
)

Definition at line 942 of file TGLViewer.cxx.

References fViewport, height, TGLRect::Height(), TMath::Nint(), SavePictureUsingFBO(), and TGLRect::Width().

Bool_t TGLViewer::SavePictureHeight ( const TString fileName,
Int_t  height,
Bool_t  pixel_object_scale = kTRUE 
)

Definition at line 956 of file TGLViewer.cxx.

References fViewport, TGLRect::Height(), TMath::Nint(), SavePictureUsingFBO(), TGLRect::Width(), and width.

Bool_t TGLViewer::SavePictureScale ( const TString fileName,
Float_t  scale,
Bool_t  pixel_object_scale = kTRUE 
)

Definition at line 970 of file TGLViewer.cxx.

References fViewport, h, TGLRect::Height(), TMath::Nint(), SavePictureUsingFBO(), w, and TGLRect::Width().

const char* TGLViewer::GetPictureFileName (  )  const [inline]

Definition at line 337 of file TGLViewer.h.

References TString::Data(), and fPictureFileName.

void TGLViewer::SetPictureFileName ( const TString f  )  [inline]

Definition at line 338 of file TGLViewer.h.

References fPictureFileName.

Float_t TGLViewer::GetFader (  )  const [inline]

Definition at line 339 of file TGLViewer.h.

References fFader.

Referenced by TGLFaderHelper::MakeFadeStep().

void TGLViewer::SetFader ( Float_t  x  )  [inline]

Definition at line 340 of file TGLViewer.h.

References fFader.

Referenced by TGLFaderHelper::MakeFadeStep().

void TGLViewer::AutoFade ( Float_t  fade,
Float_t  time = 1,
Int_t  steps = 10 
)

Definition at line 1417 of file TGLViewer.cxx.

References TGLFaderHelper::MakeFadeStep().

void TGLViewer::UpdateScene ( Bool_t  redraw = kTRUE  ) 

Definition at line 327 of file TGLViewer.cxx.

References fRedrawTimer, fResetCamerasOnNextUpdate, fResetCamerasOnUpdate, TGLViewerBase::fScenes, kFALSE, PostSceneBuildSetup(), RequestDraw(), and TGLRedrawTimer::Stop().

Referenced by TGLViewerEditor::DoIgnoreSizesOnUpdate(), TGLViewerEditor::DoUpdateScene(), TGLEventHandler::HandleKey(), SplitGLView::HandleMenu(), TStructViewerGUI::ResetButtonSlot(), and TStructViewerGUI::Update().

Bool_t TGLViewer::GetIgnoreSizesOnUpdate (  )  const [inline]

Definition at line 345 of file TGLViewer.h.

References fIgnoreSizesOnUpdate.

Referenced by TGLViewerEditor::SetModel().

void TGLViewer::SetIgnoreSizesOnUpdate ( Bool_t  v  )  [inline]

Definition at line 346 of file TGLViewer.h.

References fIgnoreSizesOnUpdate.

Referenced by TGLViewerEditor::DoIgnoreSizesOnUpdate().

void TGLViewer::ResetCurrentCamera (  ) 

Definition at line 350 of file TGLViewer.cxx.

References CurrentCamera(), TGLViewerBase::fOverallBoundingBox, kTRUE, TGLViewerBase::MergeSceneBBoxes(), and TGLCamera::Setup().

Referenced by TGLViewerEditor::DoCameraHome(), TGLEventHandler::HandleKey(), TStructViewerGUI::ResetButtonSlot(), text(), and TStructViewerGUI::Update().

Bool_t TGLViewer::GetResetCamerasOnUpdate (  )  const [inline]

Definition at line 348 of file TGLViewer.h.

References fResetCamerasOnUpdate.

Referenced by TGLViewerEditor::SetModel().

void TGLViewer::SetResetCamerasOnUpdate ( Bool_t  v  )  [inline]

Definition at line 349 of file TGLViewer.h.

References fResetCamerasOnUpdate.

Referenced by TGLViewerEditor::DoResetCamerasOnUpdate(), and TStructViewerGUI::TStructViewerGUI().

void TGLViewer::PostSceneBuildSetup ( Bool_t  resetCameras  )  [virtual]

Definition at line 384 of file TGLViewer.cxx.

References TGLBoundingBox::Center(), TGLViewerBase::fOverallBoundingBox, fReferencePos, TGLViewerBase::MergeSceneBBoxes(), RefreshPadEditor(), TGLVertex3::Set(), and SetupCameras().

Referenced by PadPaint(), TEveViewer::Redraw(), and UpdateScene().

virtual void TGLViewer::Activated (  )  [inline, virtual]

Definition at line 353 of file TGLViewer.h.

References TQObject::Emit().

Referenced by TGLEventHandler::HandleCrossing(), and TGLEventHandler::HandleFocusChange().

void TGLViewer::MouseIdle ( TGLPhysicalShape ,
UInt_t  ,
UInt_t   
) [virtual]

Definition at line 1948 of file TGLViewer.cxx.

References TQObject::Emit().

Referenced by TGLEventHandler::HandleButton(), TGLEventHandler::HandleCrossing(), TGLEventHandler::HandleDoubleClick(), TGLEventHandler::HandleFocusChange(), TGLEventHandler::HandleKey(), and TGLEventHandler::HandleMotion().

void TGLViewer::MouseOver ( TGLPhysicalShape  )  [virtual]

Definition at line 1850 of file TGLViewer.cxx.

References TQObject::Emit().

Referenced by TGLEventHandler::ClearMouseOver(), and TGLEventHandler::SelectForMouseOver().

void TGLViewer::MouseOver ( TGLPhysicalShape ,
UInt_t  state 
) [virtual]

Definition at line 1858 of file TGLViewer.cxx.

References TQObject::Emit().

void TGLViewer::MouseOver ( TObject obj,
UInt_t  state 
) [virtual]

Definition at line 1869 of file TGLViewer.cxx.

References TQObject::Emit().

void TGLViewer::ReMouseOver ( TObject obj,
UInt_t  state 
) [virtual]

Definition at line 1880 of file TGLViewer.cxx.

References TQObject::Emit().

Referenced by TGLEventHandler::SelectForMouseOver().

void TGLViewer::UnMouseOver ( TObject obj,
UInt_t  state 
) [virtual]

Definition at line 1892 of file TGLViewer.cxx.

References TQObject::Emit().

Referenced by TGLEventHandler::SelectForMouseOver().

void TGLViewer::Clicked ( TObject obj  )  [virtual]

Definition at line 1903 of file TGLViewer.cxx.

References TQObject::Emit().

Referenced by TGLEventHandler::SelectForClicked().

void TGLViewer::Clicked ( TObject obj,
UInt_t  button,
UInt_t  state 
) [virtual]

Definition at line 1911 of file TGLViewer.cxx.

References TQObject::Emit().

void TGLViewer::ReClicked ( TObject obj,
UInt_t  button,
UInt_t  state 
) [virtual]

Definition at line 1924 of file TGLViewer.cxx.

References TQObject::Emit().

Referenced by TGLEventHandler::SelectForClicked().

void TGLViewer::UnClicked ( TObject obj,
UInt_t  button,
UInt_t  state 
) [virtual]

Definition at line 1936 of file TGLViewer.cxx.

References TQObject::Emit().

Referenced by TGLEventHandler::SelectForClicked().

virtual void TGLViewer::DoubleClicked (  )  [inline, virtual]

Definition at line 366 of file TGLViewer.h.

References TQObject::Emit().

Referenced by TGLEventHandler::HandleDoubleClick().

TGEventHandler* TGLViewer::GetEventHandler (  )  const [inline]

Definition at line 368 of file TGLViewer.h.

References fEventHandler.

Referenced by TEveViewerList::HandleTooltip().

void TGLViewer::SetEventHandler ( TGEventHandler handler  )  [virtual]

Definition at line 2042 of file TGLViewer.cxx.

References fEventHandler, fGLWidget, handler, and TGLWidget::SetEventHandler().

Referenced by MakeCaloLego(), and TEveViewer::~TEveViewer().

TGedEditor* TGLViewer::GetGedEditor (  )  const [inline]

Definition at line 371 of file TGLViewer.h.

References fGedEditor.

virtual void TGLViewer::SetGedEditor ( TGedEditor ed  )  [inline, virtual]

Definition at line 372 of file TGLViewer.h.

References fGedEditor.

void TGLViewer::SelectionChanged (  )  [virtual]

Definition at line 2000 of file TGLViewer.cxx.

References fGedEditor, fPad, TGLPShapeObj::fPShape, fPShapeWrap, GetSelected(), kButton1Down, and TGedEditor::SetModel().

Referenced by ApplySelection(), and TGLEventHandler::HandleDoubleClick().

void TGLViewer::OverlayDragFinished (  )  [virtual]

Definition at line 2019 of file TGLViewer.cxx.

References fGedEditor, fPad, TGedEditor::GetModel(), kButton1Down, and TGedEditor::SetModel().

Referenced by TGLEventHandler::HandleButton().

void TGLViewer::RefreshPadEditor ( TObject obj = 0  )  [virtual]

Definition at line 2031 of file TGLViewer.cxx.

References fGedEditor, fPad, TGedEditor::GetModel(), kButton1Down, and TGedEditor::SetModel().

Referenced by TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), PickAnnotate(), PickCameraCenter(), PostSceneBuildSetup(), SetCurrentCamera(), UseDarkColorSet(), UseDefaultColorSet(), and UseLightColorSet().

void TGLViewer::RemoveOverlayElement ( TGLOverlayElement el  )  [virtual]

Reimplemented from TGLViewerBase.

Definition at line 2059 of file TGLViewer.cxx.

References fCurrentOvlElm, and TGLViewerBase::RemoveOverlayElement().

Referenced by TGLAnnotation::~TGLAnnotation().

TGLSelectRecord& TGLViewer::GetSelRec (  )  [inline]

Definition at line 380 of file TGLViewer.h.

References fSelRec.

Referenced by TGLEventHandler::HandleButton().

TGLOvlSelectRecord& TGLViewer::GetOvlSelRec (  )  [inline]

Definition at line 381 of file TGLViewer.h.

References fOvlSelRec.

TGLOverlayElement* TGLViewer::GetCurrentOvlElm (  )  const [inline]

Definition at line 382 of file TGLViewer.h.

References fCurrentOvlElm.

void TGLViewer::ClearCurrentOvlElm (  ) 

Definition at line 2071 of file TGLViewer.cxx.

References fCurrentOvlElm, TGLOverlayElement::MouseLeave(), and RequestDraw().

Referenced by TGLEventHandler::ClearMouseOver().

TGLViewer& TGLViewer::operator= ( const TGLViewer  )  [private]

void TGLViewer::InitSecondaryObjects (  )  [private]

virtual void TGLViewer::SetupClipObject (  )  [protected, virtual]

name says it all

Reimplemented from TGLViewerBase.

void TGLViewer::InitGL (  )  [protected]

void TGLViewer::PreDraw (  )  [protected]

void TGLViewer::PostDraw (  )  [protected]

void TGLViewer::FadeView ( Float_t  alpha  )  [protected]

void TGLViewer::MakeCurrent (  )  const [protected]

void TGLViewer::SwapBuffers (  )  const [protected]

void TGLViewer::SetViewport ( Int_t  x,
Int_t  y,
Int_t  width,
Int_t  height 
) [protected]

void TGLViewer::SetViewport ( const TGLRect vp  )  [protected]

void TGLViewer::SetupCameras ( Bool_t  reset  )  [protected]

virtual Bool_t TGLViewer::CanLoopOnPrimitives (  )  const [inline, virtual]

Reimplemented from TVirtualViewer3D.

Definition at line 199 of file TGLViewer.h.

References kTRUE.

virtual void TGLViewer::PadPaint ( TVirtualPad pad  )  [virtual]

Reimplemented from TVirtualViewer3D.

virtual Int_t TGLViewer::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

virtual void TGLViewer::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

virtual Bool_t TGLViewer::PreferLocalFrame (  )  const [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 206 of file TGLViewer.h.

References kTRUE.

virtual void TGLViewer::BeginScene (  )  [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 207 of file TGLViewer.h.

virtual Bool_t TGLViewer::BuildingScene (  )  const [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 208 of file TGLViewer.h.

References kFALSE.

virtual void TGLViewer::EndScene (  )  [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 209 of file TGLViewer.h.

virtual Int_t TGLViewer::AddObject ( const TBuffer3D ,
Bool_t = 0 
) [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 210 of file TGLViewer.h.

References TBuffer3D::kNone.

virtual Int_t TGLViewer::AddObject ( UInt_t  ,
const TBuffer3D ,
Bool_t = 0 
) [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 211 of file TGLViewer.h.

References TBuffer3D::kNone.

virtual Bool_t TGLViewer::OpenComposite ( const TBuffer3D ,
Bool_t = 0 
) [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 212 of file TGLViewer.h.

References kFALSE.

virtual void TGLViewer::CloseComposite (  )  [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 213 of file TGLViewer.h.

virtual void TGLViewer::AddCompositeOp ( UInt_t   )  [inline, virtual]

Implements TVirtualViewer3D.

Definition at line 214 of file TGLViewer.h.

virtual void TGLViewer::PrintObjects (  )  [virtual]

Reimplemented from TVirtualViewer3D.

virtual void TGLViewer::ResetCameras (  )  [inline, virtual]

Reimplemented from TVirtualViewer3D.

Definition at line 217 of file TGLViewer.h.

References kTRUE, and SetupCameras().

virtual void TGLViewer::ResetCamerasAfterNextUpdate (  )  [inline, virtual]

Reimplemented from TVirtualViewer3D.

Definition at line 218 of file TGLViewer.h.

References fResetCamerasOnNextUpdate, and kTRUE.

TGLWidget* TGLViewer::GetGLWidget (  )  [inline]

Definition at line 220 of file TGLViewer.h.

References fGLWidget.

virtual void TGLViewer::CreateGLWidget (  )  [inline, virtual]

Definition at line 222 of file TGLViewer.h.

virtual void TGLViewer::DestroyGLWidget (  )  [inline, virtual]

Definition at line 223 of file TGLViewer.h.

Int_t TGLViewer::GetDev (  )  const [inline]

Definition at line 225 of file TGLViewer.h.

References fGLDevice.

Bool_t TGLViewer::GetSmartRefresh (  )  const [inline]

Definition at line 226 of file TGLViewer.h.

References fSmartRefresh.

void TGLViewer::SetSmartRefresh ( Bool_t  smart_ref  )  [inline]

Definition at line 227 of file TGLViewer.h.

References fSmartRefresh.

TGLColorSet& TGLViewer::RefDarkColorSet (  )  [inline]

Definition at line 229 of file TGLViewer.h.

References fDarkColorSet.

TGLColorSet& TGLViewer::RefLightColorSet (  )  [inline]

Definition at line 230 of file TGLViewer.h.

References fLightColorSet.

TGLColorSet& TGLViewer::ColorSet (  )  [inline]

Definition at line 231 of file TGLViewer.h.

References TGLViewerBase::fRnrCtx, and TGLRnrCtx::GetBaseColorSet().

void TGLViewer::UseDarkColorSet (  ) 

void TGLViewer::UseLightColorSet (  ) 

void TGLViewer::SwitchColorSet (  ) 

void TGLViewer::UseDefaultColorSet ( Bool_t  x  ) 

Bool_t TGLViewer::IsUsingDefaultColorSet (  )  const

Bool_t TGLViewer::IsColorSetDark (  )  const

void TGLViewer::SetClearColor ( Color_t  col  ) 

static TGLColorSet& TGLViewer::GetDefaultColorSet (  )  [static]

static void TGLViewer::UseDefaultColorSetForNewViewers ( Bool_t  x  )  [static]

static Bool_t TGLViewer::IsUsingDefaultColorSetForNewViewers (  )  [static]

const TGLRect& TGLViewer::RefViewport (  )  const [inline]

Definition at line 246 of file TGLViewer.h.

References fViewport.

Int_t TGLViewer::ViewportDiagonal (  )  const [inline]

Definition at line 247 of file TGLViewer.h.

References TGLRect::Diagonal(), and fViewport.

Float_t TGLViewer::GetPointScale (  )  const [inline]

Definition at line 249 of file TGLViewer.h.

References fPointScale.

Float_t TGLViewer::GetLineScale (  )  const [inline]

Definition at line 250 of file TGLViewer.h.

References fLineScale.

void TGLViewer::SetPointScale ( Float_t  s  )  [inline]

Definition at line 251 of file TGLViewer.h.

References fPointScale.

void TGLViewer::SetLineScale ( Float_t  s  )  [inline]

Definition at line 252 of file TGLViewer.h.

References fLineScale.

Bool_t TGLViewer::GetSmoothPoints (  )  const [inline]

Definition at line 253 of file TGLViewer.h.

References fSmoothPoints.

Bool_t TGLViewer::GetSmoothLines (  )  const [inline]

Definition at line 254 of file TGLViewer.h.

References fSmoothLines.

void TGLViewer::SetSmoothPoints ( Bool_t  s  )  [inline]

Definition at line 255 of file TGLViewer.h.

References fSmoothPoints.

void TGLViewer::SetSmoothLines ( Bool_t  s  )  [inline]

Definition at line 256 of file TGLViewer.h.

References fSmoothLines.

TGLLightSet* TGLViewer::GetLightSet (  )  const [inline]

Definition at line 258 of file TGLViewer.h.

References fLightSet.

TGLClipSet* TGLViewer::GetClipSet (  )  const [inline]

Definition at line 259 of file TGLViewer.h.

References fClipSet.

Bool_t TGLViewer::GetClipAutoUpdate (  )  const [inline]

Definition at line 260 of file TGLViewer.h.

References fClipSet, and TGLClipSet::GetAutoUpdate().

void TGLViewer::SetClipAutoUpdate ( Bool_t  x  )  [inline]

Definition at line 261 of file TGLViewer.h.

References fClipSet, and TGLClipSet::SetAutoUpdate().

TGLCamera& TGLViewer::CurrentCamera (  )  const [inline]

Definition at line 264 of file TGLViewer.h.

References fCurrentCamera.

TGLCamera& TGLViewer::RefCamera ( ECameraType  camera  ) 

void TGLViewer::SetCurrentCamera ( ECameraType  camera  ) 

void TGLViewer::SetOrthoCamera ( ECameraType  camera,
Double_t  zoom,
Double_t  dolly,
Double_t  center[3],
Double_t  hRotate,
Double_t  vRotate 
)

void TGLViewer::SetPerspectiveCamera ( ECameraType  camera,
Double_t  fov,
Double_t  dolly,
Double_t  center[3],
Double_t  hRotate,
Double_t  vRotate 
)

void TGLViewer::GetGuideState ( Int_t axesType,
Bool_t axesDepthTest,
Bool_t referenceOn,
Double_t referencePos 
) const

void TGLViewer::SetGuideState ( Int_t  axesType,
Bool_t  axesDepthTest,
Bool_t  referenceOn,
const Double_t referencePos 
)

void TGLViewer::SetDrawCameraCenter ( Bool_t  x  ) 

Bool_t TGLViewer::GetDrawCameraCenter (  )  [inline]

Definition at line 274 of file TGLViewer.h.

References fDrawCameraCenter.

void TGLViewer::PickCameraCenter (  )  [inline]

Definition at line 275 of file TGLViewer.h.

References fPushAction, kPushCamCenter, and RefreshPadEditor().

void TGLViewer::PickAnnotate (  )  [inline]

Definition at line 276 of file TGLViewer.h.

References fPushAction, kPushAnnotate, and RefreshPadEditor().

TGLCameraOverlay* TGLViewer::GetCameraOverlay (  )  const [inline]

Definition at line 277 of file TGLViewer.h.

References fCameraOverlay.

void TGLViewer::SetCameraOverlay ( TGLCameraOverlay m  )  [inline]

Definition at line 278 of file TGLViewer.h.

References fCameraOverlay, and m.

TGLAutoRotator* TGLViewer::GetAutoRotator (  ) 

void TGLViewer::SetAutoRotator ( TGLAutoRotator ar  ) 

Bool_t TGLViewer::GetStereo (  )  const [inline]

Definition at line 283 of file TGLViewer.h.

References fStereo.

Float_t TGLViewer::GetStereoZeroParallax (  )  const [inline]

Definition at line 284 of file TGLViewer.h.

References fStereoZeroParallax.

Float_t TGLViewer::GetStereoEyeOffsetFac (  )  const [inline]

Definition at line 285 of file TGLViewer.h.

References fStereoEyeOffsetFac.

Float_t TGLViewer::GetStereoFrustumAsymFac (  )  const [inline]

Definition at line 286 of file TGLViewer.h.

References fStereoFrustumAsymFac.

void TGLViewer::SetStereo ( Bool_t  s  )  [inline]

Definition at line 288 of file TGLViewer.h.

References fStereo.

void TGLViewer::SetStereoZeroParallax ( Float_t  f  )  [inline]

Definition at line 289 of file TGLViewer.h.

References fStereoZeroParallax.

void TGLViewer::SetStereoEyeOffsetFac ( Float_t  f  )  [inline]

Definition at line 290 of file TGLViewer.h.

References fStereoEyeOffsetFac.

void TGLViewer::SetStereoFrustumAsymFac ( Float_t  f  )  [inline]

Definition at line 291 of file TGLViewer.h.

References fStereoFrustumAsymFac.

EPushAction TGLViewer::GetPushAction (  )  const [inline]

Definition at line 294 of file TGLViewer.h.

References fPushAction.

EDragAction TGLViewer::GetDragAction (  )  const [inline]

Definition at line 295 of file TGLViewer.h.

References fDragAction.

const TGLPhysicalShape* TGLViewer::GetSelected (  )  const

Float_t TGLViewer::GetMaxSceneDrawTimeHQ (  )  const [inline]

Definition at line 303 of file TGLViewer.h.

References fMaxSceneDrawTimeHQ.

Float_t TGLViewer::GetMaxSceneDrawTimeLQ (  )  const [inline]

Definition at line 304 of file TGLViewer.h.

References fMaxSceneDrawTimeLQ.

void TGLViewer::SetMaxSceneDrawTimeHQ ( Float_t  t  )  [inline]

Definition at line 305 of file TGLViewer.h.

References fMaxSceneDrawTimeHQ.

void TGLViewer::SetMaxSceneDrawTimeLQ ( Float_t  t  )  [inline]

Definition at line 306 of file TGLViewer.h.

References fMaxSceneDrawTimeLQ.

void TGLViewer::RequestDraw ( Short_t  LOD = TGLRnrCtx::kLODMed  ) 

virtual void TGLViewer::PreRender (  )  [virtual]

Reimplemented from TGLViewerBase.

virtual void TGLViewer::PostRender (  )  [virtual]

Reimplemented from TGLViewerBase.

void TGLViewer::DoDraw ( Bool_t  swap_buffers = kTRUE  ) 

void TGLViewer::DoDrawMono ( Bool_t  swap_buffers  ) 

void TGLViewer::DoDrawStereo ( Bool_t  swap_buffers  ) 

void TGLViewer::DrawGuides (  ) 

void TGLViewer::DrawDebugInfo (  ) 

Bool_t TGLViewer::RequestSelect ( Int_t  x,
Int_t  y 
)

Bool_t TGLViewer::DoSelect ( Int_t  x,
Int_t  y 
)

Bool_t TGLViewer::RequestSecondarySelect ( Int_t  x,
Int_t  y 
)

Bool_t TGLViewer::DoSecondarySelect ( Int_t  x,
Int_t  y 
)

void TGLViewer::ApplySelection (  ) 

Bool_t TGLViewer::RequestOverlaySelect ( Int_t  x,
Int_t  y 
)

Bool_t TGLViewer::DoOverlaySelect ( Int_t  x,
Int_t  y 
)

Bool_t TGLViewer::SavePicture (  ) 

Bool_t TGLViewer::SavePicture ( const TString fileName  ) 

Bool_t TGLViewer::SavePictureUsingBB ( const TString fileName  ) 

Bool_t TGLViewer::SavePictureUsingFBO ( const TString fileName,
Int_t  w,
Int_t  h,
Float_t  pixel_object_scale = 0 
)

Bool_t TGLViewer::SavePictureWidth ( const TString fileName,
Int_t  width,
Bool_t  pixel_object_scale = kTRUE 
)

Bool_t TGLViewer::SavePictureHeight ( const TString fileName,
Int_t  height,
Bool_t  pixel_object_scale = kTRUE 
)

Bool_t TGLViewer::SavePictureScale ( const TString fileName,
Float_t  scale,
Bool_t  pixel_object_scale = kTRUE 
)

const char* TGLViewer::GetPictureFileName (  )  const [inline]

Definition at line 337 of file TGLViewer.h.

References TString::Data(), and fPictureFileName.

void TGLViewer::SetPictureFileName ( const TString f  )  [inline]

Definition at line 338 of file TGLViewer.h.

References fPictureFileName.

Float_t TGLViewer::GetFader (  )  const [inline]

Definition at line 339 of file TGLViewer.h.

References fFader.

void TGLViewer::SetFader ( Float_t  x  )  [inline]

Definition at line 340 of file TGLViewer.h.

References fFader.

void TGLViewer::AutoFade ( Float_t  fade,
Float_t  time = 1,
Int_t  steps = 10 
)

void TGLViewer::UpdateScene ( Bool_t  redraw = kTRUE  ) 

Bool_t TGLViewer::GetIgnoreSizesOnUpdate (  )  const [inline]

Definition at line 345 of file TGLViewer.h.

References fIgnoreSizesOnUpdate.

void TGLViewer::SetIgnoreSizesOnUpdate ( Bool_t  v  )  [inline]

Definition at line 346 of file TGLViewer.h.

References fIgnoreSizesOnUpdate.

void TGLViewer::ResetCurrentCamera (  ) 

Bool_t TGLViewer::GetResetCamerasOnUpdate (  )  const [inline]

Definition at line 348 of file TGLViewer.h.

References fResetCamerasOnUpdate.

void TGLViewer::SetResetCamerasOnUpdate ( Bool_t  v  )  [inline]

Definition at line 349 of file TGLViewer.h.

References fResetCamerasOnUpdate.

virtual void TGLViewer::PostSceneBuildSetup ( Bool_t  resetCameras  )  [virtual]

virtual void TGLViewer::Activated (  )  [inline, virtual]

Definition at line 353 of file TGLViewer.h.

References TQObject::Emit().

virtual void TGLViewer::MouseIdle ( TGLPhysicalShape ,
UInt_t  ,
UInt_t   
) [virtual]

virtual void TGLViewer::MouseOver ( TGLPhysicalShape  )  [virtual]

virtual void TGLViewer::MouseOver ( TGLPhysicalShape ,
UInt_t  state 
) [virtual]

virtual void TGLViewer::MouseOver ( TObject obj,
UInt_t  state 
) [virtual]

virtual void TGLViewer::ReMouseOver ( TObject obj,
UInt_t  state 
) [virtual]

virtual void TGLViewer::UnMouseOver ( TObject obj,
UInt_t  state 
) [virtual]

virtual void TGLViewer::Clicked ( TObject obj  )  [virtual]

virtual void TGLViewer::Clicked ( TObject obj,
UInt_t  button,
UInt_t  state 
) [virtual]

virtual void TGLViewer::ReClicked ( TObject obj,
UInt_t  button,
UInt_t  state 
) [virtual]

virtual void TGLViewer::UnClicked ( TObject obj,
UInt_t  button,
UInt_t  state 
) [virtual]

virtual void TGLViewer::DoubleClicked (  )  [inline, virtual]

Definition at line 366 of file TGLViewer.h.

References TQObject::Emit().

TGEventHandler* TGLViewer::GetEventHandler (  )  const [inline]

Definition at line 368 of file TGLViewer.h.

References fEventHandler.

virtual void TGLViewer::SetEventHandler ( TGEventHandler handler  )  [virtual]

TGedEditor* TGLViewer::GetGedEditor (  )  const [inline]

Definition at line 371 of file TGLViewer.h.

References fGedEditor.

virtual void TGLViewer::SetGedEditor ( TGedEditor ed  )  [inline, virtual]

Definition at line 372 of file TGLViewer.h.

References fGedEditor.

virtual void TGLViewer::SelectionChanged (  )  [virtual]

virtual void TGLViewer::OverlayDragFinished (  )  [virtual]

virtual void TGLViewer::RefreshPadEditor ( TObject obj = 0  )  [virtual]

virtual void TGLViewer::RemoveOverlayElement ( TGLOverlayElement el  )  [virtual]

Reimplemented from TGLViewerBase.

TGLSelectRecord& TGLViewer::GetSelRec (  )  [inline]

Definition at line 380 of file TGLViewer.h.

References fSelRec.

TGLOvlSelectRecord& TGLViewer::GetOvlSelRec (  )  [inline]

Definition at line 381 of file TGLViewer.h.

References fOvlSelRec.

TGLOverlayElement* TGLViewer::GetCurrentOvlElm (  )  const [inline]

Definition at line 382 of file TGLViewer.h.

References fCurrentOvlElm.

void TGLViewer::ClearCurrentOvlElm (  ) 


Friends And Related Function Documentation

TGLOutput [friend]

Definition at line 57 of file TGLViewer.h.

TGLEventHandler [friend]

Definition at line 58 of file TGLViewer.h.

Referenced by TGLEmbeddedViewer::CreateFrames(), and TGLSAViewer::CreateFrames().


Member Data Documentation

TVirtualPad* TGLViewer::fPad [protected]

Definition at line 78 of file TGLViewer.h.

Referenced by InitSecondaryObjects(), OverlayDragFinished(), RefreshPadEditor(), TGLSAViewer::SelectionChanged(), SelectionChanged(), TGLSAViewer::Show(), and ~TGLViewer().

TContextMenu* TGLViewer::fContextMenu [protected]

external pad - remove replace with signal

Definition at line 81 of file TGLViewer.h.

Referenced by TGLEventHandler::PopupContextMenu(), and ~TGLViewer().

TGLPerspectiveCamera TGLViewer::fPerspectiveCameraXOZ [protected]

Definition at line 85 of file TGLViewer.h.

Referenced by RefCamera(), SetCurrentCamera(), SetPerspectiveCamera(), and SetupCameras().

TGLPerspectiveCamera TGLViewer::fPerspectiveCameraYOZ [protected]

Definition at line 86 of file TGLViewer.h.

Referenced by RefCamera(), SetCurrentCamera(), SetPerspectiveCamera(), and SetupCameras().

TGLPerspectiveCamera TGLViewer::fPerspectiveCameraXOY [protected]

Definition at line 87 of file TGLViewer.h.

Referenced by RefCamera(), SetCurrentCamera(), SetPerspectiveCamera(), and SetupCameras().

TGLOrthoCamera TGLViewer::fOrthoXOYCamera [protected]

Definition at line 88 of file TGLViewer.h.

Referenced by TGLEmbeddedViewer::GetOrthoXOYCamera(), RefCamera(), SetCurrentCamera(), SetOrthoCamera(), SetupCameras(), TGLSAViewer::ToggleOrthoDolly(), and TGLSAViewer::ToggleOrthoRotate().

TGLOrthoCamera TGLViewer::fOrthoXOZCamera [protected]

Definition at line 89 of file TGLViewer.h.

Referenced by TGLEmbeddedViewer::GetOrthoXOZCamera(), RefCamera(), SetCurrentCamera(), SetOrthoCamera(), SetupCameras(), TGLSAViewer::ToggleOrthoDolly(), and TGLSAViewer::ToggleOrthoRotate().

TGLOrthoCamera TGLViewer::fOrthoZOYCamera [protected]

Definition at line 90 of file TGLViewer.h.

Referenced by TGLEmbeddedViewer::GetOrthoZOYCamera(), RefCamera(), SetCurrentCamera(), SetOrthoCamera(), SetupCameras(), TGLSAViewer::ToggleOrthoDolly(), and TGLSAViewer::ToggleOrthoRotate().

TGLOrthoCamera TGLViewer::fOrthoXnOYCamera [protected]

Definition at line 91 of file TGLViewer.h.

Referenced by RefCamera(), SetCurrentCamera(), SetupCameras(), and TGLSAViewer::ToggleOrthoRotate().

TGLOrthoCamera TGLViewer::fOrthoXnOZCamera [protected]

Definition at line 92 of file TGLViewer.h.

Referenced by RefCamera(), SetCurrentCamera(), SetupCameras(), and TGLSAViewer::ToggleOrthoRotate().

TGLOrthoCamera TGLViewer::fOrthoZnOYCamera [protected]

Definition at line 93 of file TGLViewer.h.

Referenced by RefCamera(), SetCurrentCamera(), SetupCameras(), and TGLSAViewer::ToggleOrthoRotate().

TGLCamera* TGLViewer::fCurrentCamera [protected]

Definition at line 94 of file TGLViewer.h.

Referenced by CurrentCamera(), DoDraw(), DoDrawStereo(), PreRender(), RefCamera(), SetCurrentCamera(), SetOrthoCamera(), SetPerspectiveCamera(), and SetViewport().

TGLAutoRotator* TGLViewer::fAutoRotator [protected]

Definition at line 95 of file TGLViewer.h.

Referenced by GetAutoRotator(), SetAutoRotator(), SetCurrentCamera(), and ~TGLViewer().

Bool_t TGLViewer::fStereo [protected]

Definition at line 98 of file TGLViewer.h.

Referenced by DoDraw(), GetStereo(), and SetStereo().

Float_t TGLViewer::fStereoZeroParallax [protected]

use stereo rendering

Definition at line 99 of file TGLViewer.h.

Referenced by DoDrawStereo(), GetStereoZeroParallax(), and SetStereoZeroParallax().

Float_t TGLViewer::fStereoEyeOffsetFac [protected]

position of zero-parallax plane: 0 - near clipping plane, 1 - far clipping plane

Definition at line 100 of file TGLViewer.h.

Referenced by DoDrawStereo(), GetStereoEyeOffsetFac(), and SetStereoEyeOffsetFac().

Float_t TGLViewer::fStereoFrustumAsymFac [protected]

Definition at line 101 of file TGLViewer.h.

Referenced by DoDrawStereo(), GetStereoFrustumAsymFac(), and SetStereoFrustumAsymFac().

TGLLightSet* TGLViewer::fLightSet [protected]

Definition at line 104 of file TGLViewer.h.

Referenced by GetLightSet(), InitSecondaryObjects(), PreRender(), and ~TGLViewer().

TGLClipSet* TGLViewer::fClipSet [protected]

Definition at line 106 of file TGLViewer.h.

Referenced by GetClipAutoUpdate(), GetClipSet(), InitSecondaryObjects(), PreRender(), SetClipAutoUpdate(), and SetupClipObject().

TGLSelectRecord TGLViewer::fCurrentSelRec [protected]

Definition at line 108 of file TGLViewer.h.

Referenced by ApplySelection(), and DoSelect().

TGLSelectRecord TGLViewer::fSelRec [protected]

select record in use as selected

Definition at line 109 of file TGLViewer.h.

Referenced by ApplySelection(), DoSecondarySelect(), DoSelect(), GetSelRec(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), TGLEventHandler::SelectForClicked(), and TGLEventHandler::SelectForMouseOver().

TGLSelectRecord TGLViewer::fSecSelRec [protected]

select record from last select (should go to context)

Definition at line 110 of file TGLViewer.h.

Referenced by DoSecondarySelect(), TGLEventHandler::SelectForClicked(), and TGLEventHandler::SelectForMouseOver().

TGLManipSet* TGLViewer::fSelectedPShapeRef [protected]

select record from last secondary select (should go to context)

Definition at line 111 of file TGLViewer.h.

Referenced by ApplySelection(), GetSelected(), and InitSecondaryObjects().

TGLOverlayElement* TGLViewer::fCurrentOvlElm [protected]

Definition at line 113 of file TGLViewer.h.

Referenced by ClearCurrentOvlElm(), DoOverlaySelect(), GetCurrentOvlElm(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), TGLEventHandler::HandleMotion(), and RemoveOverlayElement().

TGLOvlSelectRecord TGLViewer::fOvlSelRec [protected]

current overlay element

Definition at line 114 of file TGLViewer.h.

Referenced by DoOverlaySelect(), GetOvlSelRec(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), and TGLEventHandler::HandleMotion().

TGEventHandler* TGLViewer::fEventHandler [protected]

select record from last overlay select

Definition at line 116 of file TGLViewer.h.

Referenced by TGLEmbeddedViewer::CreateFrames(), TGLSAViewer::CreateFrames(), TGLSAViewer::CreateGLWidget(), TGLEmbeddedViewer::CreateGLWidget(), ExecuteEvent(), GetEventHandler(), SetEventHandler(), and ~TGLViewer().

TGedEditor* TGLViewer::fGedEditor [protected]

event handler

Definition at line 117 of file TGLViewer.h.

Referenced by TGLSAViewer::CreateFrames(), GetGedEditor(), OverlayDragFinished(), RefreshPadEditor(), TGLSAViewer::SelectionChanged(), SelectionChanged(), SetGedEditor(), TGLSAViewer::Show(), TGLEmbeddedViewer::TGLEmbeddedViewer(), TGLSAViewer::TGLSAViewer(), and TGLSAViewer::~TGLSAViewer().

TGLPShapeObj* TGLViewer::fPShapeWrap [protected]

GED editor.

Definition at line 118 of file TGLViewer.h.

Referenced by InitSecondaryObjects(), TGLSAViewer::SelectionChanged(), and SelectionChanged().

EPushAction TGLViewer::fPushAction [protected]

Definition at line 128 of file TGLViewer.h.

Referenced by GetPushAction(), TGLEventHandler::HandleButton(), PickAnnotate(), and PickCameraCenter().

EDragAction TGLViewer::fDragAction [protected]

Definition at line 129 of file TGLViewer.h.

Referenced by GetDragAction(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleCrossing(), TGLEventHandler::HandleEvent(), TGLEventHandler::HandleFocusChange(), TGLEventHandler::HandleMotion(), and TGLEventHandler::HandleTimer().

TGLRedrawTimer* TGLViewer::fRedrawTimer [protected]

Definition at line 132 of file TGLViewer.h.

Referenced by DoDraw(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleConfigureNotify(), TGLEventHandler::HandleExpose(), TGLEventHandler::HandleMotion(), TGLEventHandler::HandleTimer(), InitSecondaryObjects(), TGLEventHandler::Repaint(), RequestDraw(), UpdateScene(), and ~TGLViewer().

Float_t TGLViewer::fMaxSceneDrawTimeHQ [protected]

timer for triggering redraws

Definition at line 133 of file TGLViewer.h.

Referenced by DoDraw(), GetMaxSceneDrawTimeHQ(), and SetMaxSceneDrawTimeHQ().

Float_t TGLViewer::fMaxSceneDrawTimeLQ [protected]

max time for scene rendering at high LOD (in ms)

Definition at line 134 of file TGLViewer.h.

Referenced by DoDraw(), GetMaxSceneDrawTimeLQ(), and SetMaxSceneDrawTimeLQ().

TGLRect TGLViewer::fViewport [protected]

max time for scene rendering at high LOD (in ms)

Definition at line 136 of file TGLViewer.h.

Referenced by DoDraw(), DoDrawStereo(), RefViewport(), SavePicture(), SavePictureHeight(), SavePictureScale(), SavePictureUsingBB(), SavePictureUsingFBO(), SavePictureWidth(), SetCurrentCamera(), SetViewport(), and ViewportDiagonal().

TGLColorSet TGLViewer::fDarkColorSet [protected]

viewport - drawn area

Definition at line 137 of file TGLViewer.h.

Referenced by InitSecondaryObjects(), IsColorSetDark(), RefDarkColorSet(), UseDarkColorSet(), and UseDefaultColorSet().

TGLColorSet TGLViewer::fLightColorSet [protected]

color-set with dark background

Definition at line 138 of file TGLViewer.h.

Referenced by InitSecondaryObjects(), RefLightColorSet(), SwitchColorSet(), and UseLightColorSet().

Float_t TGLViewer::fPointScale [protected]

color-set with light background

Definition at line 139 of file TGLViewer.h.

Referenced by GetPointScale(), PreRender(), and SetPointScale().

Float_t TGLViewer::fLineScale [protected]

size scale for points

Definition at line 140 of file TGLViewer.h.

Referenced by GetLineScale(), PreRender(), and SetLineScale().

Bool_t TGLViewer::fSmoothPoints [protected]

width scale for lines

Definition at line 141 of file TGLViewer.h.

Referenced by GetSmoothPoints(), PreRender(), and SetSmoothPoints().

Bool_t TGLViewer::fSmoothLines [protected]

smooth point edge rendering

Definition at line 142 of file TGLViewer.h.

Referenced by GetSmoothLines(), PreRender(), and SetSmoothLines().

Int_t TGLViewer::fAxesType [protected]

smooth line edge rendering

Definition at line 143 of file TGLViewer.h.

Referenced by DrawGuides().

Bool_t TGLViewer::fAxesDepthTest [protected]

axes type

Definition at line 144 of file TGLViewer.h.

Referenced by DrawGuides().

Bool_t TGLViewer::fReferenceOn [protected]

remove guides hidden-lines

Definition at line 145 of file TGLViewer.h.

Referenced by DrawGuides().

TGLVertex3 TGLViewer::fReferencePos [protected]

reference marker on?

Definition at line 146 of file TGLViewer.h.

Referenced by DrawGuides(), and PostSceneBuildSetup().

Bool_t TGLViewer::fDrawCameraCenter [protected]

reference position

Definition at line 147 of file TGLViewer.h.

Referenced by DrawGuides(), GetDrawCameraCenter(), and SetDrawCameraCenter().

TGLCameraOverlay* TGLViewer::fCameraOverlay [protected]

reference marker on?

Definition at line 148 of file TGLViewer.h.

Referenced by GetCameraOverlay(), InitSecondaryObjects(), and SetCameraOverlay().

Bool_t TGLViewer::fSmartRefresh [protected]

markup size of viewport in scene units

Definition at line 150 of file TGLViewer.h.

Referenced by GetSmartRefresh(), and SetSmartRefresh().

Bool_t TGLViewer::fDebugMode [protected]

cache logicals during scene rebuilds

Definition at line 153 of file TGLViewer.h.

Referenced by DrawDebugInfo(), TGLEventHandler::HandleKey(), and PreRender().

Bool_t TGLViewer::fIsPrinting [protected]

debug mode (forced rebuild + draw scene/frustum/interest boxes)

Definition at line 154 of file TGLViewer.h.

Referenced by TGLOutput::Capture(), TGLOutput::CapturePostscript(), DoDraw(), and DoDrawMono().

TString TGLViewer::fPictureFileName [protected]

Definition at line 155 of file TGLViewer.h.

Referenced by GetPictureFileName(), SavePicture(), and SetPictureFileName().

Float_t TGLViewer::fFader [protected]

default file-name for SavePicture()

Definition at line 156 of file TGLViewer.h.

Referenced by DoDrawMono(), DoDrawStereo(), GetFader(), and SetFader().

static TGLColorSet TGLViewer::fgDefaultColorSet [static, protected]

fade the view (0 - no fade/default, 1 - full fade/no rendering done)

Definition at line 158 of file TGLViewer.h.

Referenced by GetDefaultColorSet(), InitSecondaryObjects(), IsUsingDefaultColorSet(), and UseDefaultColorSet().

static Bool_t TGLViewer::fgUseDefaultColorSetForNewViewers [static, protected]

a shared, default color-set

Definition at line 159 of file TGLViewer.h.

Referenced by InitSecondaryObjects(), IsUsingDefaultColorSetForNewViewers(), and UseDefaultColorSetForNewViewers().

TGLWidget* TGLViewer::fGLWidget [protected]

Definition at line 182 of file TGLViewer.h.

Referenced by TGLEmbeddedViewer::CreateFrames(), TGLSAViewer::CreateGLWidget(), TGLEmbeddedViewer::CreateGLWidget(), TGLEmbeddedViewer::DestroyGLWidget(), TGLSAViewer::DestroyGLWidget(), GetGLWidget(), TGLEventHandler::HandleButton(), MakeCurrent(), RequestDraw(), SavePictureUsingFBO(), SetEventHandler(), SwapBuffers(), TGLEmbeddedViewer::~TGLEmbeddedViewer(), TGLSAViewer::~TGLSAViewer(), and ~TGLViewer().

Int_t TGLViewer::fGLDevice [protected]

Definition at line 183 of file TGLViewer.h.

Referenced by DoDraw(), TGLEventHandler::ExecuteEvent(), GetDev(), TGLEventHandler::HandleButton(), TGLEventHandler::HandleKey(), TGLEventHandler::HandleMotion(), MakeCurrent(), PreDraw(), PreRender(), RequestDraw(), SwapBuffers(), TGLViewer(), and ~TGLViewer().

TGLContextIdentity* TGLViewer::fGLCtxId [protected]

for embedded gl viewer

Definition at line 184 of file TGLViewer.h.

Referenced by PreRender(), TGLViewer(), and ~TGLViewer().

Bool_t TGLViewer::fIgnoreSizesOnUpdate [protected]

for embedded gl viewer

Definition at line 187 of file TGLViewer.h.

Referenced by GetIgnoreSizesOnUpdate(), and SetIgnoreSizesOnUpdate().

Bool_t TGLViewer::fResetCamerasOnUpdate [protected]

Definition at line 188 of file TGLViewer.h.

Referenced by GetResetCamerasOnUpdate(), PadPaint(), SetResetCamerasOnUpdate(), and UpdateScene().

Bool_t TGLViewer::fResetCamerasOnNextUpdate [protected]

Definition at line 189 of file TGLViewer.h.

Referenced by PadPaint(), ResetCamerasAfterNextUpdate(), and UpdateScene().

TVirtualPad* TGLViewer::fPad [protected]

Definition at line 78 of file TGLViewer.h.

TContextMenu* TGLViewer::fContextMenu [protected]

external pad - remove replace with signal

Definition at line 81 of file TGLViewer.h.

TGLCamera* TGLViewer::fCurrentCamera [protected]

Definition at line 94 of file TGLViewer.h.

TGLAutoRotator* TGLViewer::fAutoRotator [protected]

Definition at line 95 of file TGLViewer.h.

TGLLightSet* TGLViewer::fLightSet [protected]

Definition at line 104 of file TGLViewer.h.

TGLClipSet* TGLViewer::fClipSet [protected]

Definition at line 106 of file TGLViewer.h.

TGLManipSet* TGLViewer::fSelectedPShapeRef [protected]

select record from last secondary select (should go to context)

Definition at line 111 of file TGLViewer.h.

TGLOverlayElement* TGLViewer::fCurrentOvlElm [protected]

Definition at line 113 of file TGLViewer.h.

TGEventHandler* TGLViewer::fEventHandler [protected]

select record from last overlay select

Definition at line 116 of file TGLViewer.h.

TGedEditor* TGLViewer::fGedEditor [protected]

event handler

Definition at line 117 of file TGLViewer.h.

TGLPShapeObj* TGLViewer::fPShapeWrap [protected]

GED editor.

Definition at line 118 of file TGLViewer.h.

TGLRedrawTimer* TGLViewer::fRedrawTimer [protected]

Definition at line 132 of file TGLViewer.h.

TGLCameraOverlay* TGLViewer::fCameraOverlay [protected]

reference marker on?

Definition at line 148 of file TGLViewer.h.

TGLWidget* TGLViewer::fGLWidget [protected]

Definition at line 182 of file TGLViewer.h.

TGLContextIdentity* TGLViewer::fGLCtxId [protected]

for embedded gl viewer

Definition at line 184 of file TGLViewer.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1