Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
REveGeoTopNode.hxx
Go to the documentation of this file.
1
2#ifndef ROOT7_REveGeoTopNode
3#define ROOT7_REveGeoTopNode
4
6#include <ROOT/RGeomData.hxx>
8
9class TGeoNode;
10
11namespace ROOT {
12namespace Experimental {
13
14
16 public REveAuntAsList
17{
18 friend class REveGeoTopNodeViz;
19protected:
22
23 TGeoNode* fGeoNode{nullptr};
24 RGeomDescription fDesc; ///<! geometry description, send to the client as first message
25 std::shared_ptr<RGeomHierarchy> fWebHierarchy; ///<! web handle for hierarchy part
26
27public:
28 REveGeoTopNodeData(const Text_t *n = "REveGeoTopNodeData", const Text_t *t = "");
30
31 Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override;
32 void SetTNode(TGeoNode* n);
33 void ProcessSignal(const std::string &);
35
36 void SetChannel(unsigned connid, int chid);
37};
38//-------------------------------------------------------------------
40{
41 private:
44
46
47 public:
48 REveGeoTopNodeViz(const Text_t *n = "REveGeoTopNodeViz", const Text_t *t = "");
50 Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override;
51 void BuildRenderData() override;
52
53 bool RequiresExtraSelectionData() const override { return true; };
54 void FillExtraSelectionData(nlohmann::json& j, const std::set<int>& secondary_idcs) const override;
55
57 std::string GetHighlightTooltip(const std::set<int>& secondary_idcs) const override;
58};
59
60} // namespace Experimental
61} // namespace ROOT
62
63#endif
64
#define d(i)
Definition RSha256.hxx:102
char Text_t
Definition RtypesCore.h:62
virtual std::string GetHighlightTooltip(const std::set< int > &) const
void SetChannel(unsigned connid, int chid)
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
RGeomDescription fDesc
! geometry description, send to the client as first message
std::shared_ptr< RGeomHierarchy > fWebHierarchy
! web handle for hierarchy part
REveGeoTopNodeData(const REveGeoTopNodeData &)=delete
void ProcessSignal(const std::string &)
REveGeoTopNodeData & operator=(const REveGeoTopNodeData &)=delete
std::string GetHighlightTooltip(const std::set< int > &secondary_idcs) const override
void SetGeoData(REveGeoTopNodeData *d)
bool RequiresExtraSelectionData() const override
REveGeoTopNodeViz(const REveGeoTopNodeViz &)=delete
void BuildRenderData() override
Write transformation Matrix to render data.
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Write core json.
void FillExtraSelectionData(nlohmann::json &j, const std::set< int > &secondary_idcs) const override
REveGeoTopNodeViz & operator=(const REveGeoTopNodeViz &)=delete
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
Definition TGeoNode.h:39
const Int_t n
Definition legend1.C:16
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...