CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
FW3DViewBase Class Reference

#include <Fireworks/Core/interface/FW3DViewBase.h>

Inheritance diagram for FW3DViewBase:
FWEveView FWViewBase FWConfigurableParameterizable FWParameterizable FWConfigurable FW3DView FWISpyView

Public Member Functions

void addTo (FWConfiguration &) const override
 
 FW3DViewBase (TEveWindowSlot *, FWViewType::EType, unsigned int version=8)
 
FW3DViewDistanceMeasureToolgetDMT ()
 
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::Contextcontext ()
 
FWViewContextMenuHandlerBasecontextMenuHandler () const override
 
virtual void eventBegin ()
 
virtual void eventEnd ()
 
TEveScene * eventScene ()
 
 FWEveView (TEveWindowSlot *, FWViewType::EType, unsigned int version=7)
 
 FWEveView (const FWEveView &)=delete
 
FWTEveViewerfwViewer ()
 
FWTGLViewerfwViewerGL () const
 
TEveScene * geoScene ()
 
virtual bool isEnergyScaleGlobal () const
 
const FWEveViewoperator= (const FWEveView &)=delete
 
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 ()
 
FWViewContextviewContext ()
 
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)
 
 FWViewBase (const FWViewBase &)=delete
 
const FWViewBaseoperator= (const FWViewBase &)=delete
 
void promptForSaveImageTo (TGFrame *) const
 
FWViewType::EType typeId () const
 
const std::string & typeName () const
 
- Public Member Functions inherited from FWConfigurableParameterizable
 FWConfigurableParameterizable (unsigned int iVersion=1)
 
 FWConfigurableParameterizable (const FWConfigurableParameterizable &)=delete
 
const FWConfigurableParameterizableoperator= (const FWConfigurableParameterizable &)=delete
 
unsigned int version () const
 
 ~FWConfigurableParameterizable () override
 
- Public Member Functions inherited from FWParameterizable
void add (FWParameterBase *)
 
const_iterator begin () const
 
const_iterator end () const
 
 FWParameterizable ()
 
 FWParameterizable (const FWParameterizable &)=delete
 
const FWParameterizableoperator= (const FWParameterizable &)=delete
 
virtual ~FWParameterizable ()
 
- Public Member Functions inherited from FWConfigurable
 FWConfigurable ()
 
 FWConfigurable (const FWConfigurable &)=delete
 
const FWConfigurableoperator= (const FWConfigurable &)=delete
 
virtual ~FWConfigurable ()
 

Private Member Functions

void enableSceneClip (bool)
 
 FW3DViewBase (const FW3DViewBase &)
 
const FW3DViewBaseoperator= (const FW3DViewBase &)
 
void rnrStyle (long)
 
void selectable (bool)
 
void setCameraType (long)
 
void showMuonBarrel (long)
 
void updateClipPlanes (bool resetCamera)
 
void updateHGCalVisibility (bool)
 

Private Attributes

FWEnumParameter m_cameraType
 
FWLongParameter m_clipAppexOffset
 
FWDoubleParameter m_clipDelta1
 
FWDoubleParameter m_clipDelta2
 
FWBoolParameter m_clipEnable
 
FWLongParameter m_clipHGCalLayerBegin
 
FWLongParameter m_clipHGCalLayerEnd
 
FWDoubleParameter m_clipPhi
 
FWDoubleParameter m_clipTheta
 
FW3DViewDistanceMeasureToolm_DMT
 
TEveLine * m_DMTline
 
TEveBoxSet * m_ecalBarrel
 
FW3DViewGeometrym_geometry
 
TGLClip * m_glClip
 
FWEnumParameter m_rnrStyle
 
FWBoolParameter m_selectable
 
FWBoolParameter m_showEcalBarrel
 
FWBoolParameter m_showHGCalEE
 
FWBoolParameter m_showHGCalHSc
 
FWBoolParameter m_showHGCalHSi
 
FWBoolParameter m_showMtdBarrel
 
FWBoolParameter m_showMtdEndcap
 
FWEnumParameter m_showMuonBarrel
 
FWBoolParameter m_showMuonEndcap
 
FWBoolParameter m_showPixelBarrel
 
FWBoolParameter m_showPixelEndcap
 
FWBoolParameter m_showTrackerBarrel
 
FWBoolParameter m_showTrackerEndcap
 

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::Contextm_context
 
- Protected Attributes inherited from FWViewBase
FWViewType m_type
 

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 42 of file FW3DViewBase.h.

Constructor & Destructor Documentation

◆ FW3DViewBase() [1/2]

FW3DViewBase::FW3DViewBase ( TEveWindowSlot *  iParent,
FWViewType::EType  typeId,
unsigned int  version = 8 
)

Definition at line 100 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().

