#include <TGLViewer.h>
Inheritance diagram for TGLViewer:
Definition at line 52 of file TGLViewer.h.
Definition at line 61 of file TGLViewer.h.
Definition at line 65 of file TGLViewer.h.
Definition at line 122 of file TGLViewer.h.
Definition at line 124 of file TGLViewer.h.
Definition at line 61 of file TGLViewer.h.
Definition at line 65 of file TGLViewer.h.
Definition at line 122 of file TGLViewer.h.
Definition at line 124 of file TGLViewer.h.
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 | ) |
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] |
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().
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] |
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] |
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().
Reimplemented from TObject.
Definition at line 1981 of file TGLViewer.cxx.
References TObject::ExecuteEvent(), and fEventHandler.
virtual Bool_t TGLViewer::PreferLocalFrame | ( | ) | const [inline, virtual] |
virtual void TGLViewer::BeginScene | ( | ) | [inline, virtual] |
virtual Bool_t TGLViewer::BuildingScene | ( | ) | const [inline, virtual] |
virtual void TGLViewer::EndScene | ( | ) | [inline, virtual] |
Implements TVirtualViewer3D.
Definition at line 210 of file TGLViewer.h.
References TBuffer3D::kNone.
Implements TVirtualViewer3D.
Definition at line 211 of file TGLViewer.h.
References TBuffer3D::kNone.
virtual void TGLViewer::CloseComposite | ( | ) | [inline, virtual] |
virtual void TGLViewer::AddCompositeOp | ( | UInt_t | ) | [inline, virtual] |
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] |
virtual void TGLViewer::DestroyGLWidget | ( | ) | [inline, virtual] |
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] |
TGLColorSet& TGLViewer::RefLightColorSet | ( | ) | [inline] |
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] |
Int_t TGLViewer::ViewportDiagonal | ( | ) | const [inline] |
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] |
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] |
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 | ) |
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] |
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] |
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().
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().
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().
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().
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().
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().
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().
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().
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().
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] |
void TGLViewer::SetPictureFileName | ( | const TString & | f | ) | [inline] |
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().
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 1880 of file TGLViewer.cxx.
References TQObject::Emit().
Referenced by TGLEventHandler::SelectForMouseOver().
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().
Definition at line 1924 of file TGLViewer.cxx.
References TQObject::Emit().
Referenced by TGLEventHandler::SelectForClicked().
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] |
virtual void TGLViewer::SetGedEditor | ( | TGedEditor * | ed | ) | [inline, virtual] |
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] |
TGLOverlayElement* TGLViewer::GetCurrentOvlElm | ( | ) | const [inline] |
void TGLViewer::ClearCurrentOvlElm | ( | ) |
Definition at line 2071 of file TGLViewer.cxx.
References fCurrentOvlElm, TGLOverlayElement::MouseLeave(), and RequestDraw().
Referenced by TGLEventHandler::ClearMouseOver().
void TGLViewer::InitSecondaryObjects | ( | ) | [private] |
virtual void TGLViewer::SetupClipObject | ( | ) | [protected, virtual] |
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 | ( | const TGLRect & | vp | ) | [protected] |
void TGLViewer::SetupCameras | ( | Bool_t | reset | ) | [protected] |
virtual Bool_t TGLViewer::CanLoopOnPrimitives | ( | ) | const [inline, virtual] |
virtual void TGLViewer::PadPaint | ( | TVirtualPad * | pad | ) | [virtual] |
Reimplemented from TVirtualViewer3D.
Reimplemented from TObject.
Reimplemented from TObject.
virtual Bool_t TGLViewer::PreferLocalFrame | ( | ) | const [inline, virtual] |
virtual void TGLViewer::BeginScene | ( | ) | [inline, virtual] |
virtual Bool_t TGLViewer::BuildingScene | ( | ) | const [inline, virtual] |
virtual void TGLViewer::EndScene | ( | ) | [inline, virtual] |
Implements TVirtualViewer3D.
Definition at line 210 of file TGLViewer.h.
References TBuffer3D::kNone.
Implements TVirtualViewer3D.
Definition at line 211 of file TGLViewer.h.
References TBuffer3D::kNone.
virtual void TGLViewer::CloseComposite | ( | ) | [inline, virtual] |
virtual void TGLViewer::AddCompositeOp | ( | UInt_t | ) | [inline, virtual] |
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] |
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] |
Bool_t TGLViewer::GetSmartRefresh | ( | ) | const [inline] |
void TGLViewer::SetSmartRefresh | ( | Bool_t | smart_ref | ) | [inline] |
TGLColorSet& TGLViewer::RefDarkColorSet | ( | ) | [inline] |
TGLColorSet& TGLViewer::RefLightColorSet | ( | ) | [inline] |
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] |
Int_t TGLViewer::ViewportDiagonal | ( | ) | const [inline] |
Float_t TGLViewer::GetPointScale | ( | ) | const [inline] |
Float_t TGLViewer::GetLineScale | ( | ) | const [inline] |
void TGLViewer::SetPointScale | ( | Float_t | s | ) | [inline] |
void TGLViewer::SetLineScale | ( | Float_t | s | ) | [inline] |
Bool_t TGLViewer::GetSmoothPoints | ( | ) | const [inline] |
Bool_t TGLViewer::GetSmoothLines | ( | ) | const [inline] |
void TGLViewer::SetSmoothPoints | ( | Bool_t | s | ) | [inline] |
void TGLViewer::SetSmoothLines | ( | Bool_t | s | ) | [inline] |
TGLLightSet* TGLViewer::GetLightSet | ( | ) | const [inline] |
TGLClipSet* TGLViewer::GetClipSet | ( | ) | const [inline] |
Bool_t TGLViewer::GetClipAutoUpdate | ( | ) | const [inline] |
void TGLViewer::SetClipAutoUpdate | ( | Bool_t | x | ) | [inline] |
TGLCamera& TGLViewer::CurrentCamera | ( | ) | const [inline] |
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] |
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] |
void TGLViewer::SetCameraOverlay | ( | TGLCameraOverlay * | m | ) | [inline] |
TGLAutoRotator* TGLViewer::GetAutoRotator | ( | ) |
void TGLViewer::SetAutoRotator | ( | TGLAutoRotator * | ar | ) |
Bool_t TGLViewer::GetStereo | ( | ) | const [inline] |
Float_t TGLViewer::GetStereoZeroParallax | ( | ) | const [inline] |
Float_t TGLViewer::GetStereoEyeOffsetFac | ( | ) | const [inline] |
Float_t TGLViewer::GetStereoFrustumAsymFac | ( | ) | const [inline] |
void TGLViewer::SetStereo | ( | Bool_t | s | ) | [inline] |
void TGLViewer::SetStereoZeroParallax | ( | Float_t | f | ) | [inline] |
void TGLViewer::SetStereoEyeOffsetFac | ( | Float_t | f | ) | [inline] |
void TGLViewer::SetStereoFrustumAsymFac | ( | Float_t | f | ) | [inline] |
EPushAction TGLViewer::GetPushAction | ( | ) | const [inline] |
EDragAction TGLViewer::GetDragAction | ( | ) | const [inline] |
const TGLPhysicalShape* TGLViewer::GetSelected | ( | ) | const |
Float_t TGLViewer::GetMaxSceneDrawTimeHQ | ( | ) | const [inline] |
Float_t TGLViewer::GetMaxSceneDrawTimeLQ | ( | ) | const [inline] |
void TGLViewer::SetMaxSceneDrawTimeHQ | ( | Float_t | t | ) | [inline] |
void TGLViewer::SetMaxSceneDrawTimeLQ | ( | Float_t | t | ) | [inline] |
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::DoDrawMono | ( | Bool_t | swap_buffers | ) |
void TGLViewer::DoDrawStereo | ( | Bool_t | swap_buffers | ) |
void TGLViewer::DrawGuides | ( | ) |
void TGLViewer::DrawDebugInfo | ( | ) |
void TGLViewer::ApplySelection | ( | ) |
Bool_t TGLViewer::SavePicture | ( | ) |
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] |
void TGLViewer::SetPictureFileName | ( | const TString & | f | ) | [inline] |
Float_t TGLViewer::GetFader | ( | ) | const [inline] |
void TGLViewer::SetFader | ( | Float_t | x | ) | [inline] |
Bool_t TGLViewer::GetIgnoreSizesOnUpdate | ( | ) | const [inline] |
void TGLViewer::SetIgnoreSizesOnUpdate | ( | Bool_t | v | ) | [inline] |
void TGLViewer::ResetCurrentCamera | ( | ) |
Bool_t TGLViewer::GetResetCamerasOnUpdate | ( | ) | const [inline] |
void TGLViewer::SetResetCamerasOnUpdate | ( | Bool_t | v | ) | [inline] |
virtual void TGLViewer::PostSceneBuildSetup | ( | Bool_t | resetCameras | ) | [virtual] |
virtual void TGLViewer::Activated | ( | ) | [inline, virtual] |
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::Clicked | ( | TObject * | obj | ) | [virtual] |
virtual void TGLViewer::DoubleClicked | ( | ) | [inline, virtual] |
TGEventHandler* TGLViewer::GetEventHandler | ( | ) | const [inline] |
virtual void TGLViewer::SetEventHandler | ( | TGEventHandler * | handler | ) | [virtual] |
TGedEditor* TGLViewer::GetGedEditor | ( | ) | const [inline] |
virtual void TGLViewer::SetGedEditor | ( | TGedEditor * | ed | ) | [inline, virtual] |
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] |
TGLOvlSelectRecord& TGLViewer::GetOvlSelRec | ( | ) | [inline] |
TGLOverlayElement* TGLViewer::GetCurrentOvlElm | ( | ) | const [inline] |
void TGLViewer::ClearCurrentOvlElm | ( | ) |
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().
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] |
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] |
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] |
Bool_t TGLViewer::fAxesDepthTest [protected] |
Bool_t TGLViewer::fReferenceOn [protected] |
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] |
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] |
TGedEditor* TGLViewer::fGedEditor [protected] |
TGLPShapeObj* TGLViewer::fPShapeWrap [protected] |
TGLRedrawTimer* TGLViewer::fRedrawTimer [protected] |
Definition at line 132 of file TGLViewer.h.
TGLCameraOverlay* TGLViewer::fCameraOverlay [protected] |
TGLWidget* TGLViewer::fGLWidget [protected] |
Definition at line 182 of file TGLViewer.h.
TGLContextIdentity* TGLViewer::fGLCtxId [protected] |