#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 107 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().
Referenced by getDMT().
|
override |
|
private |
|
overridevirtual |
Implements FWConfigurable.
Definition at line 452 of file FW3DViewBase.cc.
References FWEveView::addTo(), FWEveView::addToPerspectiveCamera(), and FWEveView::viewerGL().
|
private |
Definition at line 247 of file FW3DViewBase.cc.
References FWEveView::eventScene(), FWEveView::geoScene(), m_glClip, updateClipPlanes(), updateHGCalVisibility(), and FWEveView::viewerGL().
Referenced by FW3DViewBase().
|
inline |
Definition at line 62 of file FW3DViewBase.h.
References PVValHelper::eta, FW3DViewBase(), m_DMT, operator=(), phi, requestGLHandlerPick(), setClip(), setCurrentDMTVertex(), showEcalBarrel(), x, y, and z.
|
private |
Referenced by getDMT().
|
overridevirtual |
Reimplemented from FWViewBase.
Reimplemented in FWISpyView.
Definition at line 502 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 483 of file FW3DViewBase.cc.
References FW3DViewDistanceMeasureTool::kNone, FW3DViewDistanceMeasureTool::m_action, and m_DMT.
Referenced by getDMT().
|
private |
Definition at line 234 of file FW3DViewBase.cc.
References FWEveView::geoScene(), and FWEveView::viewerGL().
Referenced by FW3DViewBase().
|
private |
Definition at line 242 of file FW3DViewBase.cc.
References FWEveView::geoScene().
Referenced by FW3DViewBase().
|
private |
Definition at line 224 of file FW3DViewBase.cc.
References FWEveView::viewerGL().
Referenced by FW3DViewBase().
void FW3DViewBase::setClip | ( | float | eta, |
float | phi | ||
) |
Definition at line 268 of file FW3DViewBase.cc.
References runEdmFileComparison::base, dir, mps_fire::i, recoMuon::in, mps_splice::line, m_clipEnable, m_clipPhi, m_clipTheta, alignCSCRings::r, and FWGenericParameter< T >::set().
Referenced by getDMT(), and FWGUIManager::open3DRegion().
|
overridevirtual |
Reimplemented from FWEveView.
Reimplemented in FWISpyView.
Definition at line 182 of file FW3DViewBase.cc.
References EnergyCorrector::c, FWGenericParameter< T >::changed_, 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 488 of file FW3DViewBase.cc.
References FW3DViewDistanceMeasureTool::kNone, FW3DViewDistanceMeasureTool::m_action, m_DMT, m_DMTline, FW3DViewDistanceMeasureTool::refCurrentVertex(), FW3DViewDistanceMeasureTool::resetAction(), and FWEveView::viewerGL().
Referenced by getDMT(), and FWGLEventHandler::HandleButton().
|
overridevirtual |
Implements FWConfigurable.
Definition at line 463 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 540 of file FW3DViewBase.cc.
References FWEveView::context(), ModuleToSequenceAssign::Ecal, FWEveView::eventScene(), relativeConstraints::geom, FWGeometry::getCorners(), fireworks::Context::getGeom(), FWGeometry::getMatchedIds(), FWViewType::k3D, m_ecalBarrel, GeomDetEnumerators::PixelBarrel, FWViewBase::typeId(), and x.
Referenced by getDMT(), and setContext().
|
private |
Definition at line 215 of file FW3DViewBase.cc.
References m_geometry, FW3DViewGeometry::showMuonBarrel(), and FW3DViewGeometry::showMuonBarrelFull().
Referenced by FW3DViewBase().
|
private |
Definition at line 337 of file FW3DViewBase.cc.
References EnergyCorrector::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, theta(), FWGenericParameter< T >::value(), and FWEveView::viewerGL().
Referenced by enableSceneClip(), and FW3DViewBase().
void FW3DViewBase::updateGlobalSceneScaleParameters | ( | ) |
|
private |
Definition at line 409 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 96 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 103 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 102 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().
|
private |
Definition at line 98 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), updateClipPlanes(), and updateHGCalVisibility().
|
private |
Definition at line 104 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateHGCalVisibility().
|
private |
Definition at line 105 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateHGCalVisibility().
|
private |
Definition at line 100 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().
|
private |
Definition at line 99 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().
|
private |
Definition at line 107 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), getDMT(), populateController(), requestGLHandlerPick(), and setCurrentDMTVertex().
|
private |
Definition at line 108 of file FW3DViewBase.h.
Referenced by setContext(), and setCurrentDMTVertex().
|
private |
Definition at line 90 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and showEcalBarrel().
|
private |
Definition at line 76 of file FW3DViewBase.h.
Referenced by setContext(), showMuonBarrel(), and updateHGCalVisibility().
|
private |
Definition at line 77 of file FW3DViewBase.h.
Referenced by enableSceneClip(), updateClipPlanes(), and ~FW3DViewBase().
|
private |
Definition at line 93 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 94 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 91 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 88 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 80 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
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().
|
private |
Definition at line 85 of file FW3DViewBase.h.
Referenced by populateController(), and setContext().