#include <FWEveView.h>
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 | |
~FWViewBase () override | |
Protected Attributes | |
const fireworks::Context * | m_context |
Protected Attributes inherited from FWViewBase | |
FWViewType | m_type |
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::unique_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::unique_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 53 of file FWEveView.h.
FWEveView::FWEveView | ( | TEveWindowSlot * | iParent, |
FWViewType::EType | type, | ||
unsigned int | version = 7 |
||
) |
Definition at line 70 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().
|
override |
|
delete |
|
overridevirtual |
Reimplemented from FWConfigurableParameterizable.
Reimplemented in FWLegoViewBase, FWRPZView, and FWGlimpseView.
Definition at line 291 of file FWEveView.cc.
References FWEventAnnotation::addTo(), CmsAnnotation::addTo(), FWConfigurableParameterizable::addTo(), cms::cuda::assert(), m_overlayEventInfo, m_overlayLogo, and m_viewContext.
Referenced by FWGlimpseView::addTo(), FWRPZView::addTo(), FW3DViewBase::addTo(), and FWLegoViewBase::addTo().
|
protected |
Definition at line 352 of file FWEveView.cc.
References FWConfiguration::addKeyValue(), mps_fire::i, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, cond::impl::to_string(), and FWViewBase::typeName().
Referenced by FWRPZView::addTo(), and FWLegoViewBase::addTo().
|
protected |
Definition at line 397 of file FWEveView.cc.
References FWConfiguration::addKeyValue(), mps_fire::i, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and cond::impl::to_string().
Referenced by FWGlimpseView::addTo(), FW3DViewBase::addTo(), and FWLegoViewBase::addTo().
|
protectedvirtual |
Definition at line 209 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::eventEnd(), FWRPZView::resetOrigin(), FWViewContextMenuHandlerGL::select(), FWEveLegoView::setBackgroundColor(), FWHFView::setContext(), FW3DView::setContext(), FWRPZView::setContext(), FW3DViewBase::setContext(), setContext(), FWRPZView::setEtaRng(), FW3DViewBase::setFrom(), setFrom(), setupEnergyScale(), FWRPZView::setupEventCenter(), FW3DViewBase::showEcalBarrel(), useGlobalEnergyScaleChanged(), FWRPZView::voteCaloMaxVal(), and voteCaloMaxVal().
|
overridevirtual |
Reimplemented from FWViewBase.
Definition at line 173 of file FWEveView.cc.
References m_viewContextMenu.
|
virtual |
|
virtual |
Reimplemented in FWRPZView.
Definition at line 217 of file FWEveView.cc.
References m_overlayEventInfo, FWEventAnnotation::setEvent(), and setupEnergyScale().
Referenced by FWRPZView::eventEnd().
|
inline |
Definition at line 79 of file FWEveView.h.
References m_eventScene.
Referenced by addElements(), FW3DViewBase::enableSceneClip(), FWEveViewManager::finishViewCreate(), FWRPZView::FWRPZView(), FW3DView::setContext(), FWLegoViewBase::setContext(), FWRPZView::setContext(), FW3DViewBase::setContext(), FW3DViewBase::showEcalBarrel(), and FW3DViewBase::updateClipPlanes().
|
inline |
FWTGLViewer * FWEveView::fwViewerGL | ( | ) | const |
|
inline |
Definition at line 80 of file FWEveView.h.
References m_geoScene.
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 100 of file FWEveView.h.
Referenced by setupEnergyScale(), and voteCaloMaxVal().
|
virtual |
Definition at line 235 of file FWEveView.cc.
References m_useGlobalEnergyScale, and FWGenericParameter< T >::value().
|
inline |
Definition at line 82 of file FWEveView.h.
References m_ownedProducts.
Referenced by FWEveViewManager::finishViewCreate().
|
protectedvirtual |
Definition at line 198 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().
|
overridevirtual |
Reimplemented from FWViewBase.
Reimplemented in FWLegoViewBase, FWRPZView, and FWISpyView.
Definition at line 466 of file FWEveView.cc.
References ViewerParameterGUI::addFrameToContainer(), ViewerParameterGUI::addParam(), 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(), ViewerParameterGUI::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 92 of file FWEveView.h.
Referenced by FWGLEventHandler::HandleButton().
|
protectedvirtual |
Definition at line 224 of file FWEveView.cc.
References viewerGL().
Referenced by FW3DViewBase::updateClipPlanes().
|
overridevirtual |
Implements FWViewBase.
Definition at line 183 of file FWEveView.cc.
References fwLog, fwlog::kInfo, m_imageScale, summarizeEdmComparisonLogfiles::succeeded, FWGenericParameter< T >::value(), and viewerGL().
|
virtual |
Reimplemented in FWEveLegoView.
Definition at line 222 of file FWEveView.cc.
References FWColorManager::setColorSetViewer(), and viewerGL().
Referenced by FWEveLegoView::setBackgroundColor().
|
virtual |
Reimplemented in FW3DViewBase, FWRPZView, FWLegoViewBase, FW3DView, FWHFView, FWISpyView, and FWEveLegoView.
Definition at line 227 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().
|
overridevirtual |
Reimplemented from FWConfigurableParameterizable.
Reimplemented in FWRPZView, FWLegoViewBase, and FWGlimpseView.
Definition at line 307 of file FWEveView.cc.
References cms::cuda::assert(), FWParameterizable::begin(), fireworks::Context::commonPrefs(), context(), FWParameterizable::end(), CmsShowCommon::getDarkColorSet(), CmsShowCommon::getLightColorSet(), m_localEnergyScale, m_overlayEventInfo, m_overlayLogo, FWEventAnnotation::setFrom(), CmsAnnotation::setFrom(), FWConfigurableParameterizable::version(), FWConfiguration::version(), and viewerGL().
Referenced by FWGlimpseView::setFrom(), FWLegoViewBase::setFrom(), FWRPZView::setFrom(), and FW3DViewBase::setFrom().
|
protected |
Definition at line 368 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 420 of file FWEveView.cc.
References fwLog, mps_fire::i, fwlog::kDebug, fwlog::kInfo, Skims_PA_cff::name, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, FWViewBase::typeName(), FWConfiguration::valueForKey(), and viewerGL().
Referenced by FWGlimpseView::setFrom(), FWLegoViewBase::setFrom(), and FW3DViewBase::setFrom().
|
virtual |
Definition at line 251 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 |
Reimplemented in FWRPZView.
Definition at line 283 of file FWEveView.cc.
References FWViewContext::scaleChanged(), and viewContext().
Referenced by FWRPZView::setupEventCenter().
|
virtual |
Definition at line 237 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 83 of file FWEveView.h.
References m_viewContext.
Referenced by FWEveViewManager::beingDestroyed(), FWEveViewManager::newItem(), setupEnergyScale(), and setupEventCenter().
TEveViewer * FWEveView::viewer | ( | ) |
Definition at line 179 of file FWEveView.cc.
References m_viewer.
Referenced by FWGlimpseView::FWGlimpseView(), FWGLEventHandler::HandleCrossing(), and FWGLEventHandler::HandleFocusChange().
TGLViewer * FWEveView::viewerGL | ( | ) | const |
Definition at line 177 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 245 of file FWEveView.cc.
References context(), getEveCalo(), and fireworks::Context::voteMaxEtAndEnergy().
Referenced by setupEnergyScale().
|
private |
Definition at line 126 of file FWEveView.h.
Referenced by cameraGuideChanged(), and FWEveView().
|
protected |
Definition at line 109 of file FWEveView.h.
Referenced by context(), FWRPZView::populateController(), and setContext().
|
private |
Definition at line 134 of file FWEveView.h.
Referenced by FWEveView(), and populateController().
|
private |
Definition at line 125 of file FWEveView.h.
Referenced by FWEveView().
|
private |
Definition at line 133 of file FWEveView.h.
Referenced by FWEveView(), and populateController().
|
private |
Definition at line 119 of file FWEveView.h.
Referenced by eventScene(), FWEveView(), and ~FWEveView().
|
private |
Definition at line 121 of file FWEveView.h.
Referenced by FWEveView(), geoScene(), and ~FWEveView().
|
private |
Definition at line 131 of file FWEveView.h.
Referenced by populateController(), and saveImageTo().
|
private |
Definition at line 140 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 139 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 148 of file FWEveView.h.
Referenced by FWEveView(), populateController(), setFrom(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 123 of file FWEveView.h.
Referenced by addTo(), eventEnd(), FWEveView(), and setFrom().
|
private |
Definition at line 124 of file FWEveView.h.
Referenced by addTo(), FWEveView(), and setFrom().
|
private |
Definition at line 120 of file FWEveView.h.
Referenced by FWEveView(), and ownedProducts().
|
private |
Definition at line 137 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 143 of file FWEveView.h.
Referenced by cameraGuideChanged(), FWEveView(), and populateController().
|
private |
Definition at line 144 of file FWEveView.h.
Referenced by FWEveView(), isEnergyScaleGlobal(), populateController(), setContext(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 147 of file FWEveView.h.
Referenced by addTo(), FWEveView(), setContext(), useGlobalEnergyScaleChanged(), and viewContext().
|
private |
Definition at line 146 of file FWEveView.h.
Referenced by contextMenuHandler(), and FWEveView().
|
mutableprivate |
Definition at line 150 of file FWEveView.h.
Referenced by populateController(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 118 of file FWEveView.h.
Referenced by FWEveView(), fwViewer(), fwViewerGL(), viewer(), viewerGL(), and ~FWEveView().