#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) | |
FWTEveViewer * | fwViewer () |
FWTGLViewer * | fwViewerGL () const |
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 |
std::shared_ptr< FWViewContextMenuHandlerGL > | m_viewContextMenu |
FWViewEnergyScaleEditor * | m_viewEnergyScaleEditor |
FWTEveViewer * | 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 55 of file FWEveView.h.
FWEveView::FWEveView | ( | TEveWindowSlot * | iParent, |
FWViewType::EType | type, | ||
unsigned int | version = 7 |
||
) |
Definition at line 77 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(), FWTEveViewer::SpawnFWTGLViewer(), FWViewBase::typeName(), useGlobalEnergyScaleChanged(), and viewerGL().
|
virtual |
|
private |
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Reimplemented in FWLegoViewBase, FW3DViewBase, FWRPZView, and FWGlimpseView.
Definition at line 342 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 414 of file FWEveView.cc.
References FWConfiguration::addKeyValue(), mps_fire::i, dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, and FWViewBase::typeName().
Referenced by FWRPZView::addTo(), and FWLegoViewBase::addTo().
|
protected |
Definition at line 467 of file FWEveView.cc.
References FWConfiguration::addKeyValue(), mps_fire::i, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWGlimpseView::addTo(), FW3DViewBase::addTo(), and FWLegoViewBase::addTo().
|
protectedvirtual |
Definition at line 238 of file FWEveView.cc.
References m_cameraGuide, m_showCameraGuide, FWGenericParameter< T >::value(), and viewerGL().
Referenced by FWEveView().
|
inline |
Definition at line 67 of file FWEveView.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWRPZView::eventBegin(), FWRPZView::resetOrigin(), FWViewContextMenuHandlerGL::select(), FWEveLegoView::setBackgroundColor(), FW3DView::setContext(), FWRPZView::setContext(), setContext(), FWRPZView::setEtaRng(), FW3DViewBase::setFrom(), setFrom(), setupEnergyScale(), FW3DViewBase::showEcalBarrel(), useGlobalEnergyScaleChanged(), FWRPZView::voteCaloMaxVal(), and voteCaloMaxVal().
|
virtual |
Reimplemented from FWViewBase.
Definition at line 185 of file FWEveView.cc.
References m_viewContextMenu.
|
virtual |
|
virtual |
Definition at line 251 of file FWEveView.cc.
References m_overlayEventInfo, FWEventAnnotation::setEvent(), and setupEnergyScale().
|
inline |
Definition at line 82 of file FWEveView.h.
Referenced by addElements(), FW3DViewBase::enableSceneClip(), FWEveViewManager::finishViewCreate(), FWRPZView::FWRPZView(), FW3DView::setContext(), FWLegoViewBase::setContext(), FWRPZView::setContext(), FW3DViewBase::setContext(), FW3DViewBase::showEcalBarrel(), and FW3DViewBase::updateClipPlanes().
|
inline |
Definition at line 80 of file FWEveView.h.
FWTGLViewer * FWEveView::fwViewerGL | ( | ) | const |
|
inline |
Definition at line 83 of file FWEveView.h.
Referenced by FWGlimpseView::createAxis(), FW3DViewBase::enableSceneClip(), FW3DViewBase::FW3DViewBase(), FWRPZView::FWRPZView(), FW3DViewBase::rnrStyle(), FW3DViewBase::selectable(), FWRPZView::setContext(), FW3DViewBase::setContext(), and FW3DViewBase::updateClipPlanes().
|
inlineprotectedvirtual |
Reimplemented in FWLegoViewBase, FWRPZView, and FW3DView.
Definition at line 102 of file FWEveView.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setupEnergyScale(), and voteCaloMaxVal().
|
virtual |
Definition at line 281 of file FWEveView.cc.
References m_useGlobalEnergyScale, and FWGenericParameter< T >::value().
|
inline |
|
protectedvirtual |
Definition at line 225 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, FWRPZView, and FWISpyView.
Definition at line 546 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(), ROOT_VERSION, ROOT_VERSION_CODE, mps_merge::separator, FWViewEnergyScaleEditor::setEnabled(), FWViewBase::typeId(), and FWGenericParameter< T >::value().
Referenced by FWRPZView::populateController(), FW3DViewBase::populateController(), and FWLegoViewBase::populateController().
|
inlinevirtual |
Reimplemented in FW3DViewBase.
Definition at line 94 of file FWEveView.h.
Referenced by FWGLEventHandler::HandleButton().
|
protectedvirtual |
|
virtual |
Implements FWViewBase.
Definition at line 208 of file FWEveView.cc.
References fwLog, fwlog::kInfo, m_imageScale, summarizeEdmComparisonLogfiles::succeeded, FWGenericParameter< T >::value(), and viewerGL().
|
virtual |
Reimplemented in FWEveLegoView.
Definition at line 258 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, FWISpyView, and FWEveLegoView.
Definition at line 271 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 360 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 432 of file FWEveView.cc.
References fwLog, mps_fire::i, fwlog::kInfo, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, FWViewBase::typeName(), FWConfiguration::value(), FWConfiguration::valueForKey(), and viewerGL().
Referenced by FWLegoViewBase::setFrom(), and FWRPZView::setFrom().
|
protected |
Definition at line 494 of file FWEveView.cc.
References fwLog, mps_fire::i, fwlog::kDebug, fwlog::kInfo, dataset::name, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, FWViewBase::typeName(), FWConfiguration::value(), FWConfiguration::valueForKey(), and viewerGL().
Referenced by FWGlimpseView::setFrom(), FWLegoViewBase::setFrom(), and FW3DViewBase::setFrom().
|
virtual |
Definition at line 303 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 287 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 86 of file FWEveView.h.
Referenced by FWEveViewManager::beingDestroyed(), FWEveViewManager::newItem(), and setupEnergyScale().
TEveViewer * FWEveView::viewer | ( | ) |
Definition at line 196 of file FWEveView.cc.
References m_viewer.
Referenced by FWGlimpseView::FWGlimpseView(), FWGLEventHandler::HandleCrossing(), and FWGLEventHandler::HandleFocusChange().
TGLViewer * FWEveView::viewerGL | ( | ) | const |
Definition at line 190 of file FWEveView.cc.
References m_viewer.
Referenced by FWGlimpseView::addTo(), FWRPZView::addTo(), FW3DViewBase::addTo(), FWLegoViewBase::addTo(), cameraGuideChanged(), FW3DViewBase::enableSceneClip(), FWRPZView::eventBegin(), FW3DView::FW3DView(), FW3DViewBase::FW3DViewBase(), FWEveView(), FWGlimpseView::FWGlimpseView(), FWLegoViewBase::FWLegoViewBase(), FWRPZView::FWRPZView(), pointLineScalesChanged(), FW3DViewBase::populateController(), FWRPZView::projectionAxesLabelSize(), resetCamera(), FW3DViewBase::rnrStyle(), saveImageTo(), 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(), FW3DViewBase::updateClipPlanes(), and FWLegoViewBase::~FWLegoViewBase().
|
virtual |
Reimplemented in FWRPZView.
Definition at line 295 of file FWEveView.cc.
References context(), getEveCalo(), and fireworks::Context::voteMaxEtAndEnergy().
Referenced by setupEnergyScale().
|
private |
Definition at line 128 of file FWEveView.h.
Referenced by cameraGuideChanged(), and FWEveView().
|
protected |
Definition at line 111 of file FWEveView.h.
Referenced by FWRPZView::populateController(), and setContext().
|
private |
Definition at line 136 of file FWEveView.h.
Referenced by FWEveView(), and populateController().
|
private |
Definition at line 127 of file FWEveView.h.
Referenced by FWEveView().
|
private |
Definition at line 135 of file FWEveView.h.
Referenced by FWEveView(), and populateController().
|
private |
Definition at line 121 of file FWEveView.h.
Referenced by FWEveView(), and ~FWEveView().
|
private |
Definition at line 123 of file FWEveView.h.
Referenced by FWEveView(), and ~FWEveView().
|
private |
Definition at line 133 of file FWEveView.h.
Referenced by populateController(), and saveImageTo().
|
private |
Definition at line 142 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 140 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 141 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 143 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 150 of file FWEveView.h.
Referenced by FWEveView(), populateController(), setFrom(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 125 of file FWEveView.h.
Referenced by addTo(), eventEnd(), FWEveView(), and setFrom().
|
private |
Definition at line 126 of file FWEveView.h.
Referenced by addTo(), FWEveView(), and setFrom().
|
private |
Definition at line 122 of file FWEveView.h.
Referenced by FWEveView().
|
private |
Definition at line 139 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 138 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 145 of file FWEveView.h.
Referenced by cameraGuideChanged(), FWEveView(), and populateController().
|
private |
Definition at line 146 of file FWEveView.h.
Referenced by FWEveView(), isEnergyScaleGlobal(), populateController(), setContext(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 149 of file FWEveView.h.
Referenced by addTo(), FWEveView(), setContext(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 148 of file FWEveView.h.
Referenced by contextMenuHandler(), and FWEveView().
|
mutableprivate |
Definition at line 152 of file FWEveView.h.
Referenced by populateController(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 120 of file FWEveView.h.
Referenced by FWEveView(), fwViewerGL(), viewer(), viewerGL(), and ~FWEveView().