File indexing completed on 2025-01-18 10:10:40
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT7_REveSceneInfo
0013 #define ROOT7_REveSceneInfo
0014
0015 #include <ROOT/REveElement.hxx>
0016
0017 namespace ROOT {
0018 namespace Experimental {
0019
0020 class REveViewer;
0021 class REveScene;
0022
0023
0024
0025
0026
0027
0028 class REveSceneInfo : public REveElement
0029 {
0030 private:
0031 REveSceneInfo(const REveSceneInfo &) = delete;
0032 REveSceneInfo &operator=(const REveSceneInfo &) = delete;
0033
0034 protected:
0035 REveViewer *fViewer{nullptr};
0036 REveScene *fScene{nullptr};
0037
0038 public:
0039 REveSceneInfo(REveViewer *viewer, REveScene *scene);
0040 ~REveSceneInfo() override {}
0041
0042 Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override;
0043
0044 REveViewer *GetViewer() const { return fViewer; }
0045 REveScene *GetScene() const { return fScene; }
0046
0047 Bool_t SingleRnrState() const override { return kTRUE; }
0048
0049 Bool_t AcceptElement(REveElement *el) override;
0050 };
0051
0052 }
0053 }
0054
0055 #endif