101  : FWEveView(iParent, typeId, version),
102  m_geometry(nullptr),
103  m_glClip(nullptr),
104  m_showMuonBarrel(this, "Show Muon Barrel", 0l, 0l, 2l),
105  m_showMuonEndcap(this, "Show Muon Endcap", false),
106  m_showPixelBarrel(this, "Show Pixel Barrel", false),
107  m_showPixelEndcap(this, "Show Pixel Endcap", false),
108  m_showTrackerBarrel(this, "Show Tracker Barrel", false),
109  m_showTrackerEndcap(this, "Show Tracker Endcap", false),
110  m_showHGCalEE(this, "Show HGCalEE", false),
111  m_showHGCalHSi(this, "Show HGCalHSi", false),
112  m_showHGCalHSc(this, "Show HGCalHSc", false),
113  m_showMtdBarrel(this, "Show MTD Barrel", false),
114  m_showMtdEndcap(this, "Show MTD Endcap", false),
115  m_ecalBarrel(nullptr),
116  m_showEcalBarrel(this, "Show Ecal Barrel", false),
117  m_rnrStyle(this, "Render Style", 0l, 0l, 2l),
118  m_selectable(this, "Enable Tooltips", false),
119  m_cameraType(this, "Camera Type", 0l, 0l, 5l),
120  m_clipEnable(this, "Enable Clip", false),
121  m_clipTheta(this, "Clip Theta", 0.0, -5.0, 5.0),
122  m_clipPhi(this, "Clip Phi", 0.0, -2.0, 2.0),
123  m_clipDelta1(this, "Clip Delta1", 0.2, 0.01, 2),
124  m_clipDelta2(this, "Clip Delta2", 0.2, 0.01, 2),
125  m_clipAppexOffset(this, "Appex Offset", 10l, 0l, 50l),
126  m_clipHGCalLayerBegin(this, "HGCal Lower Bound", 1l, 1l, 52l),
127  m_clipHGCalLayerEnd(this, "HGCal Upper Bound", 52l, 1l, 52l),
128  m_DMT(nullptr),
129  m_DMTline(nullptr) {
130  viewerGL()->SetCurrentCamera(TGLViewer::kCameraPerspXOZ);
132 
133  m_showMuonBarrel.addEntry(0, "Hide");
134  m_showMuonBarrel.addEntry(1, "Simplified");
135  m_showMuonBarrel.addEntry(2, "Full");
136  m_showMuonBarrel.changed_.connect(std::bind(&FW3DViewBase::showMuonBarrel, this, std::placeholders::_1));
137 
138  m_rnrStyle.addEntry(TGLRnrCtx::kFill, "Fill");
139  m_rnrStyle.addEntry(TGLRnrCtx::kOutline, "Outline");
140  m_rnrStyle.addEntry(TGLRnrCtx::kWireFrame, "WireFrame");
141  m_rnrStyle.changed_.connect(std::bind(&FW3DViewBase::rnrStyle, this, std::placeholders::_1));
142 
143  m_selectable.changed_.connect(std::bind(&FW3DViewBase::selectable, this, std::placeholders::_1));
144 
145  m_cameraType.addEntry(TGLViewer::kCameraPerspXOZ, "PerspXOZ");
146  m_cameraType.addEntry(TGLViewer::kCameraOrthoXOY, "OrthoXOY");
147  m_cameraType.addEntry(TGLViewer::kCameraOrthoXOZ, "OrthoXOZ");
148  m_cameraType.addEntry(TGLViewer::kCameraOrthoZOY, "OrthoZOY");
149  m_cameraType.addEntry(TGLViewer::kCameraOrthoXnOY, "OrthoXnOY");
150  m_cameraType.addEntry(TGLViewer::kCameraOrthoXnOZ, "OrthoXnOZ");
151  m_cameraType.addEntry(TGLViewer::kCameraOrthoZnOY, "OrthoZnOY");
152  m_cameraType.changed_.connect(std::bind(&FW3DViewBase::setCameraType, this, std::placeholders::_1));
153 
154  m_clipEnable.changed_.connect(std::bind(&FW3DViewBase::enableSceneClip, this, std::placeholders::_1));
155  m_clipTheta.changed_.connect(std::bind(&FW3DViewBase::updateClipPlanes, this, false));
156  m_clipPhi.changed_.connect(std::bind(&FW3DViewBase::updateClipPlanes, this, false));
157  m_clipDelta1.changed_.connect(std::bind(&FW3DViewBase::updateClipPlanes, this, false));
158  m_clipDelta2.changed_.connect(std::bind(&FW3DViewBase::updateClipPlanes, this, false));
159  m_clipAppexOffset.changed_.connect(std::bind(&FW3DViewBase::updateClipPlanes, this, false));
160  m_clipHGCalLayerBegin.changed_.connect(std::bind(&FW3DViewBase::updateHGCalVisibility, this, false));
161  m_clipHGCalLayerEnd.changed_.connect(std::bind(&FW3DViewBase::updateHGCalVisibility, this, false));
162 
163  m_ecalBarrel = new TEveBoxSet("ecalBarrel");
164  m_ecalBarrel->UseSingleColor();
165  m_ecalBarrel->SetMainColor(kAzure + 10);
166  m_ecalBarrel->SetMainTransparency(98);
167  geoScene()->AddElement(m_ecalBarrel);
168 }
FWDoubleParameter m_clipTheta
Definition: FW3DViewBase.h:100
void updateHGCalVisibility(bool)
FWBoolParameter m_showMtdBarrel
Definition: FW3DViewBase.h:88
void showMuonBarrel(long)
void rnrStyle(long)
FWBoolParameter m_showMuonEndcap
Definition: FW3DViewBase.h:80
FWBoolParameter m_showHGCalEE
Definition: FW3DViewBase.h:85
FWBoolParameter m_showTrackerBarrel
Definition: FW3DViewBase.h:83
FW3DViewDistanceMeasureTool * m_DMT
Definition: FW3DViewBase.h:108
void selectable(bool)
void setCameraType(long)
FWDoubleParameter m_clipPhi
Definition: FW3DViewBase.h:101
void enableSceneClip(bool)
FWEnumParameter m_rnrStyle
Definition: FW3DViewBase.h:94
void updateClipPlanes(bool resetCamera)
FWBoolParameter m_clipEnable
Definition: FW3DViewBase.h:99
FWBoolParameter m_showPixelEndcap
Definition: FW3DViewBase.h:82
FWDoubleParameter m_clipDelta1
Definition: FW3DViewBase.h:102
bool addEntry(Long_t id, const std::string &txt)
FWLongParameter m_clipHGCalLayerBegin
Definition: FW3DViewBase.h:105
FWBoolParameter m_showHGCalHSi
Definition: FW3DViewBase.h:86
FWBoolParameter m_showHGCalHSc
Definition: FW3DViewBase.h:87
FWBoolParameter m_showEcalBarrel
Definition: FW3DViewBase.h:92
TEveScene * geoScene()
Definition: FWEveView.h:80
FWEveView(TEveWindowSlot *, FWViewType::EType, unsigned int version=7)
Definition: FWEveView.cc:70
TGLClip * m_glClip
Definition: FW3DViewBase.h:76
FWBoolParameter m_showMtdEndcap
Definition: FW3DViewBase.h:89
TEveLine * m_DMTline
Definition: FW3DViewBase.h:109
TEveBoxSet * m_ecalBarrel
Definition: FW3DViewBase.h:91
FWEnumParameter m_showMuonBarrel
Definition: FW3DViewBase.h:79
FW3DViewGeometry * m_geometry
Definition: FW3DViewBase.h:75
sigc::signal< void(T)> changed_
FWViewType::EType typeId() const
Definition: FWViewBase.h:42
FWBoolParameter m_selectable
Definition: FW3DViewBase.h:95
FWLongParameter m_clipHGCalLayerEnd
Definition: FW3DViewBase.h:106
FWEnumParameter m_cameraType
Definition: FW3DViewBase.h:97
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177
FWLongParameter m_clipAppexOffset
Definition: FW3DViewBase.h:104
FWBoolParameter m_showTrackerEndcap
Definition: FW3DViewBase.h:84
FWDoubleParameter m_clipDelta2
Definition: FW3DViewBase.h:103
FWBoolParameter m_showPixelBarrel
Definition: FW3DViewBase.h:81

