43 REveElement *projected = i->GetProjectedAsElement();
104 for (
auto &prj: pable->RefProjecteds())
111 REveElement *projectedAsElement = prj->GetProjectedAsElement();
112 auto parentIt = projectedAsElement->
RefChildren().begin();
113 for (
auto &prod: elms->RefChildren())
131 else if (cnt < itemSize)
159 catch (
const std::runtime_error& iException)
161 std::cout <<
"Caught exception in build function for item " <<
m_collection->
GetName() <<
":\n"
162 << iException.what() << std::endl;
173 assert(
"virtual Build(const REveEventItem*, REveElement*, const REveViewContext*) not implemented by inherited class");
180 assert(
"virtual BuildViewType(const FWEventItem*, TEveElementList*, FWViewType::EType, const FWViewContext*) not implemented by inherited class");
197 if (viewType == prod->m_viewType)
198 return prod->m_elements;
203 auto product =
new Product(viewType, viewContext);
211 return product->m_elements;
296 if (prod->m_elements)
297 prod->m_elements->DestroyElements();
char * Form(const char *fmt,...)
std::vector< Product * > m_products
void SetHaveAWindow(bool)
virtual void SetCollection(REveDataCollection *)
void CollectionChanged(const REveDataCollection *)
virtual void BuildViewType(const REveDataCollection *iItem, REveElement *product, const std::string &viewType, const REveViewContext *)
REveDataCollection * m_collection
REveDataProxyBuilderBase()
void FillImpliedSelected(REveElement::Set_t &impSet)
virtual bool VisibilityModelChanges(int idx, REveElement *, const std::string &viewType, const REveViewContext *)
virtual void LocalModelChanges(int idx, REveElement *el, const REveViewContext *ctx)
REveElement * CreateProduct(const std::string &viewType, const REveViewContext *)
virtual void CollectionBeingDestroyed(const REveDataCollection *)
void ModelChanges(const REveDataCollection::Ids_t &)
virtual void CleanLocal()
void SetupElement(REveElement *el, bool color=true)
This method is invoked to setup the per element properties of the various objects being drawn.
virtual bool HaveSingleProduct() const
void SetupAddElement(REveElement *el, REveElement *parent, bool set_color=true)
const std::string & GetName() const
void CSCApplyMainTransparencyToMatchingChildren()
void CSCApplyMainColorToMatchingChildren()
virtual void SetMainTransparency(Char_t t)
Set main-transparency.
virtual void Annihilate()
Optimized destruction without check of reference-count.
void CSCTakeMotherAsMaster()
void SetPickable(Bool_t p)
const char * GetCName() const
virtual void AddElement(REveElement *el)
Add el to the list of children.
virtual Bool_t GetRnrSelf() const
REveElement * GetMother()
virtual Char_t GetMainTransparency() const
void IncDenyDestroy()
Increases the deny-destroy count of the element.
Int_t NumChildren() const
std::set< REveElement * > Set_t
virtual void SetMainColor(Color_t color)
Set main color of the element.
virtual Color_t GetMainColor() const
void SetName(const std::string &name)
Set name of an element.
virtual void RemoveElement(REveElement *el)
Remove el from the list of children.
virtual Bool_t HasProjecteds() const
ProjList_t & RefProjecteds()
REveProjectionManager Manager class for steering of projections and managing projected objects.
Float_t GetCurrentDepth() const
void SetCurrentDepth(Float_t d)
virtual REveElement * SubImportElements(REveElement *el, REveElement *proj_parent)
Recursively import elements and apply projection to the newly imported objects.
virtual Int_t SubImportChildren(REveElement *el, REveElement *proj_parent)
Recursively import children elements of el and apply projection to the newly imported objects.
Product(std::string viewType, const REveViewContext *c)
REveCompound * m_elements