#include <FWEveView.h>
Public Member Functions | |
virtual void | addTo (FWConfiguration &) const |
const fireworks::Context & | context () |
virtual FWViewContextMenuHandlerBase * | contextMenuHandler () const |
virtual void | eventBegin () |
virtual void | eventEnd () |
TEveScene * | eventScene () |
FWEveView (TEveWindowSlot *, FWViewType::EType, unsigned int version=7) | |
TEveScene * | geoScene () |
virtual bool | isEnergyScaleGlobal () const |
TEveElement * | ownedProducts () |
virtual void | populateController (ViewerParameterGUI &) const |
virtual bool | requestGLHandlerPick () const |
virtual void | saveImageTo (const std::string &iName) const |
virtual void | setBackgroundColor (Color_t) |
virtual void | setContext (const fireworks::Context &x) |
virtual void | setFrom (const FWConfiguration &) |
virtual void | setupEnergyScale () |
virtual void | useGlobalEnergyScaleChanged () |
FWViewContext * | viewContext () |
TEveViewer * | viewer () |
TGLViewer * | viewerGL () const |
virtual void | voteCaloMaxVal () |
virtual | ~FWEveView () |
Public Member Functions inherited from FWViewBase | |
void | destroy () |
FWViewBase (FWViewType::EType, unsigned int iVersion=1) | |
void | promptForSaveImageTo (TGFrame *) const |
FWViewType::EType | typeId () const |
const std::string & | typeName () const |
Public Member Functions inherited from FWConfigurableParameterizable | |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
unsigned int | version () const |
virtual | ~FWConfigurableParameterizable () |
Public Member Functions inherited from FWParameterizable | |
void | add (FWParameterBase *) |
const_iterator | begin () const |
const_iterator | end () const |
FWParameterizable () | |
virtual | ~FWParameterizable () |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
virtual | ~FWConfigurable () |
Protected Member Functions | |
void | addToOrthoCamera (TGLOrthoCamera *, FWConfiguration &) const |
void | addToPerspectiveCamera (TGLPerspectiveCamera *, const std::string &, FWConfiguration &) const |
virtual void | cameraGuideChanged () |
virtual TEveCaloViz * | getEveCalo () const |
virtual void | pointLineScalesChanged () |
virtual void | resetCamera () |
void | setFromOrthoCamera (TGLOrthoCamera *, const FWConfiguration &) |
void | setFromPerspectiveCamera (TGLPerspectiveCamera *, const std::string &, const FWConfiguration &) |
Protected Member Functions inherited from FWViewBase | |
virtual | ~FWViewBase () |
Protected Attributes | |
const fireworks::Context * | m_context |
Protected Attributes inherited from FWViewBase | |
FWViewType | m_type |
Private Member Functions | |
FWEveView (const FWEveView &) | |
const FWEveView & | operator= (const FWEveView &) |
Private Attributes | |
TGLCameraGuide * | m_cameraGuide |
FWBoolParameter | m_drawCMSLogo |
ScaleAnnotation * | m_energyMaxValAnnotation |
FWEnumParameter | m_eventInfoLevel |
TEveScene * | m_eventScene |
TEveScene * | m_geoScene |
FWDoubleParameter | m_imageScale |
FWDoubleParameter | m_lineOutlineScale |
FWBoolParameter | m_lineSmooth |
FWDoubleParameter | m_lineWidth |
FWDoubleParameter | m_lineWireframeScale |
std::auto_ptr< FWViewEnergyScale > | m_localEnergyScale |
FWEventAnnotation * | m_overlayEventInfo |
CmsAnnotation * | m_overlayLogo |
TEveElement * | m_ownedProducts |
FWDoubleParameter | m_pointSize |
FWBoolParameter | m_pointSmooth |
FWBoolParameter | m_showCameraGuide |
FWBoolParameter | m_useGlobalEnergyScale |
std::auto_ptr< FWViewContext > | m_viewContext |
boost::shared_ptr < FWViewContextMenuHandlerGL > | m_viewContextMenu |
FWViewEnergyScaleEditor * | m_viewEnergyScaleEditor |
TEveViewer * | m_viewer |
Additional Inherited Members | |
Public Types inherited from FWParameterizable | |
typedef std::vector < FWParameterBase * > ::const_iterator | const_iterator |
Public Attributes inherited from FWViewBase | |
sigc::signal< void, const FWViewBase * > | beingDestroyed_ |
sigc::signal< void, Int_t, Int_t > | openSelectedModelContextMenu_ |
Definition at line 52 of file FWEveView.h.
FWEveView::FWEveView | ( | TEveWindowSlot * | iParent, |
FWViewType::EType | type, | ||
unsigned int | version = 7 |
||
) |
Definition at line 79 of file FWEveView.cc.
References FWEnumParameter::addEntry(), cameraGuideChanged(), FWGenericParameter< T >::changed_, m_cameraGuide, m_drawCMSLogo, m_energyMaxValAnnotation, m_eventInfoLevel, m_eventScene, m_geoScene, m_lineOutlineScale, m_lineSmooth, m_lineWidth, m_lineWireframeScale, m_localEnergyScale, m_overlayEventInfo, m_overlayLogo, m_ownedProducts, m_pointSize, m_pointSmooth, m_showCameraGuide, m_useGlobalEnergyScale, m_viewContext, m_viewContextMenu, m_viewer, FWGLEventHandler::openSelectedModelContextMenu_, FWViewBase::openSelectedModelContextMenu_, pointLineScalesChanged(), FWEventAnnotation::setLevel(), setupEnergyScale(), FWGLEventHandler::setViewer(), CmsAnnotation::setVisible(), FWViewBase::typeName(), useGlobalEnergyScaleChanged(), and viewerGL().
|
virtual |
|
private |
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Reimplemented in FWLegoViewBase, FW3DViewBase, FWRPZView, and FWGlimpseView.
Definition at line 337 of file FWEveView.cc.
References CmsAnnotation::addTo(), FWEventAnnotation::addTo(), FWConfigurableParameterizable::addTo(), m_overlayEventInfo, m_overlayLogo, and m_viewContext.
Referenced by FWGlimpseView::addTo(), FWRPZView::addTo(), FW3DViewBase::addTo(), and FWLegoViewBase::addTo().
|
protected |
Definition at line 409 of file FWEveView.cc.
References FWConfiguration::addKeyValue(), i, mergeVDriftHistosByStation::name, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and FWViewBase::typeName().
Referenced by FWRPZView::addTo(), and FWLegoViewBase::addTo().
|
protected |
Definition at line 465 of file FWEveView.cc.
References FWConfiguration::addKeyValue(), i, mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWGlimpseView::addTo(), FW3DViewBase::addTo(), and FWLegoViewBase::addTo().
|
protectedvirtual |
Definition at line 233 of file FWEveView.cc.
References m_cameraGuide, m_showCameraGuide, FWGenericParameter< T >::value(), and viewerGL().
Referenced by FWEveView().
|
inline |
Definition at line 64 of file FWEveView.h.
References m_context.
Referenced by FWRPZView::eventBegin(), FWRPZView::resetOrigin(), FWViewContextMenuHandlerGL::select(), FWEveLegoView::setBackgroundColor(), FW3DView::setContext(), FWRPZView::setContext(), setContext(), FWRPZView::setEtaRng(), FW3DViewBase::setFrom(), setFrom(), setupEnergyScale(), useGlobalEnergyScaleChanged(), FWRPZView::voteCaloMaxVal(), and voteCaloMaxVal().
|
virtual |
Reimplemented from FWViewBase.
Definition at line 192 of file FWEveView.cc.
References m_viewContextMenu.
|
virtual |
|
virtual |
Reimplemented in FWRPZView.
Definition at line 246 of file FWEveView.cc.
References m_overlayEventInfo, FWEventAnnotation::setEvent(), and setupEnergyScale().
Referenced by FWRPZView::eventEnd().
|
inline |
Definition at line 75 of file FWEveView.h.
References m_eventScene.
Referenced by addElements(), FWEveViewManager::finishViewCreate(), FWRPZView::FWRPZView(), FW3DView::setContext(), FWLegoViewBase::setContext(), FWRPZView::setContext(), and FW3DViewBase::setContext().
|
inline |
Definition at line 76 of file FWEveView.h.
References m_geoScene.
Referenced by FWGlimpseView::createAxis(), FWRPZView::FWRPZView(), FW3DViewBase::rnrStyle(), FW3DViewBase::sceneClip(), FW3DViewBase::selectable(), FWRPZView::setContext(), and FW3DViewBase::setContext().
|
inlineprotectedvirtual |
Reimplemented in FWLegoViewBase, FWRPZView, and FW3DView.
Definition at line 95 of file FWEveView.h.
Referenced by setupEnergyScale(), and voteCaloMaxVal().
|
virtual |
Definition at line 276 of file FWEveView.cc.
References m_useGlobalEnergyScale, and FWGenericParameter< T >::value().
|
inline |
Definition at line 78 of file FWEveView.h.
References m_ownedProducts.
Referenced by FWEveViewManager::finishViewCreate().
|
protectedvirtual |
Definition at line 220 of file FWEveView.cc.
References m_lineOutlineScale, m_lineSmooth, m_lineWidth, m_lineWireframeScale, m_pointSize, m_pointSmooth, FWGenericParameter< T >::value(), and viewerGL().
Referenced by FWEveView().
|
virtual |
Reimplemented from FWViewBase.
Reimplemented in FWLegoViewBase, FW3DViewBase, and FWRPZView.
Definition at line 547 of file FWEveView.cc.
References ViewerParameterGUI::addFrameToContainer(), ViewerParameterGUI::getTabContainer(), FWViewType::isLego(), m_drawCMSLogo, m_eventInfoLevel, m_imageScale, m_lineOutlineScale, m_lineSmooth, m_lineWidth, m_lineWireframeScale, m_localEnergyScale, m_pointSize, m_pointSmooth, m_showCameraGuide, m_useGlobalEnergyScale, m_viewEnergyScaleEditor, ViewerParameterGUI::requestTab(), FWViewEnergyScaleEditor::setEnabled(), FWViewBase::typeId(), and FWGenericParameter< T >::value().
Referenced by FW3DViewBase::populateController(), FWRPZView::populateController(), and FWLegoViewBase::populateController().
|
inlinevirtual |
Reimplemented in FW3DViewBase.
Definition at line 87 of file FWEveView.h.
Referenced by FWGLEventHandler::HandleButton().
|
protectedvirtual |
|
virtual |
Implements FWViewBase.
Definition at line 203 of file FWEveView.cc.
References fwLog, fwlog::kInfo, m_imageScale, summarizeEdmComparisonLogfiles::succeeded, FWGenericParameter< T >::value(), and viewerGL().
|
virtual |
Reimplemented in FWEveLegoView.
Definition at line 253 of file FWEveView.cc.
References FWColorManager::setColorSetViewer(), and viewerGL().
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__(), and FWEveLegoView::setBackgroundColor().
|
virtual |
Reimplemented in FW3DViewBase, FWRPZView, FWLegoViewBase, FW3DView, FWHFView, and FWEveLegoView.
Definition at line 266 of file FWEveView.cc.
References context(), m_context, m_useGlobalEnergyScale, m_viewContext, FWGenericParameter< T >::value(), and x.
Referenced by FWEveViewManager::finishViewCreate(), FWLegoViewBase::setContext(), FWRPZView::setContext(), and FW3DViewBase::setContext().
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Reimplemented in FW3DViewBase, FWRPZView, FWLegoViewBase, and FWGlimpseView.
Definition at line 355 of file FWEveView.cc.
References FWParameterizable::begin(), fireworks::Context::commonPrefs(), context(), FWParameterizable::end(), CmsShowCommon::getDarkColorSet(), CmsShowCommon::getLightColorSet(), m_localEnergyScale, m_overlayEventInfo, m_overlayLogo, CmsAnnotation::setFrom(), FWEventAnnotation::setFrom(), FWConfigurableParameterizable::version(), FWConfiguration::version(), and viewerGL().
Referenced by FWGlimpseView::setFrom(), FWLegoViewBase::setFrom(), FWRPZView::setFrom(), and FW3DViewBase::setFrom().
|
protected |
Definition at line 429 of file FWEveView.cc.
References fwLog, i, fwlog::kInfo, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, FWViewBase::typeName(), FWConfiguration::value(), relativeConstraints::value, FWConfiguration::valueForKey(), and viewerGL().
Referenced by FWLegoViewBase::setFrom(), and FWRPZView::setFrom().
|
protected |
Definition at line 494 of file FWEveView.cc.
References fwLog, i, fwlog::kDebug, fwlog::kInfo, mergeVDriftHistosByStation::name, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, FWViewBase::typeName(), FWConfiguration::value(), relativeConstraints::value, FWConfiguration::valueForKey(), and viewerGL().
Referenced by FWGlimpseView::setFrom(), FWLegoViewBase::setFrom(), and FW3DViewBase::setFrom().
|
virtual |
Definition at line 298 of file FWEveView.cc.
References context(), f, FWViewContext::getEnergyScale(), getEveCalo(), fireworks::Context::getMaxEnergyInEvent(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactor3D(), FWViewEnergyScale::getScaleFactorLego(), FWViewType::isLego(), Pi, FWViewContext::scaleChanged(), FWViewBase::typeId(), FWViewEnergyScale::updateScaleFactors(), viewContext(), and voteCaloMaxVal().
Referenced by eventEnd(), FWEveView(), FWRPZView::setEtaRng(), and useGlobalEnergyScaleChanged().
|
virtual |
Definition at line 282 of file FWEveView.cc.
References fireworks::Context::commonPrefs(), context(), CmsShowCommon::getEnergyScale(), m_localEnergyScale, m_useGlobalEnergyScale, m_viewContext, m_viewEnergyScaleEditor, FWViewEnergyScaleEditor::setEnabled(), setupEnergyScale(), and FWGenericParameter< T >::value().
Referenced by FWEveView().
|
inline |
Definition at line 79 of file FWEveView.h.
References m_viewContext.
Referenced by FWEveViewManager::beingDestroyed(), FWEveViewManager::newItem(), and setupEnergyScale().
|
inline |
Definition at line 74 of file FWEveView.h.
References m_viewer.
Referenced by FWGlimpseView::FWGlimpseView(), FWGLEventHandler::HandleCrossing(), and FWGLEventHandler::HandleFocusChange().
TGLViewer * FWEveView::viewerGL | ( | ) | const |
Definition at line 197 of file FWEveView.cc.
References m_viewer.
Referenced by FWGlimpseView::addTo(), FW3DViewBase::addTo(), FWRPZView::addTo(), FWLegoViewBase::addTo(), cameraGuideChanged(), FWRPZView::eventBegin(), FWRPZView::eventEnd(), FW3DView::FW3DView(), FW3DViewBase::FW3DViewBase(), FWEveView(), FWGlimpseView::FWGlimpseView(), FWISpyView::FWISpyView(), FWLegoViewBase::FWLegoViewBase(), FWRPZView::FWRPZView(), pointLineScalesChanged(), FW3DViewBase::populateController(), FWRPZView::projectionAxesLabelSize(), resetCamera(), FW3DViewBase::rnrStyle(), saveImageTo(), FW3DViewBase::sceneClip(), FWViewContextMenuHandlerGL::select(), setBackgroundColor(), FW3DViewBase::setCameraType(), FWLegoViewBase::setCell2DMode(), FWLegoViewBase::setContext(), FW3DViewBase::setCurrentDMTVertex(), FWGlimpseView::setFrom(), FWLegoViewBase::setFrom(), FWRPZView::setFrom(), FW3DViewBase::setFrom(), setFrom(), setFromOrthoCamera(), setFromPerspectiveCamera(), FWLegoViewBase::setProjectionMode(), FWRPZView::shiftOrigin(), FWGlimpseView::showAxes(), FWLegoViewBase::showOverlay(), FWRPZView::showProjectionAxes(), and FWLegoViewBase::~FWLegoViewBase().
|
virtual |
Reimplemented in FWRPZView.
Definition at line 290 of file FWEveView.cc.
References context(), getEveCalo(), and fireworks::Context::voteMaxEtAndEnergy().
Referenced by setupEnergyScale().
|
private |
Definition at line 121 of file FWEveView.h.
Referenced by cameraGuideChanged(), and FWEveView().
|
protected |
Definition at line 104 of file FWEveView.h.
Referenced by context(), FWRPZView::populateController(), and setContext().
|
private |
Definition at line 132 of file FWEveView.h.
Referenced by FWEveView(), and populateController().
|
private |
Definition at line 120 of file FWEveView.h.
Referenced by FWEveView().
|
private |
Definition at line 131 of file FWEveView.h.
Referenced by FWEveView(), and populateController().
|
private |
Definition at line 114 of file FWEveView.h.
Referenced by eventScene(), FWEveView(), and ~FWEveView().
|
private |
Definition at line 116 of file FWEveView.h.
Referenced by FWEveView(), geoScene(), and ~FWEveView().
|
private |
Definition at line 129 of file FWEveView.h.
Referenced by populateController(), and saveImageTo().
|
private |
Definition at line 138 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 136 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 137 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 139 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 146 of file FWEveView.h.
Referenced by FWEveView(), populateController(), setFrom(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 118 of file FWEveView.h.
Referenced by addTo(), eventEnd(), FWEveView(), and setFrom().
|
private |
Definition at line 119 of file FWEveView.h.
Referenced by addTo(), FWEveView(), and setFrom().
|
private |
Definition at line 115 of file FWEveView.h.
Referenced by FWEveView(), and ownedProducts().
|
private |
Definition at line 135 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 134 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 141 of file FWEveView.h.
Referenced by cameraGuideChanged(), FWEveView(), and populateController().
|
private |
Definition at line 142 of file FWEveView.h.
Referenced by FWEveView(), isEnergyScaleGlobal(), populateController(), setContext(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 145 of file FWEveView.h.
Referenced by addTo(), FWEveView(), setContext(), useGlobalEnergyScaleChanged(), and viewContext().
|
private |
Definition at line 144 of file FWEveView.h.
Referenced by contextMenuHandler(), and FWEveView().
|
mutableprivate |
Definition at line 148 of file FWEveView.h.
Referenced by populateController(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 113 of file FWEveView.h.
Referenced by FWEveView(), viewer(), viewerGL(), and ~FWEveView().