◆ ~FW3DViewBase()

FW3DViewBase::~FW3DViewBase ( )
override

Definition at line 170 of file FW3DViewBase.cc.

References m_glClip.

170 { delete m_glClip; }
TGLClip * m_glClip
Definition: FW3DViewBase.h:76

◆ FW3DViewBase() [2/2]

FW3DViewBase::FW3DViewBase ( const FW3DViewBase )
private

Member Function Documentation

◆ addTo()

void FW3DViewBase::addTo ( FWConfiguration iTo) const
overridevirtual

Implements FWConfigurable.

Definition at line 436 of file FW3DViewBase.cc.

References FWEveView::addTo(), FWEveView::addToPerspectiveCamera(), and FWEveView::viewerGL().

436  {
437  // take care of parameters
438  FWEveView::addTo(iTo);
439  TGLPerspectiveCamera* camera = dynamic_cast<TGLPerspectiveCamera*>(&(viewerGL()->CurrentCamera()));
440  if (camera)
441  addToPerspectiveCamera(camera, "Plain3D", iTo);
442 }
void addToPerspectiveCamera(TGLPerspectiveCamera *, const std::string &, FWConfiguration &) const
Definition: FWEveView.cc:397
void addTo(FWConfiguration &) const override
Definition: FWEveView.cc:291
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177

◆ enableSceneClip()

void FW3DViewBase::enableSceneClip ( bool  x)
private

Definition at line 229 of file FW3DViewBase.cc.

