15 #include "TEveCompound.h"
16 #include "TEveManager.h"
17 #include "TEveSelection.h"
47 if ((*i)->GetUserData())
48 delete reinterpret_cast<FWFromEveSelectorBase*>((*i)->GetUserData());
50 (*i)->RemoveElements();
51 (*i)->DecDenyDestroy();
77 TEveCompound*
c =
new TEveCompound(name.c_str(), name.c_str());
83 c->CSCImplySelectAllChildren();
84 c->CSCApplyMainColorToAllChildren();
85 c->CSCApplyMainTransparencyToAllChildren();
107 for (std::set<FWModelId>::const_iterator it = iIds.begin(); it != iIds.end(); ++it) {
113 comp->SetMainColor(p.
color());
117 if (comp->GetSelectedLevel() != 1)
118 gEve->GetSelection()->AddElement(comp);
120 if (comp->GetSelectedLevel() == 1)
121 gEve->GetSelection()->RemoveElement(comp);
140 comp->SetElementTitle(name.c_str());
148 if (p.
color() != comp->GetMainColor())
149 comp->SetMainColor(p.
color());
const FWDisplayProperties & defaultDisplayProperties() const
const edm::EventSetup & c
const FWDisplayProperties & displayProperties() const
virtual ~FWInteractionList()
std::string modelName(int iIndex) const
bool haveInterestingValue() const
FWInteractionList(const FWEventItem *item)
void added(TEveElement *, unsigned int)
const FWEventItem * m_item
Char_t transparency() const
std::set< FWModelId > FWModelIds
const std::string & modelInterestingValueAsString(int iIndex) const
void modelChanges(const std::set< FWModelId > &)
std::vector< TEveCompound * > m_compounds
ModelInfo modelInfo(int iIndex) const