17 #include "TEveCompound.h" 59 if ((*i)->m_elements) {
60 TEveElement* elms = (*i)->m_elements;
61 for (TEveElement::List_i
it = elms->BeginChildren();
it != elms->EndChildren(); ++
it)
62 (*it)->DestroyElements();
77 TEveElement::List_i pIdx = product->BeginChildren();
79 TEveElement* itemHolder =
nullptr;
80 if (index < product->NumChildren()) {
82 itemHolder->SetRnrSelfChildren(
true,
true);
86 product->AddElement(itemHolder);
96 TEveElementList* product,
100 TEveElement::List_i pIdx = product->BeginChildren();
102 TEveElement* itemHolder =
nullptr;
103 if (index < product->NumChildren()) {
105 itemHolder->SetRnrSelfChildren(
true,
true);
109 product->AddElement(itemHolder);
119 TEveElement* iCompound,
123 bool returnValue =
false;
124 if (
info.displayProperties().isVisible() && iCompound->NumChildren() == 0) {
std::vector< Product * >::iterator Product_it
const void * modelData(int iIndex) const
bool visibilityModelChanges(const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) override
std::vector< Product * > m_products
FWSimpleProxyBuilder(const std::type_info &iType)
virtual void cleanLocal()
virtual bool haveSingleProduct() const
const FWDisplayProperties & displayProperties() const
~FWSimpleProxyBuilder() override
const FWEventItem * item() const
const void * offsetObject(const void *iObj) const
FWSimpleProxyHelper m_helper
void buildViewType(const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override
static std::string typeOfBuilder()
Used by the plugin system to determine how the proxy uses the data from FWEventItem.
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
ModelInfo modelInfo(int iIndex) const
void itemChanged(const FWEventItem *)
virtual void itemChangedImp(const FWEventItem *)