A++ » INCLUDE » TGLViewer

class TGLViewer: public TVirtualViewer3D, public TGLViewerBase, public TQObject

 Methods

Function Members (Methods)

public:
virtual~TGLViewer()
voidTObject::AbstractMethod(const char* method) const
virtual voidActivated()SIGNAL
virtual voidAddCompositeOp(UInt_t)
virtual Int_tAddObject(const TBuffer3D&, Bool_t* = 0)
virtual Int_tAddObject(UInt_t, const TBuffer3D&, Bool_t* = 0)
virtual voidTGLViewerBase::AddOverlayElement(TGLOverlayElement* el)
TGLSceneInfo*TGLViewerBase::AddScene(TGLSceneBase* scene)
virtual voidTObject::AppendPad(Option_t* option = "")
voidApplySelection()
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
voidAutoFade(Float_t fade, Float_t time = 1, Int_t steps = 10)
virtual voidBeginScene()
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tBuildingScene() const
virtual Bool_tCanLoopOnPrimitives() const
virtual voidTGLViewerBase::Changed()
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
voidClearCurrentOvlElm()
virtual voidClicked(TObject* obj)SIGNAL
virtual voidClicked(TObject* obj, UInt_t button, UInt_t state)SIGNAL
TGLClip*TGLViewerBase::Clip() const
virtual TObject*TObject::Clone(const char* newname = "") const
virtual voidCloseComposite()
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
TGLColorSet&ColorSet()
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
virtual voidTObject::Copy(TObject& object) const
virtual voidCreateGLWidget()
TGLCamera&CurrentCamera() const
TGLLockable::ELockTGLLockable::CurrentLock() const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidTGLViewerBase::DeleteOverlayAnnotations()
virtual voidTGLViewerBase::DeleteOverlayElements(TGLOverlayElement::ERole r)
virtual voidTQObject::Destroyed()SIGNAL
virtual voidDestroyGLWidget()
Bool_tTQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0)
virtual voidTQObject::Disconnected(const char*)
virtual Int_tDistancetoPrimitive(Int_t px, Int_t py)
voidDoDraw(Bool_t swap_buffers = kTRUE)
voidDoDrawMono(Bool_t swap_buffers)
voidDoDrawStereo(Bool_t swap_buffers)
Bool_tDoOverlaySelect(Int_t x, Int_t y)
Bool_tDoSecondarySelect(Int_t x, Int_t y)
Bool_tDoSelect(Int_t x, Int_t y)
virtual voidDoubleClicked()SIGNAL
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
voidDrawDebugInfo()
voidDrawGuides()
virtual voidTVirtualViewer3D::DrawViewer()
virtual voidTObject::Dump() constMENU
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
virtual voidEndScene()
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
Bool_tTGLViewerBase::FindClosestOpaqueRecord(TGLSelectRecord& rec, Int_t& recIdx)
Bool_tTGLViewerBase::FindClosestOverlayRecord(TGLOvlSelectRecord& rec, Int_t& recIdx)
Bool_tTGLViewerBase::FindClosestRecord(TGLSelectRecord& rec, Int_t& recIdx)
TGLLogicalShape*TGLViewerBase::FindLogicalInScenes(TObject* id)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TGLAutoRotator*GetAutoRotator()
TGLCameraOverlay*GetCameraOverlay() const
Bool_tGetClipAutoUpdate() const
TGLClipSet*GetClipSet() const
TGLOverlayElement*GetCurrentOvlElm() const
static TGLColorSet&GetDefaultColorSet()
Int_tGetDev() const
TGLViewer::EDragActionGetDragAction() const
Bool_tGetDrawCameraCenter()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
TGEventHandler*GetEventHandler() const
Float_tGetFader() const
TGedEditor*GetGedEditor() const
TGLWidget*GetGLWidget()
voidGetGuideState(Int_t& axesType, Bool_t& axesDepthTest, Bool_t& referenceOn, Double_t* referencePos) const
virtual const char*TObject::GetIconName() const
Bool_tGetIgnoreSizesOnUpdate() const
TGLLightSet*GetLightSet() const
Float_tGetLineScale() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
Float_tGetMaxSceneDrawTimeHQ() const
Float_tGetMaxSceneDrawTimeLQ() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TGLOvlSelectRecord&GetOvlSelRec()
const char*GetPictureFileName() const
TImage*GetPictureUsingBB()
TImage*GetPictureUsingFBO(Int_t w, Int_t h, Float_t pixel_object_scale = 0)
Float_tGetPointScale() const
TGLViewer::EPushActionGetPushAction() const
Bool_tGetResetCamerasOnUpdate() const
TGLRnrCtx*TGLViewerBase::GetRnrCtx() const
TGLSceneInfo*TGLViewerBase::GetSceneInfo(TGLSceneBase* scene)
const TGLPhysicalShape*GetSelected() const
TGLSelectRecord&GetSelRec()
Bool_tGetSmartRefresh() const
Bool_tGetSmoothLines() const
Bool_tGetSmoothPoints() const
Bool_tGetStereo() const
Float_tGetStereoEyeOffsetFac() const
Float_tGetStereoFrustumAsymFac() const
Float_tGetStereoZeroParallax() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTObject::Hash() const
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGLViewerBase::IsChanged() const
Bool_tIsColorSetDark() const
Bool_tTGLLockable::IsDrawOrSelectLock() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTGLLockable::IsLocked() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsUsingDefaultColorSet() const
static Bool_tIsUsingDefaultColorSetForNewViewers()
Bool_tTObject::IsZombie() const
virtual const char*TGLViewerBase::LockIdStr() const
static const char*TGLLockable::LockName(TGLLockable::ELock lock)
static Bool_tTGLLockable::LockValid(TGLLockable::ELock lock)
Short_tTGLViewerBase::LOD() const
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTGLViewerBase::MergeSceneBBoxes(TGLBoundingBox& bbox)
virtual voidTQObject::Message(const char* msg)SIGNAL
virtual voidMouseIdle(TGLPhysicalShape*, UInt_t, UInt_t)SIGNAL
virtual voidMouseOver(TGLPhysicalShape*)SIGNAL
virtual voidMouseOver(TGLPhysicalShape*, UInt_t state)SIGNAL
virtual voidMouseOver(TObject* obj, UInt_t state)SIGNAL
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
virtual voidTVirtualViewer3D::ObjectPaint(TObject*, Option_t* = "")
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
Float_tTGLViewerBase::OLLineW() const
virtual Bool_tOpenComposite(const TBuffer3D&, Bool_t* = 0)
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidOverlayDragFinished()
virtual voidPadPaint(TVirtualPad* pad)
virtual voidTObject::Paint(Option_t* option = "")
voidPickAnnotate()
voidPickCameraCenter()
virtual voidTObject::Pop()
virtual voidPostRender()
virtual voidTGLViewerBase::PostRenderOverlaySelection()
virtual voidPostSceneBuildSetup(Bool_t resetCameras)
virtual Bool_tPreferLocalFrame() const
virtual voidPreRender()
virtual voidTGLViewerBase::PreRenderOverlaySelection()
virtual voidTObject::Print(Option_t* option = "") const
virtual voidPrintObjects()
virtual Int_tTObject::Read(const char* name)
virtual voidReClicked(TObject* obj, UInt_t button, UInt_t state)SIGNAL
virtual voidTObject::RecursiveRemove(TObject* obj)
TGLCamera&RefCamera(TGLViewer::ECameraType camera)
TGLColorSet&RefDarkColorSet()
TGLColorSet&RefLightColorSet()
const TGLBoundingBox&TGLViewerBase::RefOverallBoundingBox() const
virtual voidRefreshPadEditor(TObject* obj = 0)
const TGLRect&RefViewport() const
voidReinitializeCurrentCamera(const TGLVector3& hAxis, const TGLVector3& vAxis, Bool_t redraw = kTRUE)
Bool_tTGLLockable::ReleaseLock(TGLLockable::ELock lock) const
virtual voidReMouseOver(TObject* obj, UInt_t state)SIGNAL
voidTGLViewerBase::RemoveAllScenes()
virtual voidRemoveOverlayElement(TGLOverlayElement* el)
voidTGLViewerBase::RemoveScene(TGLSceneBase* scene)
virtual voidRender()
virtual voidTGLViewerBase::RenderNonSelected()
virtual voidTGLViewerBase::RenderOpaque(Bool_t rnr_non_selected = kTRUE, Bool_t rnr_selected = kTRUE)
virtual voidTGLViewerBase::RenderOverlay(Int_t state, Bool_t selection)
virtual voidTGLViewerBase::RenderSelected()
virtual voidTGLViewerBase::RenderSelectedForHighlight()
virtual voidTGLViewerBase::RenderTransparent(Bool_t rnr_non_selected = kTRUE, Bool_t rnr_selected = kTRUE)
voidRequestDraw(Short_t LOD = TGLRnrCtx::kLODMed)
Bool_tRequestOverlaySelect(Int_t x, Int_t y)
Bool_tRequestSecondarySelect(Int_t x, Int_t y)
Bool_tRequestSelect(Int_t x, Int_t y)
voidTObject::ResetBit(UInt_t f)
virtual voidResetCameras()
virtual voidResetCamerasAfterNextUpdate()
voidResetCurrentCamera()
virtual voidTGLViewerBase::ResetSceneInfos()
Bool_tTGLViewerBase::ResolveSelectRecord(TGLSelectRecord& rec, Int_t recIdx)
TGLRnrCtx&TGLViewerBase::RnrCtx() const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
Bool_tSavePicture()
Bool_tSavePicture(const TString& fileName)
Bool_tSavePictureHeight(const TString& fileName, Int_t height, Bool_t pixel_object_scale = kTRUE)
Bool_tSavePictureScale(const TString& fileName, Float_t scale, Bool_t pixel_object_scale = kTRUE)
Bool_tSavePictureUsingBB(const TString& fileName)
Bool_tSavePictureUsingFBO(const TString& fileName, Int_t w, Int_t h, Float_t pixel_object_scale = 0)
Bool_tSavePictureWidth(const TString& fileName, Int_t width, Bool_t pixel_object_scale = kTRUE)
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTGLViewerBase::SceneDestructing(TGLSceneBase* scene)
virtual voidSelectionChanged()
virtual TObject*TVirtualViewer3D::SelectObject(Int_t, Int_t)
voidSetAutoRotator(TGLAutoRotator* ar)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetCameraOverlay(TGLCameraOverlay* m)
voidSetClearColor(Color_t col)
voidTGLViewerBase::SetClip(TGLClip* p)
voidSetClipAutoUpdate(Bool_t x)
voidSetCurrentCamera(TGLViewer::ECameraType camera)
voidSetDrawCameraCenter(Bool_t x)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetEventHandler(TGEventHandler* handler)
voidSetFader(Float_t x)
virtual voidSetGedEditor(TGedEditor* ed)
voidSetGuideState(Int_t axesType, Bool_t axesDepthTest, Bool_t referenceOn, const Double_t* referencePos)
voidSetIgnoreSizesOnUpdate(Bool_t v)
voidSetLineScale(Float_t s)
voidTGLViewerBase::SetLOD(Short_t lod)
voidSetMaxSceneDrawTimeHQ(Float_t t)
voidSetMaxSceneDrawTimeLQ(Float_t t)
static voidTObject::SetObjectStat(Bool_t stat)
voidTGLViewerBase::SetOLLineW(Float_t w)
voidSetOrthoCamera(TGLViewer::ECameraType camera, Double_t zoom, Double_t dolly, Double_t[3] center, Double_t hRotate, Double_t vRotate)
voidSetPerspectiveCamera(TGLViewer::ECameraType camera, Double_t fov, Double_t dolly, Double_t[3] center, Double_t hRotate, Double_t vRotate)
voidSetPictureFileName(const TString& f)
voidSetPointScale(Float_t s)
voidSetResetCamerasOnUpdate(Bool_t v)
voidSetSmartRefresh(Bool_t smart_ref)
voidSetSmoothLines(Bool_t s)
voidSetSmoothPoints(Bool_t s)
voidSetStereo(Bool_t stereo, Bool_t quad_buf = kTRUE)
voidSetStereoEyeOffsetFac(Float_t f)
voidSetStereoFrustumAsymFac(Float_t f)
voidSetStereoZeroParallax(Float_t f)
voidTGLViewerBase::SetStyle(Short_t st)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTGLViewerBase::SetWFLineW(Float_t w)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
Short_tTGLViewerBase::Style() const
voidSwitchColorSet()
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTGLLockable::TakeLock(TGLLockable::ELock lock) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TGLViewer(TVirtualPad* pad)
TGLViewer(TVirtualPad* pad, Int_t x, Int_t y, Int_t width, Int_t height)
virtual voidUnClicked(TObject* obj, UInt_t button, UInt_t state)SIGNAL
virtual voidUnMouseOver(TObject* obj, UInt_t state)SIGNAL
voidUpdateScene(Bool_t redraw = kTRUE)
virtual voidTObject::UseCurrentStyle()
voidUseDarkColorSet()
voidUseDefaultColorSet(Bool_t x)
static voidUseDefaultColorSetForNewViewers(Bool_t x)
voidUseLightColorSet()
static TVirtualViewer3D*TVirtualViewer3D::Viewer3D(TVirtualPad* pad = 0, Option_t* type = "")
Int_tViewportDiagonal() const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
Float_tTGLViewerBase::WFLineW() const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static TStringTQObject::CompressName(const char* method_name)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidFadeView(Float_t alpha)
TGLViewerBase::SceneInfoList_iTGLViewerBase::FindScene(TGLSceneBase* scene)
virtual void*TQObject::GetSender()
virtual const char*TQObject::GetSenderClassName() const
voidInitGL()
voidMakeCurrent() const
voidTObject::MakeZombie()
voidPostDraw()
voidPreDraw()
voidSetupCameras(Bool_t reset)
virtual voidSetupClipObject()
voidSetViewport(const TGLRect& vp)
voidSetViewport(Int_t x, Int_t y, Int_t width, Int_t height)
voidTGLViewerBase::SubRenderScenes(TGLViewerBase::SubRender_foo render_foo)
voidSwapBuffers() const

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TGLViewer::ECameraTypekCameraOrthoXOY
static TGLViewer::ECameraTypekCameraOrthoXOZ
static TGLViewer::ECameraTypekCameraOrthoXnOY
static TGLViewer::ECameraTypekCameraOrthoXnOZ
static TGLViewer::ECameraTypekCameraOrthoZOY
static TGLViewer::ECameraTypekCameraOrthoZnOY
static TGLViewer::ECameraTypekCameraPerspXOY
static TGLViewer::ECameraTypekCameraPerspXOZ
static TGLViewer::ECameraTypekCameraPerspYOZ
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TGLViewer::EDragActionkDragCameraDolly
static TGLViewer::EDragActionkDragCameraRotate
static TGLViewer::EDragActionkDragCameraTruck
static TGLViewer::EDragActionkDragNone
static TGLViewer::EDragActionkDragOverlay
static TGLLockable::ELockTGLLockable::kDrawLock
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TGLLockable::ELockTGLLockable::kModifyLock
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TGLViewer::ESecSelTypekOnKeyMod1
static TGLViewer::ESecSelTypekOnRequest
static TObject::(anonymous)TObject::kOverwrite
static TGLViewer::EPushActionkPushAnnotate
static TGLViewer::EPushActionkPushCamCenter
static TGLViewer::EPushActionkPushStd
static TGLLockable::ELockTGLLockable::kSelectLock
static TObject::(anonymous)TObject::kSingleKey
static TGLLockable::ELockTGLLockable::kUnlocked
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
TGLAutoRotator*fAutoRotator!
Bool_tfAxesDepthTest! remove guides hidden-lines
Int_tfAxesType! axes type
TGLCamera*TGLViewerBase::fCameraCamera for rendering.
TGLCameraOverlay*fCameraOverlay! markup size of viewport in scene units
Bool_tTGLViewerBase::fChangedChange requiring redraw is pending.
TGLClip*TGLViewerBase::fClipViewer clipping-plane.
TGLClipSet*fClipSet!
TContextMenu*fContextMenu!
TGLCamera*fCurrentCamera!
TGLOverlayElement*fCurrentOvlElm! current overlay element
TGLSelectRecordfCurrentSelRec! select record in use as selected
TGLColorSetfDarkColorSet! color-set with dark background
Bool_tfDebugMode! debug mode (forced rebuild + draw scene/frustum/interest boxes)
TGLViewer::EDragActionfDragAction
Bool_tfDrawCameraCenter! reference marker on?
TGEventHandler*fEventHandler! event handler
Float_tfFader! fade the view (0 - no fade/default, 1 - full fade/no rendering done)
TGLContextIdentity*fGLCtxId!for embedded gl viewer
Int_tfGLDevice!for embedded gl viewer
TGLWidget*fGLWidget
TGedEditor*fGedEditor! GED editor
Bool_tfIgnoreSizesOnUpdateignore sizes of bounding-boxes on update
Bool_tfIsPrinting!
Short_tTGLViewerBase::fLODViewer-lod for rendering.
TGLColorSetfLightColorSet! color-set with light background
TGLLightSet*fLightSet!
Float_tfLineScale! width scale for lines
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
TGLLockable::ELockTGLLockable::fLockLock state.
Float_tfMaxSceneDrawTimeHQ! max time for scene rendering at high LOD (in ms)
Float_tfMaxSceneDrawTimeLQ! max time for scene rendering at high LOD (in ms)
Float_tTGLViewerBase::fOLLineWOptional override of scene outline line-width
TGLOrthoCamerafOrthoXOYCamera!
TGLOrthoCamerafOrthoXOZCamera!
TGLOrthoCamerafOrthoXnOYCamera!
TGLOrthoCamerafOrthoXnOZCamera!
TGLOrthoCamerafOrthoZOYCamera!
TGLOrthoCamerafOrthoZnOYCamera!
TGLBoundingBoxTGLViewerBase::fOverallBoundingBoxAxis-aligned union of scene bboxes.
TGLViewerBase::OverlayElmVec_tTGLViewerBase::fOverlay
TGLOvlSelectRecordfOvlSelRec! select record from last overlay select
TGLPShapeObj*fPShapeWrap
TVirtualPad*fPad! external pad - remove replace with signal
TGLPerspectiveCamerafPerspectiveCameraXOY!
TGLPerspectiveCamerafPerspectiveCameraXOZ!
TGLPerspectiveCamerafPerspectiveCameraYOZ!
TStringfPictureFileName! default file-name for SavePicture()
Float_tfPointScale! size scale for points
TGLViewer::EPushActionfPushAction
TGLRedrawTimer*fRedrawTimer! timer for triggering redraws
Bool_tfReferenceOn! reference marker on?
TGLVertex3fReferencePos! reference position
Bool_tfResetCamerasOnNextUpdatereposition camera on next update
Bool_tfResetCamerasOnUpdatereposition camera on each update
Bool_tTGLViewerBase::fResetSceneInfosOnRenderRequest rebuild of view-specific scene data.
TGLRnrCtx*TGLViewerBase::fRnrCtx
TGLViewerBase::SceneInfoList_tTGLViewerBase::fScenesRegistered scenes.
TGLSelectRecordfSecSelRec! select record from last secondary select (should go to context)
TGLSelectRecordfSelRec! select record from last select (should go to context)
TGLManipSet*fSelectedPShapeRef!
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
Bool_tfSmartRefresh! cache logicals during scene rebuilds
Bool_tfSmoothLines! smooth line edge rendering
Bool_tfSmoothPoints! smooth point edge rendering
Bool_tfStereo! use stereo rendering
Float_tfStereoEyeOffsetFac!
Float_tfStereoFrustumAsymFac!
Bool_tfStereoQuadBuf! draw quad buffer or left/right stereo in left/right half of window
Float_tfStereoZeroParallax! position of zero-parallax plane: 0 - near clipping plane, 1 - far clipping plane
Short_tTGLViewerBase::fStyleViewer-style for rendering.
TGLRectfViewport! viewport - drawn area
TGLViewerBase::SceneInfoVec_tTGLViewerBase::fVisScenesVisible scenes.
Float_tTGLViewerBase::fWFLineWOptional override of scene wire-frame line-width
static Bool_tTQObject::fgAllSignalsBlockedflag used for suppression of all signals
static TGLColorSetfgDefaultColorSet! a shared, default color-set
static Bool_tfgUseDefaultColorSetForNewViewers! name says it all

