4 #include "TEveGeoNode.h"
6 #include "TEveCompound.h"
7 #include "TEveGeoShape.h"
32 TEveElement* iCompound,
62 for (TEveElement::List_i ei = product->BeginChildren(); ei != product->EndChildren(); ++ei) {
63 TEveElement* holder = *ei;
64 if (holder->HasChildren()) {
65 holder->SetRnrSelfChildren(
false,
false);
66 holder->RemoveElement(holder->LastChild());
72 for (
int i = 0;
i <= sdiff; ++
i)
75 TEveElement::List_i shapeIt =
m_shapeList->BeginChildren();
79 unsigned int id = set->detId();
100 TEveGeoShape* shape = (TEveGeoShape*)(*shapeIt);
102 shape->SetTransMatrix(
array);
103 shape->SetRnrSelf(
true);
107 TEveCompound* itemHolder =
nullptr;
108 TEveLine*
line =
nullptr;
110 if (cntEl < product->NumChildren()) {
111 TEveElement::List_i pit = product->BeginChildren();
112 std::advance(pit, cntEl);
113 itemHolder = (TEveCompound*)*pit;
114 itemHolder->SetRnrSelfChildren(
true,
true);
116 line = (TEveLine*)(itemHolder->FirstChild());
121 line =
new TEveLine(
"line");
125 shape->SetMainTransparency(75);
128 float localTop[3] = {0.0, 0.0, 0.0};
129 float localBottom[3] = {0.0, 0.0, 0.0};
132 float globalBottom[3];
134 line->SetPoint(0, globalTop[0], globalTop[1], globalTop[2]);
135 line->SetPoint(1, globalBottom[0], globalBottom[1], globalBottom[2]);
142 TEveElement* iCompound,