Logo ROOT   6.12/07
Reference Guide
TEveSceneInfo.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEveSceneInfo
13 #define ROOT_TEveSceneInfo
14 
15 #include "TEveElement.h"
16 
17 class TGLSceneBase;
18 class TGLSceneInfo;
19 
20 class TEveViewer;
21 class TEveScene;
22 
23 class TEveSceneInfo : public TEveElement,
24  public TNamed
25 {
26 private:
27  TEveSceneInfo(const TEveSceneInfo&); // Not implemented
28  TEveSceneInfo& operator=(const TEveSceneInfo&); // Not implemented
29 
30 protected:
34 
35 public:
36  TEveSceneInfo(TEveViewer* viewer, TEveScene* scene, TGLSceneInfo* sinfo);
37  virtual ~TEveSceneInfo() {}
38 
39  TEveViewer * GetViewer() const { return fViewer; }
40  TEveScene * GetScene() const { return fScene; }
42  TGLSceneBase * GetGLScene() const;
43 
44  virtual Bool_t SingleRnrState() const { return kTRUE; }
45 
46  virtual void AddStamp(UChar_t bits);
47 
48  virtual Bool_t AcceptElement(TEveElement* el);
50 
51  ClassDef(TEveSceneInfo, 0); // TEveUtil representation of TGLSceneInfo.
52 };
53 
54 #endif
virtual void AddStamp(UChar_t bits)
Override from TEveElement.
Eve representation of TGLScene.
Definition: TEveScene.h:26
Scene base-class – provides basic interface expected by the TGLViewer or its sub-classes: ...
Definition: TGLSceneBase.h:32
bool Bool_t
Definition: RtypesCore.h:59
virtual Bool_t HandleElementPaste(TEveElement *el)
Virtual from TEveElement.
TEveUtil representation of TGLSceneInfo.
Definition: TEveSceneInfo.h:23
#define ClassDef(name, id)
Definition: Rtypes.h:320
virtual ~TEveSceneInfo()
Definition: TEveSceneInfo.h:37
TEveSceneInfo(const TEveSceneInfo &)
TEveScene * fScene
Definition: TEveSceneInfo.h:32
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
TGLSceneInfo * fGLSceneInfo
Definition: TEveSceneInfo.h:33
TEveScene * GetScene() const
Definition: TEveSceneInfo.h:40
TGLSceneInfo * GetGLSceneInfo() const
Definition: TEveSceneInfo.h:41
TEveSceneInfo & operator=(const TEveSceneInfo &)
TEveViewer * fViewer
Definition: TEveSceneInfo.h:31
TEveViewer * GetViewer() const
Definition: TEveSceneInfo.h:39
TGLSceneBase * GetGLScene() const
Return the TGLSceneBase represented by this SceneInfo object.
virtual Bool_t AcceptElement(TEveElement *el)
Virtual from TEveElement.
Base class for extended scene context.
Definition: TGLSceneInfo.h:26
unsigned char UChar_t
Definition: RtypesCore.h:34
const Bool_t kTRUE
Definition: RtypesCore.h:87
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Definition: TEveElement.h:33
Eve representation of TGLViewer.
Definition: TEveViewer.h:30
virtual Bool_t SingleRnrState() const
Definition: TEveSceneInfo.h:44