2 #include "TGeoOverlap.h" 28 std::advance(sit, topNodeIdx);
32 bool drawsChildren =
false;
38 paintShape(topNodeIdx, mtx,
false, drawsChildren);
44 const TGeoHMatrix& parentMtx) {
45 TGeoNode* parentNode = pIt->m_node;
46 int nD = parentNode->GetNdaughters();
53 bool drawsChildren =
false;
56 for (
int n = 0;
n != nD; ++
n) {
58 std::advance(it,
n + dOff);
59 cnt = pcnt +
n + dOff;
61 TGeoHMatrix nm = parentMtx;
62 nm.Multiply(it->m_node->GetMatrix());
64 bool drawsChildrenSecondGen =
false;
71 it->m_node->GetOverlaps(nno);
74 paintShape(cnt, nm,
false, drawsChildrenSecondGen);
79 paintShape(cnt, nm,
false, drawsChildrenSecondGen);
84 drawsChildren |= drawsChildrenSecondGen;
94 std::set<TGLPhysicalShape*>::iterator it =
fHted.begin();
97 return Form(
"TopNode ");
116 nodePopup->Connect(
"Activated(Int_t)",
"FWOverlapTableView",
m_browser,
"chosenItem(Int_t)");
const char * name() const
FWBoolParameter m_rnrOverlap
void Paint(Option_t *option="") override
FWOverlapTableView * m_browser
void popupMenu(int x, int y, TGLViewer *v) override
FWGeometryTableManagerBase * getTableManager() override
void getNodeMatrix(const NodeInfo &nodeInfo, TGeoHMatrix &mat) const
bool paintChildNodesRecurse(FWGeometryTableManagerBase::Entries_i pIt, Int_t idx, const TGeoHMatrix &mtx)
TString GetHighlightTooltip() override
FWBoolParameter m_rnrExtrusion
FWEveOverlap(FWOverlapTableView *v)
FWGeometryTableManagerBase * tableManager() override
static void getNNodesTotal(TGeoNode *geoNode, int &off)
FWPopupMenu * setPopupMenu(int iX, int iY, TGLViewer *v, bool)
static TGeoManager * getGeoMangeur()
std::set< TGLPhysicalShape * > fHted
void paintShape(Int_t idx, const TGeoHMatrix &nm, bool volumeColor, bool parentNode)
FWGeometryTableViewBase * browser() override
char data[epos_bytes_allocation]
int getTopNodeIdx() const
void Paint(Option_t *option="") override
Entries_v::iterator Entries_i
static int tableIdx(TGLPhysicalShape *ps)
bool testBit(UChar_t f) const