References FWEveView::eventScene(), FWEveView::geoScene(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, m_glClip, updateClipPlanes(), updateHGCalVisibility(), FWEveView::viewerGL(), and x.

Referenced by FW3DViewBase().

229  {
230  if (m_glClip == nullptr) {
231  m_glClip = new Clipsi(viewerGL()->GetRnrCtx());
232 
233  m_glClip->SetMode(TGLClip::kOutside);
234  }
235 
236  geoScene()->GetGLScene()->SetClip(x ? m_glClip : nullptr);
237  for (TEveElement::List_i it = gEve->GetScenes()->BeginChildren(); it != gEve->GetScenes()->EndChildren(); ++it) {
238  if (strncmp((*it)->GetElementName(), "TopGeoNodeScene", 15) == 0)
239  ((TEveScene*)(*it))->GetGLScene()->SetClip(x ? m_glClip : nullptr);
240  }
241  eventScene()->GetGLScene()->SetClip(x ? m_glClip : nullptr);
242  updateClipPlanes(true);
243  updateHGCalVisibility(false);
244  viewerGL()->RequestDraw();
245 }
void updateHGCalVisibility(bool)
TEveScene * eventScene()
Definition: FWEveView.h:79
void updateClipPlanes(bool resetCamera)
TEveScene * geoScene()
Definition: FWEveView.h:80
TGLClip * m_glClip
Definition: FW3DViewBase.h:76
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177

◆ getDMT()

FW3DViewDistanceMeasureTool* FW3DViewBase::getDMT ( )
inline

Definition at line 61 of file FW3DViewBase.h.

References m_DMT.

61 { return m_DMT; }
FW3DViewDistanceMeasureTool * m_DMT
Definition: FW3DViewBase.h:108

◆ operator=()

const FW3DViewBase& FW3DViewBase::operator= ( const FW3DViewBase )
private

◆ populateController()

void FW3DViewBase::populateController ( ViewerParameterGUI gui) const
overridevirtual

Reimplemented from FWViewBase.

Reimplemented in FWISpyView.

Definition at line 477 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_showMtdBarrel, m_showMtdEndcap, 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().

477  {
479 
480  gui.requestTab("Detector")
495 
496  gui.requestTab("Clipping")
505 
506  gui.requestTab("Style").separator();
507  gui.getTabContainer()->AddFrame(
508  new TGTextButton(gui.getTabContainer(),
509  "Root controls",
510  Form("TEveGedEditor::SpawnNewEditor((TGLViewer*)0x%lx)", (unsigned long)viewerGL())));
511 
512  gui.requestTab("Tools").addParam(&m_cameraType).separator();
513  gui.getTabContainer()->AddFrame(m_DMT->buildGUI(gui.getTabContainer()),
514  new TGLayoutHints(kLHintsExpandX, 2, 2, 2, 2));
515 }
FWDoubleParameter m_clipTheta
Definition: FW3DViewBase.h:100
FWBoolParameter m_showMtdBarrel
Definition: FW3DViewBase.h:88
FWBoolParameter m_showMuonEndcap
Definition: FW3DViewBase.h:80
FWBoolParameter m_showHGCalEE
Definition: FW3DViewBase.h:85
ViewerParameterGUI & requestTab(const char *)
ViewerParameterGUI & separator()
TGCompositeFrame * buildGUI(TGCompositeFrame *p)
FWBoolParameter m_showTrackerBarrel
Definition: FW3DViewBase.h:83
FW3DViewDistanceMeasureTool * m_DMT
Definition: FW3DViewBase.h:108
FWDoubleParameter m_clipPhi
Definition: FW3DViewBase.h:101
FWEnumParameter m_rnrStyle
Definition: FW3DViewBase.h:94
FWBoolParameter m_clipEnable
Definition: FW3DViewBase.h:99
FWBoolParameter m_showPixelEndcap
Definition: FW3DViewBase.h:82
FWDoubleParameter m_clipDelta1
Definition: FW3DViewBase.h:102
FWLongParameter m_clipHGCalLayerBegin
Definition: FW3DViewBase.h:105
FWBoolParameter m_showHGCalHSi
Definition: FW3DViewBase.h:86
void populateController(ViewerParameterGUI &) const override
Definition: FWEveView.cc:466
FWBoolParameter m_showHGCalHSc
Definition: FW3DViewBase.h:87
FWBoolParameter m_showEcalBarrel
Definition: FW3DViewBase.h:92
ViewerParameterGUI & addParam(const FWParameterBase *)
TGCompositeFrame * getTabContainer()
FWBoolParameter m_showMtdEndcap
Definition: FW3DViewBase.h:89
FWEnumParameter m_showMuonBarrel
Definition: FW3DViewBase.h:79
FWBoolParameter m_selectable
Definition: FW3DViewBase.h:95
FWLongParameter m_clipHGCalLayerEnd
Definition: FW3DViewBase.h:106
FWEnumParameter m_cameraType
Definition: FW3DViewBase.h:97
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177
FWLongParameter m_clipAppexOffset
Definition: FW3DViewBase.h:104
FWBoolParameter m_showTrackerEndcap
Definition: FW3DViewBase.h:84
FWDoubleParameter m_clipDelta2
Definition: FW3DViewBase.h:103
FWBoolParameter m_showPixelBarrel
Definition: FW3DViewBase.h:81

◆ requestGLHandlerPick()

bool FW3DViewBase::requestGLHandlerPick ( ) const
overridevirtual

◆ rnrStyle()

void FW3DViewBase::rnrStyle ( long  x)
private

Definition at line 222 of file FW3DViewBase.cc.

References FWEveView::geoScene(), FWEveView::viewerGL(), and x.

Referenced by FW3DViewBase().

222  {
223  geoScene()->GetGLScene()->SetStyle(x);
224  viewerGL()->Changed();
225  gEve->Redraw3D();
226 }
TEveScene * geoScene()
Definition: FWEveView.h:80
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177

◆ selectable()

void FW3DViewBase::selectable ( bool  x)
private

Definition at line 228 of file FW3DViewBase.cc.

References FWEveView::geoScene(), and x.

Referenced by FW3DViewBase().

228 { geoScene()->GetGLScene()->SetSelectable(x); }
TEveScene * geoScene()
Definition: FWEveView.h:80

◆ setCameraType()

void FW3DViewBase::setCameraType ( long  x)
private

Definition at line 214 of file FW3DViewBase.cc.

References FWEveView::viewerGL(), and x.

Referenced by FW3DViewBase().

214  {
215  viewerGL()->RefCamera(TGLViewer::ECameraType(x)).IncTimeStamp();
216  viewerGL()->SetCurrentCamera(TGLViewer::ECameraType(x));
217 
218  //if (viewerGL()->CurrentCamera().IsOrthographic())
219  // ((TGLOrthoCamera*)(&viewerGL()->CurrentCamera()))->SetEnableRotate(1);
220 }
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177

◆ setClip()

void FW3DViewBase::setClip ( float  eta,
float  phi 
)

Definition at line 247 of file FW3DViewBase.cc.

References newFWLiteAna::base, m_clipEnable, m_clipPhi, m_clipTheta, phi, FWGenericParameter< T >::set(), and theta().

247  {
248  // called from popup menu via FWGUIManager
249 
250  // limit to 2 decimals, else TGNumber entry in the view controller shows only last 5 irrelevant digits
251  double base = 100.0;
252  int thetaInt = theta * base;
253  int phiInt = phi * base;
254  m_clipTheta.set(thetaInt / base);
255  m_clipPhi.set(phiInt / base);
256  m_clipEnable.set(true);
257 }
FWDoubleParameter m_clipTheta
Definition: FW3DViewBase.h:100
base
Main Program
Definition: newFWLiteAna.py:92
FWDoubleParameter m_clipPhi
Definition: FW3DViewBase.h:101
FWBoolParameter m_clipEnable
Definition: FW3DViewBase.h:99
Geom::Theta< T > theta() const

◆ setContext()

void FW3DViewBase::setContext ( const fireworks::Context context)
overridevirtual

Reimplemented from FWEveView.

Reimplemented in FWISpyView.

Definition at line 172 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_showMtdBarrel, m_showMtdEndcap, m_showMuonEndcap, m_showPixelBarrel, m_showPixelEndcap, m_showTrackerBarrel, m_showTrackerEndcap, FWEveView::setContext(), showEcalBarrel(), FW3DViewGeometry::showHGCalEE(), FW3DViewGeometry::showHGCalHSc(), FW3DViewGeometry::showHGCalHSi(), FW3DViewGeometry::showMtdBarrel(), FW3DViewGeometry::showMtdEndcap(), FW3DViewGeometry::showMuonEndcap(), FW3DViewGeometry::showPixelBarrel(), FW3DViewGeometry::showPixelEndcap(), FW3DViewGeometry::showTrackerBarrel(), FW3DViewGeometry::showTrackerEndcap(), and FWGenericParameter< T >::value().

Referenced by FWISpyView::setContext(), and FW3DView::setContext().

172  {
174 
176  geoScene()->AddElement(m_geometry);
177 
178  m_showPixelBarrel.changed_.connect(std::bind(&FW3DViewGeometry::showPixelBarrel, m_geometry, std::placeholders::_1));
179  m_showPixelEndcap.changed_.connect(std::bind(&FW3DViewGeometry::showPixelEndcap, m_geometry, std::placeholders::_1));
181  std::bind(&FW3DViewGeometry::showTrackerBarrel, m_geometry, std::placeholders::_1));
183  std::bind(&FW3DViewGeometry::showTrackerEndcap, m_geometry, std::placeholders::_1));
184  m_showHGCalEE.changed_.connect(std::bind(&FW3DViewGeometry::showHGCalEE, m_geometry, std::placeholders::_1));
185  m_showHGCalHSi.changed_.connect(std::bind(&FW3DViewGeometry::showHGCalHSi, m_geometry, std::placeholders::_1));
186  m_showHGCalHSc.changed_.connect(std::bind(&FW3DViewGeometry::showHGCalHSc, m_geometry, std::placeholders::_1));
187  m_showMuonEndcap.changed_.connect(std::bind(&FW3DViewGeometry::showMuonEndcap, m_geometry, std::placeholders::_1));
188  m_showMtdBarrel.changed_.connect(std::bind(&FW3DViewGeometry::showMtdBarrel, m_geometry, std::placeholders::_1));
189  m_showMtdEndcap.changed_.connect(std::bind(&FW3DViewGeometry::showMtdEndcap, m_geometry, std::placeholders::_1));
190  m_showEcalBarrel.changed_.connect(std::bind(&FW3DViewBase::showEcalBarrel, this, std::placeholders::_1));
191 
192  // don't clip event scene -- ideally, would have TGLClipNoClip in root
193  TGLClipPlane* c = new TGLClipPlane();
194  c->Setup(TGLVector3(1e10, 0, 0), TGLVector3(-1, 0, 0));
195  eventScene()->GetGLScene()->SetClip(c);
196 
197  m_DMTline = new TEveLine();
198  m_DMTline->SetLineColor(1016);
199  m_DMTline->SetLineStyle(5);
200 
201  m_DMTline->SetPoint(0, 0, 0, 0);
202  m_DMTline->SetPoint(1, 0, 0, 0);
203  eventScene()->AddElement(m_DMTline);
205 }
FWBoolParameter m_showMtdBarrel
Definition: FW3DViewBase.h:88
TEveScene * eventScene()
Definition: FWEveView.h:79
void showEcalBarrel(bool)
FWBoolParameter m_showMuonEndcap
Definition: FW3DViewBase.h:80
void showMtdBarrel(bool)
void showMtdEndcap(bool)
FWBoolParameter m_showHGCalEE
Definition: FW3DViewBase.h:85
void showTrackerEndcap(bool)
FWBoolParameter m_showTrackerBarrel
Definition: FW3DViewBase.h:83
void showTrackerBarrel(bool)
void showMuonEndcap(bool)
FWBoolParameter m_showPixelEndcap
Definition: FW3DViewBase.h:82
const fireworks::Context & context()
Definition: FWEveView.h:64
FWBoolParameter m_showHGCalHSi
Definition: FW3DViewBase.h:86
void showPixelBarrel(bool)
FWBoolParameter m_showHGCalHSc
Definition: FW3DViewBase.h:87
FWBoolParameter m_showEcalBarrel
Definition: FW3DViewBase.h:92
TEveScene * geoScene()
Definition: FWEveView.h:80
void showPixelEndcap(bool)
FWBoolParameter m_showMtdEndcap
Definition: FW3DViewBase.h:89
TEveLine * m_DMTline
Definition: FW3DViewBase.h:109
FW3DViewGeometry * m_geometry
Definition: FW3DViewBase.h:75
sigc::signal< void(T)> changed_
virtual void setContext(const fireworks::Context &x)
Definition: FWEveView.cc:227
FWBoolParameter m_showTrackerEndcap
Definition: FW3DViewBase.h:84
FWBoolParameter m_showPixelBarrel
Definition: FW3DViewBase.h:81

