4 #include "TEveGeoNode.h" 6 #include "TEveCompound.h" 63 iItem->
get( clusters );
64 if( 0 == clusters )
return;
67 for (TEveElement::List_i ei = product->BeginChildren(); ei != product->EndChildren(); ++ei) {
68 TEveElement* holder = *ei;
69 if (holder->HasChildren()) {
70 holder->SetRnrSelfChildren(
false,
false);
71 holder->RemoveElement(holder->LastChild());
77 for (
int i = 0;
i <= sdiff; ++
i)
80 TEveElement::List_i shapeIt =
m_shapeList->BeginChildren();
82 set != setEnd; ++
set) {
84 unsigned int id =
set->detId();
95 TEveGeoShape* shape = (TEveGeoShape*)(*shapeIt);
97 shape->SetTransMatrix(array);
98 shape->SetRnrSelf(
true);
103 TEveCompound* itemHolder = 0;
106 if (cntEl < product->NumChildren())
108 TEveElement::List_i pit = product->BeginChildren();
109 std::advance(pit, cntEl);
110 itemHolder = (TEveCompound*)*pit;
111 itemHolder->SetRnrSelfChildren(
true,
true);
113 line = (TEveLine*) (itemHolder->FirstChild());
119 line =
new TEveLine(
"line");
123 shape->SetMainTransparency(75);
126 float localTop[3] = { 0.0, 0.0, 0.0 };
127 float localBottom[3] = { 0.0, 0.0, 0.0 };
130 float globalBottom[3];
132 line->SetPoint(0, globalTop[0], globalTop[1], globalTop[2]);
133 line->SetPoint(1, globalBottom[0], globalBottom[1], globalBottom[2]);
virtual void itemBeingDestroyed(const FWEventItem *) override
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
#define REGISTER_PROXYBUILDER_METHODS()
const_iterator end(bool update=false) const
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override
static const int kAllRPZBits
TEveElementList * m_shapeList
virtual void itemBeingDestroyed(const FWEventItem *)
IdToInfoItr find(unsigned int) const
const float * getParameters(unsigned int id) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void get(const T *&oData) const
TGeoShape * getShape(unsigned int id) const
data_type const * const_iterator
static const int kAll3DBits
void localSiStrip(short strip, float *localTop, float *localBottom, const float *pars, unsigned int id)
const FWSiStripClusterProxyBuilder & operator=(const FWSiStripClusterProxyBuilder &)
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
virtual ~FWSiStripClusterProxyBuilder(void)
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
const FWGeometry * getGeom() const
void increaseComponentTransparency(unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset)
FWSiStripClusterProxyBuilder(void)
const_iterator begin(bool update=false) const