Class Charts

Inheritance Chart:
TObject
TVirtualViewer3D
TGLLockable
TGLViewerBase
TQObject
TGLViewer
TGLEmbeddedViewer
TGLSAViewer

Function documentation

TGLViewer(const TGLViewer& )
TGLViewer & operator=(const TGLViewer& )
void InitSecondaryObjects()
TString fPictureFileName; //! default file-name for SavePicture()
void SetupClipObject()
 Methods

void InitGL()
 Drawing - can tidy up/remove lots when TGLManager added
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)
 Cameras
void SetViewport(const TGLRect& vp)
void SetupCameras(Bool_t reset)
TGLViewer(TVirtualPad* pad, Int_t x, Int_t y, Int_t width, Int_t height)
TGLViewer(TVirtualPad* pad)
virtual ~TGLViewer()
Bool_t CanLoopOnPrimitives() const
 TVirtualViewer3D interface ... mostly a facade
 Forward to TGLScenePad
{ return kTRUE; }
void PadPaint(TVirtualPad* pad)
 Actually used by GL-in-pad
Int_t DistancetoPrimitive(Int_t px, Int_t py)
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
 Only implemented because they're abstract ... should throw an
 exception or assert they are not called.
Bool_t PreferLocalFrame() const
{ return kTRUE; }
void BeginScene()
{}
Bool_t BuildingScene() const
{ return kFALSE; }
void EndScene()
{}
Int_t AddObject(const TBuffer3D& , Bool_t* = 0)
{ return TBuffer3D::kNone; }
Int_t AddObject(UInt_t , const TBuffer3D& , Bool_t* = 0)
{ return TBuffer3D::kNone; }
Bool_t OpenComposite(const TBuffer3D& , Bool_t* = 0)
{ return kFALSE; }
void CloseComposite()
{}
void AddCompositeOp(UInt_t )
{}
void PrintObjects()
void ResetCameras()
void ResetCamerasAfterNextUpdate()
TGLWidget* GetGLWidget()
{ return fGLWidget; }
void CreateGLWidget()
{}
void DestroyGLWidget()
{}
Int_t GetDev() const
{ return fGLDevice; }
Bool_t GetSmartRefresh() const
{ return fSmartRefresh; }
void SetSmartRefresh(Bool_t smart_ref)
{ fSmartRefresh = smart_ref; }
TGLColorSet& RefDarkColorSet()
{ return fDarkColorSet; }
TGLColorSet& RefLightColorSet()
{ return fLightColorSet; }
void UseDarkColorSet()
void UseLightColorSet()
void SwitchColorSet()
void UseDefaultColorSet(Bool_t x)
Bool_t IsUsingDefaultColorSet() const
Bool_t IsColorSetDark() const
void SetClearColor(Color_t col)
TGLColorSet& GetDefaultColorSet()
void UseDefaultColorSetForNewViewers(Bool_t x)
Bool_t IsUsingDefaultColorSetForNewViewers()
const TGLRect& RefViewport() const
{ return fViewport; }
Int_t ViewportDiagonal() const
{ return fViewport.Diagonal(); }
Float_t GetPointScale() const
{ return fPointScale; }
Float_t GetLineScale() const
{ return fLineScale; }
void SetPointScale(Float_t s)
{ fPointScale = s; }
void SetLineScale(Float_t s)
{ fLineScale = s; }
Bool_t GetSmoothPoints() const
{ return fSmoothPoints; }
Bool_t GetSmoothLines() const
{ return fSmoothLines; }
void SetSmoothPoints(Bool_t s)
{ fSmoothPoints = s; }
void SetSmoothLines(Bool_t s)
{ fSmoothLines = s; }
TGLLightSet* GetLightSet() const
{ return fLightSet; }
TGLClipSet * GetClipSet() const
{ return fClipSet; }
Bool_t GetClipAutoUpdate() const
{ return fClipSet->GetAutoUpdate(); }
void SetClipAutoUpdate(Bool_t x)
TGLCamera & CurrentCamera() const
 External GUI component interface
{ return *fCurrentCamera; }
TGLCamera & RefCamera(TGLViewer::ECameraType camera)
void SetCurrentCamera(TGLViewer::ECameraType camera)
void SetOrthoCamera(TGLViewer::ECameraType camera, Double_t zoom, Double_t dolly, Double_t[3] center, Double_t hRotate, Double_t vRotate)
void ReinitializeCurrentCamera(const TGLVector3& hAxis, const TGLVector3& vAxis, Bool_t redraw = kTRUE)
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()
{ return fDrawCameraCenter; }
void PickCameraCenter()
void PickAnnotate()
TGLCameraOverlay* GetCameraOverlay() const
{ return fCameraOverlay; }
void SetCameraOverlay(TGLCameraOverlay* m)
TGLAutoRotator* GetAutoRotator()
void SetAutoRotator(TGLAutoRotator* ar)
Bool_t GetStereo() const
 Stereo
{ return fStereo; }
Float_t GetStereoZeroParallax() const
Float_t GetStereoEyeOffsetFac() const
Float_t GetStereoFrustumAsymFac() const
void SetStereo(Bool_t stereo, Bool_t quad_buf = kTRUE)
void SetStereoZeroParallax(Float_t f)
void SetStereoEyeOffsetFac(Float_t f)
void SetStereoFrustumAsymFac(Float_t f)
EPushAction GetPushAction() const
 Push / drag action
{ return fPushAction; }
EDragAction GetDragAction() const
{ return fDragAction; }
const TGLPhysicalShape * GetSelected() const
Float_t GetMaxSceneDrawTimeHQ() const
 Draw and selection
 Scene rendering timeouts