◆ setCurrentDMTVertex()

void FW3DViewBase::setCurrentDMTVertex ( double  x,
double  y,
double  z 
)

Definition at line 465 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().

465  {
467  printf("ERROR!!!! FW3DViewBase::setCurrentDMTVertex \n");
468 
469  m_DMTline->SetPoint(m_DMT->m_action, x, y, z);
470  m_DMTline->ElementChanged();
471  viewerGL()->RequestDraw();
472 
473  m_DMT->refCurrentVertex().Set(x, y, z);
474  m_DMT->resetAction();
475 }
FW3DViewDistanceMeasureTool * m_DMT
Definition: FW3DViewBase.h:108
TEveLine * m_DMTline
Definition: FW3DViewBase.h:109
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177

◆ setFrom()

void FW3DViewBase::setFrom ( const FWConfiguration iFrom)
overridevirtual

Implements FWConfigurable.

Definition at line 445 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().

445  {
446  // take care of parameters
447  FWEveView::setFrom(iFrom);
448 
449  TGLPerspectiveCamera* camera = dynamic_cast<TGLPerspectiveCamera*>(&(viewerGL()->CurrentCamera()));
450  if (camera)
451  setFromPerspectiveCamera(camera, "Plain3D", iFrom);
452 
453  if (iFrom.version() < 5) {
454  // transparency moved to common preferences in FWEveView version 5
455  std::string tName("Detector Transparency");
456  std::istringstream s(iFrom.valueForKey(tName)->value());
457  int transp;
458  s >> transp;
459  context().colorManager()->setGeomTransparency(transp, false);
460  }
461 }
void setGeomTransparency(Color_t idx, bool projectedType)
const std::string & value(unsigned int iIndex=0) const
const fireworks::Context & context()
Definition: FWEveView.h:64
void setFrom(const FWConfiguration &) override
Definition: FWEveView.cc:307
void setFromPerspectiveCamera(TGLPerspectiveCamera *, const std::string &, const FWConfiguration &)
Definition: FWEveView.cc:420
const FWConfiguration * valueForKey(const std::string &iKey) const
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177
FWColorManager * colorManager() const
Definition: Context.h:58
unsigned int version() const

