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 ~TEveSceneInfo() override {}
38
39 TEveViewer * GetViewer() const { return fViewer; }
40 TEveScene * GetScene() const { return fScene; }
42 TGLSceneBase * GetGLScene() const;
43
44 Bool_t SingleRnrState() const override { return kTRUE; }
45
46 void AddStamp(UChar_t bits) override;
47
48 Bool_t AcceptElement(TEveElement* el) override;
50
51 ClassDefOverride(TEveSceneInfo, 0); // TEveUtil representation of TGLSceneInfo.
52};
53
54#endif
bool Bool_t
Definition RtypesCore.h:63
unsigned char UChar_t
Definition RtypesCore.h:38
constexpr Bool_t kTRUE
Definition RtypesCore.h:93
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Definition TEveElement.h:36
TEveUtil representation of TGLSceneInfo.
void AddStamp(UChar_t bits) override
Override from TEveElement.
Bool_t HandleElementPaste(TEveElement *el) override
Virtual from TEveElement.
TGLSceneBase * GetGLScene() const
Return the TGLSceneBase represented by this SceneInfo object.
TEveViewer * GetViewer() const
TEveScene * GetScene() const
Bool_t AcceptElement(TEveElement *el) override
Virtual from TEveElement.
TEveScene * fScene
TEveSceneInfo(const TEveSceneInfo &)
TGLSceneInfo * GetGLSceneInfo() const
Bool_t SingleRnrState() const override
TEveViewer * fViewer
~TEveSceneInfo() override
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