Float_t GetMaxSceneDrawTimeLQ() const
void SetMaxSceneDrawTimeHQ(Float_t t)
void SetMaxSceneDrawTimeLQ(Float_t t)
void RequestDraw(Short_t LOD = TGLRnrCtx::kLODMed)
 Request methods post cross thread request via TROOT::ProcessLineFast().
void PreRender()
void Render()
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()
 Saving of screen image
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)
TImage* GetPictureUsingBB()
 Methods returning screen image
TImage* GetPictureUsingFBO(Int_t w, Int_t h, Float_t pixel_object_scale = 0)
const char* GetPictureFileName() const
{ return fPictureFileName.Data(); }
void SetPictureFileName(const TString& f)
Float_t GetFader() const
{ return fFader; }
void SetFader(Float_t x)
{ fFader = x; }
void AutoFade(Float_t fade, Float_t time = 1, Int_t steps = 10)
void UpdateScene(Bool_t redraw = kTRUE)
 Update/camera-reset
Bool_t GetIgnoreSizesOnUpdate() const
void SetIgnoreSizesOnUpdate(Bool_t v)
void ResetCurrentCamera()
Bool_t GetResetCamerasOnUpdate() const
void SetResetCamerasOnUpdate(Bool_t v)
void PostSceneBuildSetup(Bool_t resetCameras)
void Activated()
{ Emit("Activated()"); }
void MouseIdle(TGLPhysicalShape* , UInt_t , UInt_t )
void MouseOver(TGLPhysicalShape* )
void MouseOver(TGLPhysicalShape* , UInt_t state)
void MouseOver(TObject* obj, UInt_t state)
void ReMouseOver(TObject* obj, UInt_t state)
void UnMouseOver(TObject* obj, UInt_t state)
void Clicked(TObject* obj)
void Clicked(TObject* obj, UInt_t button, UInt_t state)
void ReClicked(TObject* obj, UInt_t button, UInt_t state)
void UnClicked(TObject* obj, UInt_t button, UInt_t state)
void DoubleClicked()
{ Emit("DoubleClicked()"); }
TGEventHandler * GetEventHandler() const
{ return fEventHandler; }
void SetEventHandler(TGEventHandler* handler)
TGedEditor* GetGedEditor() const
{ return fGedEditor; }
void SetGedEditor(TGedEditor* ed)
{ fGedEditor = ed; }
void SelectionChanged()
void OverlayDragFinished()
void RefreshPadEditor(TObject* obj = 0)
void RemoveOverlayElement(TGLOverlayElement* el)
TGLSelectRecord& GetSelRec()
{ return fSelRec; }
TGLOvlSelectRecord& GetOvlSelRec()
{ return fOvlSelRec; }
TGLOverlayElement* GetCurrentOvlElm() const
{ return fCurrentOvlElm; }
void ClearCurrentOvlElm()