Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
virtual Bool_t AcceptElement(TEveElement *el)
Virtual from TEveElement.
virtual ~TEveSceneInfo()
TGLSceneBase * GetGLScene() const
Return the TGLSceneBase represented by this SceneInfo object.
TEveViewer * GetViewer() const
virtual void AddStamp(UChar_t bits)
Override from TEveElement.
TEveScene * GetScene() const
TEveScene * fScene
virtual Bool_t SingleRnrState() const
TEveSceneInfo(const TEveSceneInfo &)
TGLSceneInfo * GetGLSceneInfo() const
virtual Bool_t HandleElementPaste(TEveElement *el)
Virtual from TEveElement.
TEveViewer * fViewer
TEveSceneInfo & operator=(const TEveSceneInfo &)
TGLSceneInfo * fGLSceneInfo
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:
Base class for extended scene context.
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29