◆ showEcalBarrel()

void FW3DViewBase::showEcalBarrel ( bool  x)

Definition at line 517 of file FW3DViewBase.cc.

References l1tPhase2CaloJetEmulator_cfi::calo, FWEveView::context(), FWEveView::eventScene(), relativeConstraints::geom, FWGeometry::getCorners(), fireworks::Context::getGeom(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, FWViewType::k3D, m_ecalBarrel, GeomDetEnumerators::PixelBarrel, FWViewBase::typeId(), and x.

Referenced by setContext().

517  {
518  if (x && m_ecalBarrel->GetPlex()->Size() == 0) {
519  const FWGeometry* geom = context().getGeom();
520  std::vector<unsigned int> ids =
521  geom->getMatchedIds(FWGeometry::Detector::Ecal, FWGeometry::SubDetector::PixelBarrel);
522  m_ecalBarrel->Reset(TEveBoxSet::kBT_FreeBox, true, ids.size());
523  for (std::vector<unsigned int>::iterator it = ids.begin(); it != ids.end(); ++it) {
524  const float* cor = context().getGeom()->getCorners(*it);
525  m_ecalBarrel->AddBox(cor);
526  }
527  m_ecalBarrel->RefitPlex();
528  }
529 
530  if (m_ecalBarrel->GetRnrSelf() != x) {
531  m_ecalBarrel->SetRnrSelf(x);
532  gEve->Redraw3D();
533  }
534 
535  // disable enable grid in 3DView
536  if (typeId() == FWViewType::k3D) {
537  TEveElement* calo = eventScene()->FindChild("calo barrel");
538  if (calo) {
539  TEveCalo3D* c3d = dynamic_cast<TEveCalo3D*>(calo);
540  c3d->SetRnrFrame(!x, !x);
541  c3d->ElementChanged();
542  }
543  }
544 }
TEveScene * eventScene()
Definition: FWEveView.h:79
FWGeometry * getGeom() const
Definition: Context.h:72
const float * getCorners(unsigned int id) const
Definition: FWGeometry.cc:439
const fireworks::Context & context()
Definition: FWEveView.h:64
TEveBoxSet * m_ecalBarrel
Definition: FW3DViewBase.h:91
FWViewType::EType typeId() const
Definition: FWViewBase.h:42
Definition: Common.h:9

◆ showMuonBarrel()

void FW3DViewBase::showMuonBarrel ( long  x)
private

Definition at line 207 of file FW3DViewBase.cc.

References m_geometry, FW3DViewGeometry::showMuonBarrel(), FW3DViewGeometry::showMuonBarrelFull(), and x.

Referenced by FW3DViewBase().

207  {
208  if (m_geometry) {
209  m_geometry->showMuonBarrel(x == 1);
211  }
212 }
void showMuonBarrel(bool)
void showMuonBarrelFull(bool)
FW3DViewGeometry * m_geometry
Definition: FW3DViewBase.h:75

◆ updateClipPlanes()

void FW3DViewBase::updateClipPlanes ( bool  resetCamera)
private

Definition at line 323 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, METSkim_cff::Max, phi, FWEveView::resetCamera(), theta(), FWGenericParameter< T >::value(), and FWEveView::viewerGL().

Referenced by enableSceneClip(), and FW3DViewBase().

323  {
324  // TEveScene* gs = (TEveScene*)gEve->GetScenes()->FindChild(TString("TopGeoNodeScene"));
325  //printf("node scene %p\n", gs);
326  if (m_clipEnable.value()) {
327  float theta = m_clipTheta.value();
328  float phi = m_clipPhi.value();
329  using namespace TMath;
330  TEveVector in(Sin(theta) * Cos(phi), Sin(theta) * Sin(phi), Cos(theta));
331 
332  // one side of cross section plane is paralel to XY plane
333  TEveVector normXY(0., 1., 0);
334  TEveVector b0 = in.Cross(normXY);
335  TEveVector b1 = in.Cross(b0);
336 
337  float delta1 = m_clipDelta1.value();
338  float delta2 = m_clipDelta2.value();
339  b0.Normalize();
340  b0 *= Sin(delta1);
341  b1.Normalize();
342  b1 *= Sin(delta2);
343 
344  TEveVector c[4];
345  c[0] += b0;
346  c[0] += b1;
347  c[1] -= b0;
348  c[1] += b1;
349  c[2] -= b0;
350  c[2] -= b1;
351  c[3] += b0;
352  c[3] -= b1;
353  for (int i = 0; i < 4; ++i)
354  c[i] += in;
355 
356  TEveVector aOff = in;
357  aOff.NegateXYZ();
358  aOff.Normalize();
359  aOff *= m_clipAppexOffset.value();
360  ((Clipsi*)m_glClip)->SetAppexOffset(aOff);
361 
362  ((Clipsi*)m_glClip)->SetPlaneInfo(&c[0]);
363 
364  if (resetCamera) {
365  TGLBoundingBox bbox;
366  float es = getBBoxLineLength(eventScene(), in);
367  float gs = getBBoxLineLength(geoScene(), in);
368  setBBoxClipped(bbox, in, b0, b1, TMath::Max(es, gs));
369 
370  /*
371  TEvePointSet* bmarker = new TEvePointSet(8);
372  bmarker->Reset(4);
373  bmarker->SetName("bbox");
374  bmarker->SetMarkerColor(kOrange);
375  bmarker->SetMarkerStyle(3);
376  bmarker->SetMarkerSize(0.2);
377  for (int i = 0; i < 8; ++i)
378  bmarker->SetPoint(i, bbox[i].X(), bbox[i].Y(), bbox[i].Z());
379  eventScene()->AddElement(bmarker);
380  */
381 
382  TGLCamera& cam = viewerGL()->CurrentCamera();
383  cam.SetExternalCenter(true);
384  cam.SetCenterVec(bbox.Center().X(), bbox.Center().Y(), bbox.Center().Z());
385  cam.Setup(bbox, true);
386  } else {
387  eventScene()->Repaint();
388  }
389  }
390 
391  gEve->Redraw3D();
392 }
FWDoubleParameter m_clipTheta
Definition: FW3DViewBase.h:100
TEveScene * eventScene()
Definition: FWEveView.h:79
FWDoubleParameter m_clipPhi
Definition: FW3DViewBase.h:101
FWBoolParameter m_clipEnable
Definition: FW3DViewBase.h:99
FWDoubleParameter m_clipDelta1
Definition: FW3DViewBase.h:102
virtual void resetCamera()
Definition: FWEveView.cc:224
TEveScene * geoScene()
Definition: FWEveView.h:80
TGLClip * m_glClip
Definition: FW3DViewBase.h:76
Definition: AbsArchive.cc:46
static constexpr float b0
TGLViewer * viewerGL() const
Definition: FWEveView.cc:177
FWLongParameter m_clipAppexOffset
Definition: FW3DViewBase.h:104
Geom::Theta< T > theta() const
FWDoubleParameter m_clipDelta2
Definition: FW3DViewBase.h:103
static constexpr float b1

◆ updateGlobalSceneScaleParameters()

void FW3DViewBase::updateGlobalSceneScaleParameters ( )

◆ updateHGCalVisibility()

void FW3DViewBase::updateHGCalVisibility ( bool  )
private

Definition at line 394 of file FW3DViewBase.cc.

References FW3DViewGeometry::getHGCalEE(), FW3DViewGeometry::getHGCalHSc(), FW3DViewGeometry::getHGCalHSi(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::layer, m_clipEnable, m_clipHGCalLayerBegin, m_clipHGCalLayerEnd, m_geometry, SiStripPI::max, SiStripPI::min, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and FWGenericParameter< T >::value().

Referenced by enableSceneClip(), and FW3DViewBase().

394  {
395  if (!m_clipEnable.value())
396  return;
397 
398  long lmin = m_clipHGCalLayerBegin.value();
399  long lmax = m_clipHGCalLayerEnd.value();
400 
401  // real min, max
402  long r_lmin = std::min(lmin, lmax);
403  long r_lmax = std::max(lmin, lmax);
404 
405  TEveElementList const* const HGCalEE = m_geometry->getHGCalEE();
406  if (HGCalEE) {
407  for (const auto& it : HGCalEE->RefChildren()) {
408  std::string title(it->GetElementTitle());
409  int layer = stoi(title.substr(title.length() - 2));
410  it->SetRnrState(layer >= r_lmin && layer <= r_lmax);
411  }
412  }
413 
414  TEveElementList const* const HGCalHSi = m_geometry->getHGCalHSi();
415  if (HGCalHSi) {
416  for (const auto& it : HGCalHSi->RefChildren()) {
417  std::string title(it->GetElementTitle());
418  int layer = stoi(title.substr(title.length() - 2));
419  it->SetRnrState(layer >= r_lmin && layer <= r_lmax);
420  }
421  }
422 
423  TEveElementList const* const HGCalHSc = m_geometry->getHGCalHSc();
424  if (HGCalHSc) {
425  for (const auto& it : HGCalHSc->RefChildren()) {
426  std::string title(it->GetElementTitle());
427  int layer = stoi(title.substr(title.length() - 2));
428  it->SetRnrState(layer >= r_lmin && layer <= r_lmax);
429  }
430  }
431 
432  gEve->Redraw3D();
433 }
TEveElementList const *const getHGCalHSc()
FWBoolParameter m_clipEnable
Definition: FW3DViewBase.h:99
TEveElementList const *const getHGCalHSi()
FWLongParameter m_clipHGCalLayerBegin
Definition: FW3DViewBase.h:105
TEveElementList const *const getHGCalEE()
FW3DViewGeometry * m_geometry
Definition: FW3DViewBase.h:75
FWLongParameter m_clipHGCalLayerEnd
Definition: FW3DViewBase.h:106

Member Data Documentation

◆ m_cameraType

FWEnumParameter FW3DViewBase::m_cameraType
private

Definition at line 97 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), and populateController().

◆ m_clipAppexOffset

FWLongParameter FW3DViewBase::m_clipAppexOffset
private

Definition at line 104 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().

◆ m_clipDelta1

FWDoubleParameter FW3DViewBase::m_clipDelta1
private

Definition at line 102 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().

◆ m_clipDelta2

FWDoubleParameter FW3DViewBase::m_clipDelta2
private

Definition at line 103 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), populateController(), and updateClipPlanes().

