12 #ifndef ROOT_TEveViewer
13 #define ROOT_TEveViewer
45 TEveViewer(
const char*
n=
"TEveViewer",
const char*
t=
"");
virtual void PostDock()
Virtual function called after a window is docked.
virtual void RemoveElementLocal(TEveElement *el)
Remove element 'el' from the list of children and also remove appropriate GLScene from GLViewer's lis...
void OnUnMouseOver(TObject *obj, UInt_t state)
Slot for global TGLViewer::UnMouseOver().
void SetShowTooltip(Bool_t x)
Eve representation of TGLScene.
List of Viewers providing common operations on TEveViewer collections.
virtual void RemoveElementsLocal()
Remove all children, forwarded to GLViewer.
virtual Bool_t HandleElementPaste(TEveElement *el)
Receive a pasted object.
virtual ~TEveViewer()
Destructor.
void SetColorBrightness(Float_t b)
Set color brightness.
virtual void Disconnect()
Disconnect from TGLViewer class-signals.
Bool_t UseLightColorSet() const
Float_t GetColorBrightness() const
void Redraw(Bool_t resetCameras=kFALSE)
Redraw viewer immediately.
void OnUnClicked(TObject *obj, UInt_t button, UInt_t state)
Slot for global TGLViewer::UnClicked().
void HandleTooltip()
Show / hide tooltip for various MouseOver events.
static Bool_t fgInitInternal
void SwitchColorSet()
Switch background color.
Minimal GL-viewer that can be embedded in a standard ROOT frames.
TGLViewer * GetGLViewer() const
virtual void RemoveElementLocal(TEveElement *el)
Decompoundofy el, call base-class version.
void SetGLViewer(TGLViewer *viewer, TGFrame *frame)
Set TGLViewer that is represented by this object.
Bool_t GetShowTooltip() const
void RepaintAllViewers(Bool_t resetCameras, Bool_t dropLogicals)
Repaint all viewers.
void OnClicked(TObject *obj, UInt_t button, UInt_t state)
Slot for global TGLViewer::Clicked().
The top level standalone GL-viewer - created via plugin manager.
virtual void RemoveElementsLocal()
Decompoundofy children, call base-class version.
TEveViewerList(const TEveViewerList &)
TGLEmbeddedViewer * SpawnGLEmbeddedViewer(TGedEditor *ged=0, Int_t border=0)
Spawn new GLViewer and adopt it.
void OnReMouseOver(TObject *obj, UInt_t state)
Slot for global TGLViewer::ReMouseOver().
static void InitInternal()
Initialize static data-members according to running conditions.
void OnReClicked(TObject *obj, UInt_t button, UInt_t state)
Slot for global TGLViewer::ReClicked().
Base GL viewer object - used by both standalone and embedded (in pad) GL.
void SwitchStereo()
Switch stereo mode.
void DeleteAnnotations()
Delete annotations from all viewers.
void OnMouseOver(TObject *obj, UInt_t state)
Slot for global TGLViewer::MouseOver() signal.
virtual const TGPicture * GetListTreeIcon(Bool_t open=kFALSE)
Return TEveViewer icon.
Mother of all ROOT objects.
void RepaintChangedViewers(Bool_t resetCameras, Bool_t dropLogicals)
Repaint viewers that are tagged as changed.
void SceneDestructing(TEveScene *scene)
Callback done from a TEveScene destructor allowing proper removal of the scene from affected viewers...
ClassDef(TEveViewerList, 0)
virtual void AddElement(TEveElement *el)
Call base-class implementation.
virtual TObject * GetEditorObject(const TEveException &eh="TEveViewer::GetEditorObject ") const
Object to be edited when this is selected, returns the TGLViewer.
Exception class thrown by TEve classes and macros.
virtual void Connect()
Connect to TGLViewer class-signals.
virtual void PreUndock()
Virtual function called before a window is undocked.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual ~TEveViewerList()
Destructor.
Encapsulates TGFrame into an eve-window.
TEveViewer(const TEveViewer &)
Eve representation of TGLViewer.
TEveViewer & operator=(const TEveViewer &)
TEveViewerList & operator=(const TEveViewerList &)
static Bool_t fgRecreateGlOnDockOps
TGLSAViewer * SpawnGLViewer(TGedEditor *ged=0, Bool_t stereo=kFALSE, Bool_t quad_buf=kTRUE)
Spawn new GLViewer and adopt it.
virtual void AddScene(TEveScene *scene)
Add 'scene' to the list of scenes.