#include <Fireworks/Core/interface/FW3DViewBase.h>
Public Member Functions | |
void | addTo (FWConfiguration &) const override |
FW3DViewBase (TEveWindowSlot *, FWViewType::EType, unsigned int version=8) | |
FW3DViewDistanceMeasureTool * | getDMT () |
void | populateController (ViewerParameterGUI &) const override |
bool | requestGLHandlerPick () const override |
void | setClip (float eta, float phi) |
void | setContext (const fireworks::Context &) override |
void | setCurrentDMTVertex (double x, double y, double z) |
void | setFrom (const FWConfiguration &) override |
void | showEcalBarrel (bool) |
void | updateGlobalSceneScaleParameters () |
~FW3DViewBase () override | |
Public Member Functions inherited from FWEveView | |
void | addTo (FWConfiguration &) const override |
const fireworks::Context & | context () |
FWViewContextMenuHandlerBase * | contextMenuHandler () const override |
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 () |
void | populateController (ViewerParameterGUI &) const override |
void | saveImageTo (const std::string &iName) const override |
virtual void | setBackgroundColor (Color_t) |
void | setFrom (const FWConfiguration &) override |
virtual void | setupEnergyScale () |
virtual void | setupEventCenter () |
virtual void | useGlobalEnergyScaleChanged () |
FWViewContext * | viewContext () |
TEveViewer * | viewer () |
TGLViewer * | viewerGL () const |
virtual void | voteCaloMaxVal () |
~FWEveView () override | |
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 |
~FWConfigurableParameterizable () override | |
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 () |
Private Member Functions | |
void | enableSceneClip (bool) |
FW3DViewBase (const FW3DViewBase &) | |
const FW3DViewBase & | operator= (const FW3DViewBase &) |
void | rnrStyle (long) |
void | selectable (bool) |
void | setCameraType (long) |
void | showMuonBarrel (long) |
void | updateClipPlanes (bool resetCamera) |
void | updateHGCalVisibility (bool) |
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 Member Functions inherited from FWEveView | |
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 inherited from FWEveView | |
const fireworks::Context * | m_context |
Protected Attributes inherited from FWViewBase | |
FWViewType | m_type |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 42 of file FW3DViewBase.h.
FW3DViewBase::FW3DViewBase | ( | TEveWindowSlot * | iParent, |
FWViewType::EType | typeId, | ||
unsigned int | version = 8 |
||
) |
Definition at line 99 of file FW3DViewBase.cc.
References FWEnumParameter::addEntry(), FWGenericParameter< T >::changed_, enableSceneClip(), FWEveView::geoScene(), m_cameraType, m_clipAppexOffset, m_clipDelta1, m_clipDelta2, m_clipEnable, m_clipHGCalLayerBegin, m_clipHGCalLayerEnd, m_clipPhi, m_clipTheta, m_DMT, m_ecalBarrel, m_rnrStyle, m_selectable, m_showMuonBarrel, rnrStyle(), selectable(), setCameraType(), showMuonBarrel(), updateClipPlanes(), updateHGCalVisibility(), and FWEveView::viewerGL().
|
override |
|
private |
|
overridevirtual |
Implements FWConfigurable.
Definition at line 431 of file FW3DViewBase.cc.
References FWEveView::addTo(), FWEveView::addToPerspectiveCamera(), and FWEveView::viewerGL().
|
private |
Definition at line 224 of file FW3DViewBase.cc.
References FWEveView::eventScene(), FWEveView::geoScene(), m_glClip, updateClipPlanes(), updateHGCalVisibility(), FWEveView::viewerGL(), and x.
Referenced by FW3DViewBase().
|
inline |
|
private |
|
overridevirtual |
Reimplemented from FWViewBase.
Reimplemented in FWISpyView.
Definition at line 472 of file FW3DViewBase.cc.
References ViewerParameterGUI::addParam(), FW3DViewDistanceMeasureTool::buildGUI(), ViewerParameterGUI::getTabContainer(), m_cameraType, m_clipAppexOffset, m_clipDelta1, m_clipDelta2, m_clipEnable, m_clipHGCalLayerBegin, m_clipHGCalLayerEnd, m_clipPhi, m_clipTheta, m_DMT, m_rnrStyle, m_selectable, m_showEcalBarrel, m_showHGCalEE, m_showHGCalHSc, m_showHGCalHSi, m_showMuonBarrel, m_showMuonEndcap, m_showPixelBarrel, m_showPixelEndcap, m_showTrackerBarrel, m_showTrackerEndcap, FWEveView::populateController(), ViewerParameterGUI::requestTab(), ViewerParameterGUI::separator(), and FWEveView::viewerGL().
Referenced by FWISpyView::populateController().
|
overridevirtual |
Reimplemented from FWEveView.
Definition at line 458 of file FW3DViewBase.cc.
References FW3DViewDistanceMeasureTool::kNone, FW3DViewDistanceMeasureTool::m_action, and m_DMT.
|
private |
Definition at line 217 of file FW3DViewBase.cc.
References FWEveView::geoScene(), FWEveView::viewerGL(), and x.
Referenced by FW3DViewBase().
|
private |
Definition at line 223 of file FW3DViewBase.cc.
References FWEveView::geoScene(), and x.
Referenced by FW3DViewBase().
|
private |
Definition at line 209 of file FW3DViewBase.cc.
References FWEveView::viewerGL(), and x.
Referenced by FW3DViewBase().
void FW3DViewBase::setClip | ( | float | eta, |
float | phi | ||
) |
Definition at line 242 of file FW3DViewBase.cc.
References newFWLiteAna::base, m_clipEnable, m_clipPhi, m_clipTheta, phi, FWGenericParameter< T >::set(), and theta().
|
overridevirtual |
Reimplemented from FWEveView.
Reimplemented in FWISpyView.
Definition at line 169 of file FW3DViewBase.cc.
References HltBtagPostValidation_cff::c, FWGenericParameter< T >::changed_, FWEveView::context(), FWEveView::eventScene(), FWEveView::geoScene(), m_DMTline, m_geometry, m_showEcalBarrel, m_showHGCalEE, m_showHGCalHSc, m_showHGCalHSi, m_showMuonEndcap, m_showPixelBarrel, m_showPixelEndcap, m_showTrackerBarrel, m_showTrackerEndcap, FWEveView::setContext(), showEcalBarrel(), FW3DViewGeometry::showHGCalEE(), FW3DViewGeometry::showHGCalHSc(), FW3DViewGeometry::showHGCalHSi(), FW3DViewGeometry::showMuonEndcap(), FW3DViewGeometry::showPixelBarrel(), FW3DViewGeometry::showPixelEndcap(), FW3DViewGeometry::showTrackerBarrel(), FW3DViewGeometry::showTrackerEndcap(), and FWGenericParameter< T >::value().
Referenced by FWISpyView::setContext(), and FW3DView::setContext().
void FW3DViewBase::setCurrentDMTVertex | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 460 of file FW3DViewBase.cc.
References FW3DViewDistanceMeasureTool::kNone, FW3DViewDistanceMeasureTool::m_action, m_DMT, m_DMTline, FW3DViewDistanceMeasureTool::refCurrentVertex(), FW3DViewDistanceMeasureTool::resetAction(), FWEveView::viewerGL(), x, y, and z.
Referenced by FWGLEventHandler::HandleButton().
|
overridevirtual |
Implements FWConfigurable.
Definition at line 440 of file FW3DViewBase.cc.
References fireworks::Context::colorManager(), FWEveView::context(), alignCSCRings::s, FWEveView::setFrom(), FWEveView::setFromPerspectiveCamera(), FWColorManager::setGeomTransparency(), AlCaHLTBitMon_QueryRunRegistry::string, simpleEdmComparison::tName, FWConfiguration::value(), FWConfiguration::valueForKey(), FWConfiguration::version(), and FWEveView::viewerGL().
void FW3DViewBase::showEcalBarrel | ( | bool | x | ) |
Definition at line 510 of file FW3DViewBase.cc.
References FWEveView::context(), FWEveView::eventScene(), relativeConstraints::geom, FWGeometry::getCorners(), fireworks::Context::getGeom(), FWViewType::k3D, m_ecalBarrel, GeomDetEnumerators::PixelBarrel, FWViewBase::typeId(), and x.
Referenced by setContext().
|
private |
Definition at line 202 of file FW3DViewBase.cc.
References m_geometry, FW3DViewGeometry::showMuonBarrel(), FW3DViewGeometry::showMuonBarrelFull(), and x.
Referenced by FW3DViewBase().
|
private |
Definition at line 318 of file FW3DViewBase.cc.
References b0, b1, HltBtagPostValidation_cff::c, FWEveView::eventScene(), FWEveView::geoScene(), mps_fire::i, recoMuon::in, m_clipAppexOffset, m_clipDelta1, m_clipDelta2, m_clipEnable, m_clipPhi, m_clipTheta, m_glClip, Max(), phi, FWEveView::resetCamera(), theta(), FWGenericParameter< T >::value(), and FWEveView::viewerGL().
Referenced by enableSceneClip(), and FW3DViewBase().
void FW3DViewBase::updateGlobalSceneScaleParameters | ( | ) |
|
private |
Definition at line 389 of file FW3DViewBase.cc.
References FW3DViewGeometry::getHGCalEE(), FW3DViewGeometry::getHGCalHSc(), FW3DViewGeometry::getHGCalHSi(), m_clipEnable, m_clipHGCalLayerBegin, m_clipHGCalLayerEnd, m_geometry, SiStripPI::max, min(), AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and FWGenericParameter< T >::value().
Referenced by enableSceneClip(), and FW3DViewBase().
|
private |
Definition at line 95 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 102 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().
|
private |
Definition at line 100 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().
|
private |
Definition at line 101 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().
|
private |
Definition at line 97 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), updateClipPlanes(), and updateHGCalVisibility().
|
private |
Definition at line 103 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateHGCalVisibility().
|
private |
Definition at line 104 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateHGCalVisibility().
|
private |
Definition at line 99 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().
|
private |
Definition at line 98 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().
|
private |
Definition at line 106 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), getDMT(), populateController(), requestGLHandlerPick(), and setCurrentDMTVertex().
|
private |
Definition at line 107 of file FW3DViewBase.h.
Referenced by setContext(), and setCurrentDMTVertex().
|
private |
Definition at line 89 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and showEcalBarrel().
|
private |
Definition at line 75 of file FW3DViewBase.h.
Referenced by setContext(), showMuonBarrel(), and updateHGCalVisibility().
|
private |
Definition at line 76 of file FW3DViewBase.h.
Referenced by enableSceneClip(), updateClipPlanes(), and ~FW3DViewBase().
|
private |
Definition at line 92 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 93 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 90 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 85 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 87 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 86 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 79 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 80 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 81 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 82 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 83 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().
|
private |
Definition at line 84 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().