#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 () |
Private Member Functions | |
FWEveView (const FWEveView &) | |
const FWEveView & | operator= (const FWEveView &) |
Private Attributes | |
TGLCameraGuide * | m_cameraGuide |
const fireworks::Context * | m_context |
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_ |
Protected Attributes inherited from FWViewBase | |
FWViewType | m_type |
Definition at line 53 of file FWEveView.h.
FWEveView::FWEveView | ( | TEveWindowSlot * | iParent, |
FWViewType::EType | type, | ||
unsigned int | version = 7 |
||
) |
Definition at line 80 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 338 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 405 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 461 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 234 of file FWEveView.cc.
References m_cameraGuide, m_showCameraGuide, FWGenericParameter< T >::value(), and viewerGL().
Referenced by FWEveView().
|
inline |
Definition at line 65 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(), setupEnergyScale(), useGlobalEnergyScaleChanged(), FWRPZView::voteCaloMaxVal(), and voteCaloMaxVal().
|
virtual |
Reimplemented from FWViewBase.
Definition at line 193 of file FWEveView.cc.
References m_viewContextMenu.
|
virtual |
|
virtual |
Reimplemented in FWRPZView.
Definition at line 247 of file FWEveView.cc.
References m_overlayEventInfo, FWEventAnnotation::setEvent(), and setupEnergyScale().
Referenced by FWRPZView::eventEnd().
|
inline |
Definition at line 76 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 77 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 96 of file FWEveView.h.
Referenced by setupEnergyScale(), and voteCaloMaxVal().
|
virtual |
Definition at line 277 of file FWEveView.cc.
References m_useGlobalEnergyScale, and FWGenericParameter< T >::value().
|
inline |
Definition at line 79 of file FWEveView.h.
References m_ownedProducts.
Referenced by FWEveViewManager::finishViewCreate().
|
protectedvirtual |
Definition at line 221 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 543 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 88 of file FWEveView.h.
Referenced by FWGLEventHandler::HandleButton().
|
protectedvirtual |
|
virtual |
Implements FWViewBase.
Definition at line 204 of file FWEveView.cc.
References fwLog, fwlog::kInfo, m_imageScale, summarizeEdmComparisonLogfiles::succeeded, FWGenericParameter< T >::value(), and viewerGL().
|
virtual |
Reimplemented in FWEveLegoView.
Definition at line 254 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 267 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 356 of file FWEveView.cc.
References FWParameterizable::begin(), FWParameterizable::end(), 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 425 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 490 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 299 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 283 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 80 of file FWEveView.h.
References m_viewContext.
Referenced by FWEveViewManager::beingDestroyed(), FWEveViewManager::newItem(), and setupEnergyScale().
|
inline |
Definition at line 75 of file FWEveView.h.
References m_viewer.
Referenced by FWGlimpseView::FWGlimpseView(), FWGLEventHandler::HandleCrossing(), and FWGLEventHandler::HandleFocusChange().
TGLViewer * FWEveView::viewerGL | ( | ) | const |
Definition at line 198 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(), FWGLEventHandler::PopupContextMenu(), 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 291 of file FWEveView.cc.
References context(), getEveCalo(), and fireworks::Context::voteMaxEtAndEnergy().
Referenced by setupEnergyScale().
|
private |
Definition at line 119 of file FWEveView.h.
Referenced by cameraGuideChanged(), and FWEveView().
|
private |
Definition at line 121 of file FWEveView.h.
Referenced by context(), and setContext().
|
private |
Definition at line 131 of file FWEveView.h.
Referenced by FWEveView(), and populateController().
|
private |
Definition at line 118 of file FWEveView.h.
Referenced by FWEveView().
|
private |
Definition at line 130 of file FWEveView.h.
Referenced by FWEveView(), and populateController().
|
private |
Definition at line 112 of file FWEveView.h.
Referenced by eventScene(), FWEveView(), and ~FWEveView().
|
private |
Definition at line 114 of file FWEveView.h.
Referenced by FWEveView(), geoScene(), and ~FWEveView().
|
private |
Definition at line 128 of file FWEveView.h.
Referenced by populateController(), and saveImageTo().
|
private |
Definition at line 137 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 135 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 138 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 145 of file FWEveView.h.
Referenced by FWEveView(), populateController(), setFrom(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 116 of file FWEveView.h.
Referenced by addTo(), eventEnd(), FWEveView(), and setFrom().
|
private |
Definition at line 117 of file FWEveView.h.
Referenced by addTo(), FWEveView(), and setFrom().
|
private |
Definition at line 113 of file FWEveView.h.
Referenced by FWEveView(), and ownedProducts().
|
private |
Definition at line 134 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 133 of file FWEveView.h.
Referenced by FWEveView(), pointLineScalesChanged(), and populateController().
|
private |
Definition at line 140 of file FWEveView.h.
Referenced by cameraGuideChanged(), FWEveView(), and populateController().
|
private |
Definition at line 141 of file FWEveView.h.
Referenced by FWEveView(), isEnergyScaleGlobal(), populateController(), setContext(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 144 of file FWEveView.h.
Referenced by addTo(), FWEveView(), setContext(), useGlobalEnergyScaleChanged(), and viewContext().
|
private |
Definition at line 143 of file FWEveView.h.
Referenced by contextMenuHandler(), and FWEveView().
|
mutableprivate |
Definition at line 147 of file FWEveView.h.
Referenced by populateController(), and useGlobalEnergyScaleChanged().
|
private |
Definition at line 111 of file FWEveView.h.
Referenced by FWEveView(), viewer(), viewerGL(), and ~FWEveView().