◆ m_clipEnable

FWBoolParameter FW3DViewBase::m_clipEnable
private

◆ m_clipHGCalLayerBegin

FWLongParameter FW3DViewBase::m_clipHGCalLayerBegin
private

Definition at line 105 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), populateController(), and updateHGCalVisibility().

◆ m_clipHGCalLayerEnd

FWLongParameter FW3DViewBase::m_clipHGCalLayerEnd
private

Definition at line 106 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), populateController(), and updateHGCalVisibility().

◆ m_clipPhi

FWDoubleParameter FW3DViewBase::m_clipPhi
private

Definition at line 101 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().

◆ m_clipTheta

FWDoubleParameter FW3DViewBase::m_clipTheta
private

Definition at line 100 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), populateController(), setClip(), and updateClipPlanes().

◆ m_DMT

FW3DViewDistanceMeasureTool* FW3DViewBase::m_DMT
private

◆ m_DMTline

TEveLine* FW3DViewBase::m_DMTline
private

Definition at line 109 of file FW3DViewBase.h.

Referenced by setContext(), and setCurrentDMTVertex().

◆ m_ecalBarrel

TEveBoxSet* FW3DViewBase::m_ecalBarrel
private

Definition at line 91 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), and showEcalBarrel().

◆ m_geometry

