#include <Fireworks/Core/interface/FW3DViewBase.h>
Public Member Functions | |
virtual void | addTo (FWConfiguration &) const |
FW3DViewBase (TEveWindowSlot *, FWViewType::EType, unsigned int version=8) | |
FW3DViewDistanceMeasureTool * | getDMT () |
virtual void | populateController (ViewerParameterGUI &) const |
virtual bool | requestGLHandlerPick () const |
void | setClip (float eta, float phi) |
virtual void | setContext (const fireworks::Context &) |
void | setCurrentDMTVertex (double x, double y, double z) |
virtual void | setFrom (const FWConfiguration &) |
void | showEcalBarrel (bool) |
void | updateGlobalSceneScaleParameters () |
virtual | ~FW3DViewBase () |
Public Member Functions inherited from FWEveView | |
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 | saveImageTo (const std::string &iName) const |
virtual void | setBackgroundColor (Color_t) |
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 () |
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) |
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 | |
virtual | ~FWViewBase () |
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 97 of file FW3DViewBase.cc.
References FWEnumParameter::addEntry(), FWGenericParameter< T >::changed_, enableSceneClip(), FWEveView::geoScene(), m_cameraType, m_clipDelta1, m_clipDelta2, m_clipEnable, m_clipPhi, m_clipTheta, m_DMT, m_ecalBarrel, m_rnrStyle, m_selectable, m_showMuonBarrel, rnrStyle(), selectable(), setCameraType(), showMuonBarrel(), updateClipPlanes(), and FWEveView::viewerGL().
|
virtual |
|
private |
|
virtual |
Reimplemented from FWEveView.
Definition at line 384 of file FW3DViewBase.cc.
References FWEveView::addTo(), FWEveView::addToPerspectiveCamera(), and FWEveView::viewerGL().
|
private |
Definition at line 226 of file FW3DViewBase.cc.
References FWEveView::eventScene(), FWEveView::geoScene(), m_glClip, updateClipPlanes(), and FWEveView::viewerGL().
Referenced by FW3DViewBase().
|
inline |
|
private |
|
virtual |
Reimplemented from FWEveView.
Reimplemented in FWISpyView.
Definition at line 434 of file FW3DViewBase.cc.
References ViewerParameterGUI::addParam(), FW3DViewDistanceMeasureTool::buildGUI(), ViewerParameterGUI::getTabContainer(), m_cameraType, m_clipDelta1, m_clipDelta2, m_clipEnable, m_clipPhi, m_clipTheta, m_DMT, m_rnrStyle, m_selectable, m_showEcalBarrel, 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().
|
virtual |
Reimplemented from FWEveView.
Definition at line 415 of file FW3DViewBase.cc.
References FW3DViewDistanceMeasureTool::kNone, FW3DViewDistanceMeasureTool::m_action, and m_DMT.
|
private |
Definition at line 213 of file FW3DViewBase.cc.
References FWEveView::geoScene(), and FWEveView::viewerGL().
Referenced by FW3DViewBase().
|
private |
Definition at line 221 of file FW3DViewBase.cc.
References FWEveView::geoScene().
Referenced by FW3DViewBase().
|
private |
Definition at line 203 of file FW3DViewBase.cc.
References FWEveView::viewerGL().
Referenced by FW3DViewBase().
void FW3DViewBase::setClip | ( | float | eta, |
float | phi | ||
) |
Definition at line 246 of file FW3DViewBase.cc.
References newFWLiteAna::base, m_clipEnable, m_clipPhi, m_clipTheta, and FWGenericParameter< T >::set().
|
virtual |
Reimplemented from FWEveView.
Reimplemented in FW3DView, and FWISpyView.
Definition at line 164 of file FW3DViewBase.cc.
References EnergyCorrector::c, FWGenericParameter< T >::changed_, FWEveView::eventScene(), FWEveView::geoScene(), m_DMTline, m_geometry, m_showEcalBarrel, m_showMuonEndcap, m_showPixelBarrel, m_showPixelEndcap, m_showTrackerBarrel, m_showTrackerEndcap, FWEveView::setContext(), showEcalBarrel(), 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 420 of file FW3DViewBase.cc.
References FW3DViewDistanceMeasureTool::kNone, FW3DViewDistanceMeasureTool::m_action, m_DMT, m_DMTline, FW3DViewDistanceMeasureTool::refCurrentVertex(), FW3DViewDistanceMeasureTool::resetAction(), and FWEveView::viewerGL().
Referenced by FWGLEventHandler::HandleButton().
|
virtual |
Reimplemented from FWEveView.
Definition at line 395 of file FW3DViewBase.cc.
References fireworks::Context::colorManager(), FWEveView::context(), alignCSCRings::s, FWEveView::setFrom(), FWEveView::setFromPerspectiveCamera(), FWColorManager::setGeomTransparency(), AlCaHLTBitMon_QueryRunRegistry::string, FWConfiguration::value(), FWConfiguration::valueForKey(), FWConfiguration::version(), and FWEveView::viewerGL().
void FW3DViewBase::showEcalBarrel | ( | bool | x | ) |
Definition at line 464 of file FW3DViewBase.cc.
References FWEveView::context(), FWEveView::eventScene(), relativeConstraints::geom, FWGeometry::getCorners(), fireworks::Context::getGeom(), FWGeometry::getMatchedIds(), FWViewType::k3D, m_ecalBarrel, GeomDetEnumerators::PixelBarrel, FWViewBase::typeId(), and x.
Referenced by setContext().
|
private |
Definition at line 194 of file FW3DViewBase.cc.
References m_geometry, FW3DViewGeometry::showMuonBarrel(), and FW3DViewGeometry::showMuonBarrelFull().
Referenced by FW3DViewBase().
|
private |
Definition at line 315 of file FW3DViewBase.cc.
References EnergyCorrector::c, FWEveView::eventScene(), FWEveView::geoScene(), i, recoMuon::in, 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 93 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 98 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().
|
private |
Definition at line 99 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().
|
private |
Definition at line 95 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().
|
private |
Definition at line 97 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().
|
private |
Definition at line 96 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().
|
private |
Definition at line 102 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), getDMT(), populateController(), requestGLHandlerPick(), and setCurrentDMTVertex().
|
private |
Definition at line 103 of file FW3DViewBase.h.
Referenced by setContext(), and setCurrentDMTVertex().
|
private |
Definition at line 87 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and showEcalBarrel().
|
private |
Definition at line 76 of file FW3DViewBase.h.
Referenced by setContext(), and showMuonBarrel().
|
private |
Definition at line 77 of file FW3DViewBase.h.
Referenced by enableSceneClip(), updateClipPlanes(), and ~FW3DViewBase().
|
private |
Definition at line 90 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 91 of file FW3DViewBase.h.
Referenced by FW3DViewBase(), and populateController().
|
private |
Definition at line 88 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().