Logo ROOT  
Reference Guide
REveSceneInfo.hxx
Go to the documentation of this file.
1// @(#)root/eve7:$Id$
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2019, 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 ROOT7_REveSceneInfo
13#define ROOT7_REveSceneInfo
14
15#include <ROOT/REveElement.hxx>
16
17namespace ROOT {
18namespace Experimental {
19
20class REveViewer;
21class REveScene;
22
23/////////////////////////////////////////////////////////////////////////////
24/// REveSceneInfo
25/// Scene in a viewer.
26/////////////////////////////////////////////////////////////////////////////
27
29{
30private:
31 REveSceneInfo(const REveSceneInfo &) = delete;
33
34protected:
35 REveViewer *fViewer{nullptr}; ///<!
36 REveScene *fScene{nullptr}; ///<!
37
38public:
39 REveSceneInfo(REveViewer *viewer, REveScene *scene);
40 virtual ~REveSceneInfo() {}
41
42 Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override;
43
44 REveViewer *GetViewer() const { return fViewer; }
45 REveScene *GetScene() const { return fScene; }
46
47 Bool_t SingleRnrState() const override { return kTRUE; }
48
49 Bool_t AcceptElement(REveElement *el) override;
50};
51
52} // namespace Experimental
53} // namespace ROOT
54
55#endif
int Int_t
Definition: RtypesCore.h:45
bool Bool_t
Definition: RtypesCore.h:63
const Bool_t kTRUE
Definition: RtypesCore.h:100
Eve representation of TGLScene.
Eve representation of a GL view.
REveSceneInfo Scene in a viewer.
Bool_t SingleRnrState() const override
REveSceneInfo & operator=(const REveSceneInfo &)=delete
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
REveSceneInfo(const REveSceneInfo &)=delete
Bool_t AcceptElement(REveElement *el) override
Virtual from REveElement.
REveViewer Reve representation of TGLViewer.
Definition: REveViewer.hxx:28
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...