2 #include "TGeoOverlap.h" 39 std::advance(sit,topNodeIdx );
43 bool drawsChildren =
false;
49 paintShape(topNodeIdx,mtx,
false, drawsChildren);
57 TGeoNode* parentNode = pIt->m_node;
58 int nD = parentNode->GetNdaughters();
65 bool drawsChildren =
false;
68 for (
int n = 0;
n != nD; ++
n)
71 std::advance(it,
n + dOff);
74 TGeoHMatrix nm = parentMtx;
75 nm.Multiply(it->m_node->GetMatrix());
77 bool drawsChildrenSecondGen =
false;
85 int nno;it->m_node->GetOverlaps(nno);
89 paintShape(cnt , nm,
false, drawsChildrenSecondGen);
96 paintShape(cnt , nm,
false, drawsChildrenSecondGen);
101 drawsChildren |= drawsChildrenSecondGen;
104 return drawsChildren;
113 std::set<TGLPhysicalShape*>::iterator it =
fHted.begin();
117 return Form(
"TopNode ");
138 if (nodePopup) nodePopup->Connect(
"Activated(Int_t)",
139 "FWOverlapTableView",
141 "chosenItem(Int_t)");
const char * name() const
FWBoolParameter m_rnrOverlap
FWOverlapTableView * m_browser
void getNodeMatrix(const NodeInfo &nodeInfo, TGeoHMatrix &mat) const
bool paintChildNodesRecurse(FWGeometryTableManagerBase::Entries_i pIt, Int_t idx, const TGeoHMatrix &mtx)
virtual void Paint(Option_t *option="")
virtual FWGeometryTableManagerBase * getTableManager()
virtual TString GetHighlightTooltip()
FWBoolParameter m_rnrExtrusion
virtual void popupMenu(int x, int y, TGLViewer *v)
FWEveOverlap(FWOverlapTableView *v)
virtual void Paint(Option_t *option="")
virtual FWGeometryTableManagerBase * tableManager()
static void getNNodesTotal(TGeoNode *geoNode, int &off)
FWPopupMenu * setPopupMenu(int iX, int iY, TGLViewer *v, bool)
static TGeoManager * getGeoMangeur()
virtual FWGeometryTableViewBase * browser()
std::set< TGLPhysicalShape * > fHted
void paintShape(Int_t idx, const TGeoHMatrix &nm, bool volumeColor, bool parentNode)
char data[epos_bytes_allocation]
int getTopNodeIdx() const
Entries_v::iterator Entries_i
static int tableIdx(TGLPhysicalShape *ps)
bool testBit(UChar_t f) const