Logo ROOT  
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
TEveElement
Definition: TEveElement.h:35
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
TEveSceneInfo::GetViewer
TEveViewer * GetViewer() const
Definition: TEveSceneInfo.h:39
TGLSceneBase
Definition: TGLSceneBase.h:32
TEveSceneInfo::AcceptElement
virtual Bool_t AcceptElement(TEveElement *el)
Virtual from TEveElement.
Definition: TEveSceneInfo.cxx:63
TEveScene
Definition: TEveScene.h:26
TEveSceneInfo::TEveSceneInfo
TEveSceneInfo(const TEveSceneInfo &)
TEveElement.h
TEveSceneInfo::GetGLScene
TGLSceneBase * GetGLScene() const
Return the TGLSceneBase represented by this SceneInfo object.
Definition: TEveSceneInfo.cxx:41
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
bool
TEveSceneInfo
Definition: TEveSceneInfo.h:23
TEveViewer
Definition: TEveViewer.h:30
TEveSceneInfo::SingleRnrState
virtual Bool_t SingleRnrState() const
Definition: TEveSceneInfo.h:44
TEveSceneInfo::fGLSceneInfo
TGLSceneInfo * fGLSceneInfo
Definition: TEveSceneInfo.h:33
TEveSceneInfo::operator=
TEveSceneInfo & operator=(const TEveSceneInfo &)
TNamed
Definition: TNamed.h:29
TEveSceneInfo::~TEveSceneInfo
virtual ~TEveSceneInfo()
Definition: TEveSceneInfo.h:37
TEveSceneInfo::AddStamp
virtual void AddStamp(UChar_t bits)
Override from TEveElement.
Definition: TEveSceneInfo.cxx:50
UChar_t
unsigned char UChar_t
Definition: RtypesCore.h:38
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TEveSceneInfo::fScene
TEveScene * fScene
Definition: TEveSceneInfo.h:32
TEveSceneInfo::HandleElementPaste
virtual Bool_t HandleElementPaste(TEveElement *el)
Virtual from TEveElement.
Definition: TEveSceneInfo.cxx:75
TEveSceneInfo::GetScene
TEveScene * GetScene() const
Definition: TEveSceneInfo.h:40
TEveSceneInfo::GetGLSceneInfo
TGLSceneInfo * GetGLSceneInfo() const
Definition: TEveSceneInfo.h:41
TGLSceneInfo
Definition: TGLSceneInfo.h:27
TEveSceneInfo::fViewer
TEveViewer * fViewer
Definition: TEveSceneInfo.h:31