#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 |
boost::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 81 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 346 of file FWEveView.cc.
References CmsAnnotation::addTo(), FWEventAnnotation::addTo(), FWConfigurableParameterizable::addTo(), assert(), m_overlayEventInfo, m_overlayLogo, and m_viewContext.
Referenced by FWGlimpseView::addTo(), FWRPZView::addTo(), FW3DViewBase::addTo(), and FWLegoViewBase::addTo().
|
protected |
Definition at line 418 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 474 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 242 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 m_context.
Referenced by FWRPZView::eventBegin(), FWRPZView::resetOrigin(), FWViewContextMenuHandlerGL::select(), FWEveLegoView::setBackgroundColor(), FW3DView::setContext(), FWRPZView::setContext(), setContext(), FWRPZView::setEtaRng(), FW3DViewBase::setFrom(), setFrom(), setupEnergyScale(), FWISpyView::showEcalBarrel(), useGlobalEnergyScaleChanged(), FWRPZView::voteCaloMaxVal(), and voteCaloMaxVal().
|
virtual |
Reimplemented from FWViewBase.
Definition at line 189 of file FWEveView.cc.
References m_viewContextMenu.
|
virtual |
|
virtual |
Definition at line 255 of file FWEveView.cc.
References m_overlayEventInfo, FWEventAnnotation::setEvent(), and setupEnergyScale().
|
inline |
Definition at line 82 of file FWEveView.h.
References m_eventScene.
Referenced by addElements(), FWEveViewManager::finishViewCreate(), FWRPZView::FWRPZView(), FW3DView::setContext(), FWLegoViewBase::setContext(), FWRPZView::setContext(), and FW3DViewBase::setContext().
|
inline |
FWTGLViewer * FWEveView::fwViewerGL | ( | ) | const |
|
inline |
Definition at line 83 of file FWEveView.h.
References m_geoScene.
Referenced by FWGlimpseView::createAxis(), FWISpyView::FWISpyView(), FWRPZView::FWRPZView(), FW3DViewBase::rnrStyle(), FW3DViewBase::sceneClip(), FW3DViewBase::selectable(), FWRPZView::setContext(), and FW3DViewBase::setContext().
|
inlineprotectedvirtual |
Reimplemented in FWLegoViewBase, FWRPZView, and FW3DView.
Definition at line 102 of file FWEveView.h.
Referenced by setupEnergyScale(), and voteCaloMaxVal().
|
virtual |
Definition at line 285 of file FWEveView.cc.
References m_useGlobalEnergyScale, and FWGenericParameter< T >::value().
|
inline |
Definition at line 85 of file FWEveView.h.
References m_ownedProducts.
Referenced by FWEveViewManager::finishViewCreate().
|
protectedvirtual |
Definition at line 229 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 556 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 94 of file FWEveView.h.
Referenced by FWGLEventHandler::HandleButton().
|
protectedvirtual |
|
virtual |
Implements FWViewBase.
Definition at line 212 of file FWEveView.cc.
References fwLog, fwlog::kInfo, m_imageScale, summarizeEdmComparisonLogfiles::succeeded, FWGenericParameter< T >::value(), and viewerGL().
|
virtual |
Reimplemented in FWEveLegoView.
Definition at line 262 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 275 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 364 of file FWEveView.cc.
References assert(), FWParameterizable::begin(), fireworks::Context::commonPrefs(), context(), FWParameterizable::end(), CmsShowCommon::getDarkColorSet(), CmsShowCommon::getLightColorSet(), counter::lcs, 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 438 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 503 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 307 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 291 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.
References m_viewContext.
Referenced by FWEveViewManager::beingDestroyed(), FWEveViewManager::newItem(), and setupEnergyScale().
TEveViewer * FWEveView::viewer | ( | ) |
Definition at line 200 of file FWEveView.cc.
References m_viewer.
Referenced by FWGlimpseView::FWGlimpseView(), FWGLEventHandler::HandleCrossing(), and FWGLEventHandler::HandleFocusChange().
TGLViewer * FWEveView::viewerGL | ( | ) | const |
Definition at line 194 of file FWEveView.cc.
References m_viewer.
Referenced by FWGlimpseView::addTo(), FW3DViewBase::addTo(), FWRPZView::addTo(), FWLegoViewBase::addTo(), cameraGuideChanged(), FWRPZView::eventBegin(), FW3DView::FW3DView(), FW3DViewBase::FW3DViewBase(), FWEveView(), FWGlimpseView::FWGlimpseView(), 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 299 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 context(), 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 eventScene(), FWEveView(), and ~FWEveView().
|
private |
Definition at line 123 of file FWEveView.h.
Referenced by FWEveView(), geoScene(), 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(), and ownedProducts().
|
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(), useGlobalEnergyScaleChanged(), and viewContext().
|
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(), fwViewer(), fwViewerGL(), viewer(), viewerGL(), and ~FWEveView().