8 #include "TGeoMatrix.h"
38 std::advance(sit, topIdx);
42 bool drawsChildren =
false;
57 const TGeoHMatrix& parentMtx) {
58 TGeoNode* parentNode = pIt->m_node;
59 int nD = parentNode->GetNdaughters();
66 bool drawsChildNodes =
false;
69 for (
int n = 0;
n != nD; ++
n) {
71 std::advance(it,
n + dOff);
72 cnt = pcnt +
n + dOff;
74 TGeoHMatrix nm = parentMtx;
75 nm.Multiply(it->m_node->GetMatrix());
77 bool drawsChildNodesSecondGen =
false;
85 drawsChildNodes =
true;
97 drawsChildNodes =
true;
101 drawsChildNodes |= drawsChildNodesSecondGen;
105 return drawsChildNodes;
111 std::set<TGLPhysicalShape*>::iterator it =
fHted.begin();
126 nodePopup->Connect(
"Activated(Int_t)",
"FWGeometryTableView",
m_browser,
"chosenItem(Int_t)");
const char * name() const
void Paint(Option_t *option="") override
bool paintChildNodesRecurse(FWGeometryTableManagerBase::Entries_i pIt, Int_t idx, const TGeoHMatrix &mtx)
FWEveDetectorGeo(FWGeometryTableView *v)
void getNodeMatrix(const NodeInfo &nodeInfo, TGeoHMatrix &mat) const
std::string getFilter() const
bool isSelectedByRegion() const
void popupMenu(int x, int y, TGLViewer *) override
FWGeometryTableViewBase * browser() override
TString GetHighlightTooltip() override
bool getIgnoreVisLevelWhenFilter() const
static void getNNodesTotal(TGeoNode *geoNode, int &off)
FWPopupMenu * setPopupMenu(int iX, int iY, TGLViewer *v, bool)
FWGeometryTableManagerBase * tableManager() override
FWGeometryTableManagerBase * getTableManager() override
static TGeoManager * getGeoMangeur()
bool getVolumeMode() const
std::set< TGLPhysicalShape * > fHted
void paintShape(Int_t idx, const TGeoHMatrix &nm, bool volumeColor, bool parentNode)
FWGeometryTableView * m_browser
char data[epos_bytes_allocation]
int getTopNodeIdx() const
void Paint(Option_t *option="") override
int getLevelOffset() const
Entries_v::iterator Entries_i
static int tableIdx(TGLPhysicalShape *ps)