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) {
112 comp->EnableListElements(
p.isVisible(),
p.isVisible());
113 comp->SetMainColor(
p.color());
114 comp->SetMainTransparency(
p.transparency());
116 if (
info.isSelected()) {
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());
145 if (
p.isVisible() !=
comp->GetRnrSelf())
146 comp->EnableListElements(
p.isVisible(),
p.isVisible());
148 if (
p.color() !=
comp->GetMainColor())
149 comp->SetMainColor(
p.color());
151 if (
p.transparency() !=
comp->GetMainTransparency())
152 comp->SetMainTransparency(
p.transparency());
virtual ~FWInteractionList()
Char_t transparency() const
FWInteractionList(const FWEventItem *item)
void added(TEveElement *, unsigned int)
const std::string & modelInterestingValueAsString(int iIndex) const
const FWEventItem * m_item
std::string modelName(int iIndex) const
std::set< FWModelId > FWModelIds
const FWDisplayProperties & defaultDisplayProperties() const
void modelChanges(const std::set< FWModelId > &)
std::vector< TEveCompound * > m_compounds
bool haveInterestingValue() const
ModelInfo modelInfo(int iIndex) const