4 #include "TEveGeoNode.h"
5 #include "TEveStraightLineSet.h"
6 #include "TEveCompound.h"
25 virtual void clean()
override;
51 TEveElement* elms = (*i)->m_elements;
52 for (TEveElement::List_i it = elms->BeginChildren(); it != elms->EndChildren(); ++it)
53 (*it)->DestroyElements();
75 iItem->
get( clusters );
76 if( 0 == clusters )
return;
80 set != setEnd; ++set) {
81 unsigned int id = set->detId();
86 shape->SetMainTransparency( 75 );
87 shape->SetElementName(
"Det" );
93 <<
"failed to get shape of SiStripCluster with detid: "
100 TEveCompound* itemHolder = 0;
101 if (cnt < product->NumChildren())
103 TEveElement::List_i pit = product->BeginChildren();
104 std::advance(pit, cnt);
105 itemHolder = (TEveCompound*)*pit;
106 itemHolder->SetRnrSelfChildren(
true,
true);
124 <<
"failed to geometry of SiStripCluster with detid: "
131 TEveStraightLineSet *lineSet =
new TEveStraightLineSet(
"strip" );
133 float localTop[3] = { 0.0, 0.0, 0.0 };
134 float localBottom[3] = { 0.0, 0.0, 0.0 };
139 float globalBottom[3];
142 lineSet->AddLine( globalTop[0], globalTop[1], globalTop[2],
143 globalBottom[0], globalBottom[1], globalBottom[2] );
std::vector< Product * >::iterator Product_it
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_)
std::vector< Product * > m_products
bool contains(EventRange const &lh, EventID const &rh)
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override
static const int kAllRPZBits
const float * getParameters(unsigned int id) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void get(const T *&oData) const
data_type const * const_iterator
const FWEventItem * item() const
static const int kAll3DBits
void localSiStrip(short strip, float *localTop, float *localBottom, const float *pars, unsigned int id)
const FWSiStripClusterProxyBuilder & operator=(const FWSiStripClusterProxyBuilder &)
TEveGeoShape * getEveShape(unsigned int id) const
virtual void cleanLocal() override
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
std::vector< TEveGeoShape * > m_shapeMap
virtual void clean() override
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)
virtual ~FWSiStripClusterProxyBuilder(void)
FWSiStripClusterProxyBuilder(void)
const_iterator begin(bool update=false) const