4 #include "TEveGeoNode.h"
6 #include "TEveCompound.h"
31 TEveElement* iCompound,
61 for (TEveElement::List_i ei = product->BeginChildren(); ei != product->EndChildren(); ++ei) {
62 TEveElement* holder = *ei;
63 if (holder->HasChildren()) {
64 holder->SetRnrSelfChildren(
false,
false);
65 holder->RemoveElement(holder->LastChild());
71 for (
int i = 0;
i <= sdiff; ++
i)
74 TEveElement::List_i shapeIt =
m_shapeList->BeginChildren();
78 unsigned int id = set->detId();
99 TEveGeoShape* shape = (TEveGeoShape*)(*shapeIt);
101 shape->SetTransMatrix(
array);
102 shape->SetRnrSelf(
true);
106 TEveCompound* itemHolder =
nullptr;
107 TEveLine*
line =
nullptr;
109 if (cntEl < product->NumChildren()) {
110 TEveElement::List_i pit = product->BeginChildren();
111 std::advance(pit, cntEl);
112 itemHolder = (TEveCompound*)*pit;
113 itemHolder->SetRnrSelfChildren(
true,
true);
115 line = (TEveLine*)(itemHolder->FirstChild());
120 line =
new TEveLine(
"line");
124 shape->SetMainTransparency(75);
127 float localTop[3] = {0.0, 0.0, 0.0};
128 float localBottom[3] = {0.0, 0.0, 0.0};
131 float globalBottom[3];
133 line->SetPoint(0, globalTop[0], globalTop[1], globalTop[2]);
134 line->SetPoint(1, globalBottom[0], globalBottom[1], globalBottom[2]);
141 TEveElement* iCompound,