15 #include "TEveCompound.h"
16 #include "TEveManager.h"
17 #include "TEveSelection.h"
53 if ((*i)->GetUserData())
54 delete reinterpret_cast<FWFromEveSelectorBase*>((*i)->GetUserData());
56 (*i)->RemoveElements();
57 (*i)->DecDenyDestroy();
88 TEveCompound*
c =
new TEveCompound(name.c_str(), name.c_str());
94 c->CSCImplySelectAllChildren();
95 c->CSCApplyMainColorToAllChildren();
96 c->CSCApplyMainTransparencyToAllChildren();
121 for (std::set<FWModelId>::const_iterator it = iIds.begin(); it != iIds.end(); ++it)
128 comp->SetMainColor(p.
color());
133 if (comp->GetSelectedLevel() != 1)
134 gEve->GetSelection()->AddElement(comp);
138 if (comp->GetSelectedLevel() == 1)
139 gEve->GetSelection()->RemoveElement(comp);
160 comp->SetElementTitle(name.c_str());
168 if (p.
color() != comp->GetMainColor())
169 comp->SetMainColor(p.
color());
const FWDisplayProperties & defaultDisplayProperties() const
const FWDisplayProperties & displayProperties() const
virtual ~FWInteractionList()
std::string modelName(int iIndex) const
bool haveInterestingValue() const
std::set< FWModelId > FWModelIds
FWInteractionList(const FWEventItem *item)
void added(TEveElement *, unsigned int)
const FWEventItem * m_item
Char_t transparency() const
const std::string & modelInterestingValueAsString(int iIndex) const
void modelChanges(const std::set< FWModelId > &)
std::vector< TEveCompound * > m_compounds
ModelInfo modelInfo(int iIndex) const