4 #include "TEveGeoNode.h"
6 #include "TEveCompound.h"
62 iItem->
get( clusters );
63 if( 0 == clusters )
return;
66 for (TEveElement::List_i ei = product->BeginChildren(); ei != product->EndChildren(); ++ei) {
67 TEveElement* holder = *ei;
68 if (holder->HasChildren()) {
69 holder->SetRnrSelfChildren(
false,
false);
70 holder->RemoveElement(holder->LastChild());
76 for (
int i = 0;
i <= sdiff; ++
i)
79 TEveElement::List_i shapeIt =
m_shapeList->BeginChildren();
81 set != setEnd; ++set) {
83 unsigned int id = set->detId();
94 TEveGeoShape* shape = (TEveGeoShape*)(*shapeIt);
96 shape->SetTransMatrix(array);
97 shape->SetRnrSelf(
true);
102 TEveCompound* itemHolder = 0;
105 if (cntEl < product->NumChildren())
107 TEveElement::List_i pit = product->BeginChildren();
108 std::advance(pit, cntEl);
109 itemHolder = (TEveCompound*)*pit;
110 itemHolder->SetRnrSelfChildren(
true,
true);
112 line = (TEveLine*) (itemHolder->FirstChild());
118 line =
new TEveLine(
"line");
122 shape->SetMainTransparency(75);
125 float localTop[3] = { 0.0, 0.0, 0.0 };
126 float localBottom[3] = { 0.0, 0.0, 0.0 };
129 float globalBottom[3];
131 line->SetPoint(0, globalTop[0], globalTop[1], globalTop[2]);
132 line->SetPoint(1, globalBottom[0], globalBottom[1], globalBottom[2]);
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 void itemBeingDestroyed(const FWEventItem *)
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