FW3DViewGeometry* FW3DViewBase::m_geometry
private

Definition at line 75 of file FW3DViewBase.h.

Referenced by setContext(), showMuonBarrel(), and updateHGCalVisibility().

◆ m_glClip

TGLClip* FW3DViewBase::m_glClip
private

Definition at line 76 of file FW3DViewBase.h.

Referenced by enableSceneClip(), updateClipPlanes(), and ~FW3DViewBase().

◆ m_rnrStyle

FWEnumParameter FW3DViewBase::m_rnrStyle
private

Definition at line 94 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), and populateController().

◆ m_selectable

FWBoolParameter FW3DViewBase::m_selectable
private

Definition at line 95 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), and populateController().

◆ m_showEcalBarrel

FWBoolParameter FW3DViewBase::m_showEcalBarrel
private

Definition at line 92 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showHGCalEE

FWBoolParameter FW3DViewBase::m_showHGCalEE
private

Definition at line 85 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showHGCalHSc

FWBoolParameter FW3DViewBase::m_showHGCalHSc
private

Definition at line 87 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showHGCalHSi

FWBoolParameter FW3DViewBase::m_showHGCalHSi
private

Definition at line 86 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showMtdBarrel

FWBoolParameter FW3DViewBase::m_showMtdBarrel
private

Definition at line 88 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showMtdEndcap

FWBoolParameter FW3DViewBase::m_showMtdEndcap
private

Definition at line 89 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showMuonBarrel

FWEnumParameter FW3DViewBase::m_showMuonBarrel
private

Definition at line 79 of file FW3DViewBase.h.

Referenced by FW3DViewBase(), and populateController().

◆ m_showMuonEndcap

FWBoolParameter FW3DViewBase::m_showMuonEndcap
private

Definition at line 80 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showPixelBarrel

FWBoolParameter FW3DViewBase::m_showPixelBarrel
private

Definition at line 81 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showPixelEndcap

FWBoolParameter FW3DViewBase::m_showPixelEndcap
private

Definition at line 82 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showTrackerBarrel

FWBoolParameter FW3DViewBase::m_showTrackerBarrel
private

Definition at line 83 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().

◆ m_showTrackerEndcap

FWBoolParameter FW3DViewBase::m_showTrackerEndcap
private

Definition at line 84 of file FW3DViewBase.h.

Referenced by populateController(), and setContext().