#include <Fireworks/Core/interface/FWEveViewManager.h>
Classes | |
struct | BuilderInfo |
Public Member Functions | |
virtual void | eventBegin () |
virtual void | eventEnd () |
FWEveViewManager (FWGUIManager *) | |
void | highlightAdded (TEveElement *) |
virtual void | newItem (const FWEventItem *) |
virtual void | removeItem (const FWEventItem *) |
void | selectionAdded (TEveElement *) |
void | selectionCleared () |
void | selectionRemoved (TEveElement *) |
virtual void | setContext (const fireworks::Context *) |
FWTypeToRepresentations | supportedTypesAndRepresentations () const |
virtual | ~FWEveViewManager () |
Public Member Functions inherited from FWViewManagerBase | |
void | colorsChangedSlot () |
const fireworks::Context & | context () const |
void | modelChangesComingSlot () |
void | modelChangesDoneSlot () |
void | setChangeManager (FWModelChangeManager *iCM) |
void | setColorManager (FWColorManager *iCM) |
virtual | ~FWViewManagerBase () |
Protected Member Functions | |
virtual void | colorsChanged () |
virtual void | modelChangesComing () |
virtual void | modelChangesDone () |
Protected Member Functions inherited from FWViewManagerBase | |
FWModelChangeManager & | changeManager () const |
FWColorManager & | colorManager () const |
void * | createInstanceOf (const TClass *iBaseClass, const char *iNameOfClass) |
FWViewManagerBase () | |
Private Types | |
typedef std::vector < boost::shared_ptr < FWProxyBuilderBase > > | BuilderVec |
typedef BuilderVec::iterator | BuilderVec_it |
typedef std::vector < boost::shared_ptr< FWEveView > >::iterator | EveViewVec_it |
typedef std::map< std::string, std::vector< BuilderInfo > > | TypeToBuilder |
Private Member Functions | |
void | beingDestroyed (const FWViewBase *) |
FWViewBase * | buildView (TEveWindowSlot *iParent, const std::string &type) |
FWEveView * | finishViewCreate (boost::shared_ptr< FWEveView >) |
FWEveViewManager (const FWEveViewManager &) | |
void | globalEnergyScaleChanged () |
bool | haveViewForBit (int) const |
void | itemChanged (const FWEventItem *) |
void | modelChanges (const FWModelIds &iIds) |
const FWEveViewManager & | operator= (const FWEveViewManager &) |
Private Attributes | |
std::map< int, BuilderVec > | m_builders |
std::map< const FWEventItem *, FWInteractionList * > | m_interactionLists |
TypeToBuilder | m_typeToBuilder |
std::vector< std::vector < boost::shared_ptr< FWEveView > > > | m_views |
Description: [one line class summary]
Usage: <usage>
Definition at line 41 of file FWEveViewManager.h.
|
private |
Definition at line 98 of file FWEveViewManager.h.
|
private |
Definition at line 99 of file FWEveViewManager.h.
|
private |
Definition at line 100 of file FWEveViewManager.h.
|
private |
Definition at line 97 of file FWEveViewManager.h.
FWEveViewManager::FWEveViewManager | ( | FWGUIManager * | iGUIMgr | ) |
Definition at line 75 of file FWEveViewManager.cc.
References buildView(), category(), edmplugin::PluginManager::categoryToInfos(), f, first, newFWLiteAna::fullName, reco::get(), edmplugin::PluginManager::get(), i, FWViewType::idToName(), FWViewType::kTable, FWViewType::kTableHLT, FWViewType::kTableL1, FWViewType::kTypeSize, m_typeToBuilder, m_views, edmplugin::PluginInfo::name_, and FWGUIManager::registerViewBuilder().
|
virtual |
Definition at line 136 of file FWEveViewManager.cc.
|
private |
|
private |
Definition at line 399 of file FWEveViewManager.cc.
References begin, haveViewForBit(), i, m_builders, m_views, FWViewBase::typeId(), and FWEveView::viewContext().
Referenced by finishViewCreate().
|
private |
Definition at line 271 of file FWEveViewManager.cc.
References prof2calltree::back, finishViewCreate(), i, FWViewType::idToName(), FWViewType::k3D, FWViewType::kGlimpse, FWViewType::kISpy, FWViewType::kLego, FWViewType::kLegoHF, FWViewType::kLegoPFECAL, FWViewType::kRhoPhi, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, FWViewType::kTypeSize, and m_views.
Referenced by FWEveViewManager().
|
protectedvirtual |
Implements FWViewManagerBase.
Definition at line 593 of file FWEveViewManager.cc.
References begin, FWViewManagerBase::colorManager(), i, FWViewType::kTypeSize, m_views, and matplotRender::t.
|
virtual |
Reimplemented from FWViewManagerBase.
Definition at line 604 of file FWEveViewManager.cc.
References begin, FWViewManagerBase::context(), i, FWViewType::kTypeSize, m_views, fireworks::Context::resetMaxEtAndEnergy(), and matplotRender::t.
|
virtual |
Reimplemented from FWViewManagerBase.
Definition at line 618 of file FWEveViewManager.cc.
References begin, i, FWViewType::kTypeSize, m_views, and matplotRender::t.
Definition at line 316 of file FWEveViewManager.cc.
References FWColorManager::background(), beingDestroyed(), fireworks::Context::colorManager(), FWViewManagerBase::context(), FWEveView::eventScene(), i, FWRPZView::importElements(), m_builders, m_views, FWEveView::ownedProducts(), FWColorManager::setColorSetViewer(), and FWEveView::setContext().
Referenced by buildView().
|
private |
Definition at line 577 of file FWEveViewManager.cc.
References begin, i, FWViewType::kTypeSize, m_views, and matplotRender::t.
Referenced by setContext().
|
private |
Checks whether any of the views
Definition at line 712 of file FWEveViewManager.cc.
References FWViewType::kTypeSize, m_views, findQualityFiles::size, and matplotRender::t.
Referenced by beingDestroyed(), and newItem().
void FWEveViewManager::highlightAdded | ( | TEveElement * | iElement | ) |
Definition at line 735 of file FWEveViewManager.cc.
References evf::utils::blocked, FWViewManagerBase::context(), ExpressReco_HICollisions_FallBack::etaBin, fireworks::Context::getCaloData(), estimatePileup::hist, i, and ExpressReco_HICollisions_FallBack::phiBin.
|
private |
Callback of itemChanged_ signal. Iterate over all the builders for all the views and call itemChanged for any of the builders. If any of the builder also has at least one view, also update the interaction list.
Definition at line 501 of file FWEveViewManager.cc.
References FWProxyBuilderBase::getHaveWindow(), i, FWProxyBuilderBase::item(), FWProxyBuilderBase::itemChanged(), m_builders, and m_interactionLists.
Referenced by newItem().
|
private |
Callback of event item changed_ signal.
Definition at line 460 of file FWEveViewManager.cc.
References FWProxyBuilderBase::getHaveWindow(), i, FWProxyBuilderBase::item(), m_builders, m_interactionLists, and FWProxyBuilderBase::modelChanges().
Referenced by newItem().
|
protectedvirtual |
called when models have changed and so the display must be updated
Implements FWViewManagerBase.
Definition at line 447 of file FWEveViewManager.cc.
|
protectedvirtual |
Implements FWViewManagerBase.
Definition at line 453 of file FWEveViewManager.cc.
|
virtual |
This is invoked when a new item is created by the FWEventItemsManager. The workflow is the following
Implements FWViewManagerBase.
Definition at line 181 of file FWEveViewManager.cc.
References addElements(), FWEventItem::changed_, FWProxyBuilderBase::createProduct(), ExpressReco_HICollisions_FallBack::e, cmsCodeRules.cppFunctionSkipper::exception, fwLog, reco::get(), FWEventItem::goingToBeDestroyed_, FWProxyBuilderBase::havePerViewProduct(), haveViewForBit(), i, info, itemChanged(), FWEventItem::itemChanged_, FWViewType::kTypeSize, fwlog::kWarning, m_builders, m_interactionLists, FWEveViewManager::BuilderInfo::m_name, m_typeToBuilder, FWEveViewManager::BuilderInfo::m_viewBit, m_views, modelChanges(), FWEventItem::purpose(), removeItem(), FWProxyBuilderBase::setHaveWindow(), FWProxyBuilderBase::setInteractionList(), FWProxyBuilderBase::setItem(), findQualityFiles::size, matplotRender::t, FWEveView::viewContext(), and FWProxyBuilderBase::willHandleInteraction().
|
private |
|
virtual |
Remove an item from the given view.
Definition at line 537 of file FWEveViewManager.cc.
References i, m_builders, and m_interactionLists.
Referenced by newItem().
void FWEveViewManager::selectionAdded | ( | TEveElement * | iElement | ) |
Definition at line 650 of file FWEveViewManager.cc.
References FWFromEveSelectorBase::doSelect(), and getSelector().
void FWEveViewManager::selectionCleared | ( | ) |
Definition at line 666 of file FWEveViewManager.cc.
References FWSelectionManager::clearSelection(), FWViewManagerBase::context(), and fireworks::Context::selectionManager().
void FWEveViewManager::selectionRemoved | ( | TEveElement * | iElement | ) |
Definition at line 658 of file FWEveViewManager.cc.
References FWFromEveSelectorBase::doUnselect(), and getSelector().
|
virtual |
Reimplemented from FWViewManagerBase.
Definition at line 569 of file FWEveViewManager.cc.
References fireworks::Context::commonPrefs(), CmsShowCommon::getEnergyScale(), globalEnergyScaleChanged(), FWViewEnergyScale::parameterChanged_, and FWViewManagerBase::setContext().
|
virtual |
Implements FWViewManagerBase.
Definition at line 677 of file FWEveViewManager.cc.
References FWTypeToRepresentations::add(), info, FWEveViewManager::BuilderInfo::m_name, m_typeToBuilder, FWEveViewManager::BuilderInfo::m_viewBit, and AlCaRecoCosmics_cfg::name.
|
private |
Definition at line 104 of file FWEveViewManager.h.
Referenced by beingDestroyed(), finishViewCreate(), itemChanged(), modelChanges(), newItem(), and removeItem().
|
private |
Definition at line 108 of file FWEveViewManager.h.
Referenced by itemChanged(), modelChanges(), newItem(), and removeItem().
|
private |
Definition at line 102 of file FWEveViewManager.h.
Referenced by FWEveViewManager(), newItem(), and supportedTypesAndRepresentations().
|
private |
Definition at line 106 of file FWEveViewManager.h.
Referenced by beingDestroyed(), buildView(), colorsChanged(), eventBegin(), eventEnd(), finishViewCreate(), FWEveViewManager(), globalEnergyScaleChanged(), haveViewForBit(), and newItem().