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
17class TGLSceneBase;
18class TGLSceneInfo;
19
20class TEveViewer;
21class TEveScene;
22
24 public TNamed
25{
26private:
27 TEveSceneInfo(const TEveSceneInfo&); // Not implemented
28 TEveSceneInfo& operator=(const TEveSceneInfo&); // Not implemented
29
30protected:
34
35public:
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
unsigned char UChar_t
Definition: RtypesCore.h:38
bool Bool_t
Definition: RtypesCore.h:63
const Bool_t kTRUE
Definition: RtypesCore.h:100
#define ClassDef(name, id)
Definition: Rtypes.h:325
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Definition: TEveElement.h:36
TEveUtil representation of TGLSceneInfo.
Definition: TEveSceneInfo.h:25
virtual Bool_t AcceptElement(TEveElement *el)
Virtual from TEveElement.
virtual ~TEveSceneInfo()
Definition: TEveSceneInfo.h:37
TGLSceneBase * GetGLScene() const
Return the TGLSceneBase represented by this SceneInfo object.
TEveViewer * GetViewer() const
Definition: TEveSceneInfo.h:39
virtual void AddStamp(UChar_t bits)
Override from TEveElement.
TEveScene * GetScene() const
Definition: TEveSceneInfo.h:40
TEveScene * fScene
Definition: TEveSceneInfo.h:32
virtual Bool_t SingleRnrState() const
Definition: TEveSceneInfo.h:44
TEveSceneInfo(const TEveSceneInfo &)
TGLSceneInfo * GetGLSceneInfo() const
Definition: TEveSceneInfo.h:41
virtual Bool_t HandleElementPaste(TEveElement *el)
Virtual from TEveElement.
TEveViewer * fViewer
Definition: TEveSceneInfo.h:31
TEveSceneInfo & operator=(const TEveSceneInfo &)
TGLSceneInfo * fGLSceneInfo
Definition: TEveSceneInfo.h:33
Eve representation of TGLScene.
Definition: TEveScene.h:27
Eve representation of TGLViewer.
Definition: TEveViewer.h:31
Scene base-class – provides basic interface expected by the TGLViewer or its sub-classes:
Definition: TGLSceneBase.h:33
Base class for extended scene context.
Definition: TGLSceneInfo.h:28
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29