CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWEveView.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Core
4 // Class : FWEveView
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Alja Mrak-Tadel
10 // Created: Thu Mar 16 14:11:32 CET 2010
11 // $Id: FWEveView.cc,v 1.56 2013/04/24 04:08:45 amraktad Exp $
12 //
13 
14 
15 
16 #include <RVersion.h>
17 #include <boost/bind.hpp>
18 #include <stdexcept>
19 
20 
21 // user include files
22 
23 #define private public
24 #include "TGLOrthoCamera.h"
25 #include "TGLPerspectiveCamera.h"
26 #undef private
27 #include "TGLCameraGuide.h"
28 
29 #include "TGLEmbeddedViewer.h"
30 #include "TEveViewer.h"
31 #include "TGLScenePad.h"
32 #include "TEveManager.h"
33 #include "TEveElement.h"
34 #include "TEveWindow.h"
35 #include "TEveScene.h"
36 #define protected public
37 #include "TEveCalo.h"
38 #undef protected
39 #include "TGLOverlay.h"
40 
56 
57 namespace fireworks
58 {
59 class Context;
60 }
61 
62 /* This class is temporary workaround for missing in TGLAnnotation functionality */
63 class ScaleAnnotation : public TGLAnnotation
64 {
65 public:
66  ScaleAnnotation(TGLViewerBase* parent, const char* text, Float_t posx, Float_t posy):
67  TGLAnnotation(parent, text, posx, posy) {}
68  virtual ~ScaleAnnotation() {}
69 
70  void setText(const char* txt)
71  {
72  fText = txt;
73  }
74 };
75 
76 //
77 // constructors and destructor
78 //
79 
80 FWEveView::FWEveView(TEveWindowSlot* iParent, FWViewType::EType type, unsigned int version) :
81  FWViewBase(type, version),
82  m_viewer(0),
83  m_eventScene(0),
84  m_ownedProducts(0),
85  m_geoScene(0),
86  m_overlayEventInfo(0),
87  m_overlayLogo(0),
88  m_energyMaxValAnnotation(0),
89  m_cameraGuide(0),
90  m_context(0),
91  // style
92 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,26,0)
93  m_imageScale(this, "Image Scale", 1.0, 1.0, 6.0),
94 #endif
95  m_eventInfoLevel(this, "Overlay Event Info", 0l, 0l, 2l),
96  m_drawCMSLogo(this,"Show Logo",false),
97  m_pointSmooth(this, "Smooth points", false),
98  m_pointSize(this, "Point size", 1.0, 1.0, 10.0),
99  m_lineSmooth(this, "Smooth lines", false),
100  m_lineWidth(this,"Line width",1.0,1.0,10.0),
101  m_lineOutlineScale(this, "Outline width scale", 1.0, 0.01, 10.0),
102  m_lineWireframeScale(this, "Wireframe width scale", 1.0, 0.01, 10.0),
103  m_showCameraGuide(this,"Show Camera Guide",false),
104  m_useGlobalEnergyScale(this, "UseGlobalEnergyScale", true),
105  m_viewContext( new FWViewContext()),
106  m_localEnergyScale( new FWViewEnergyScale(FWViewType::idToName(type), version)),
107  m_viewEnergyScaleEditor(0)
108 {
109  m_viewer = new TEveViewer(typeName().c_str());
110 
111  TGLEmbeddedViewer* embeddedViewer;
112 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,25,4)
113  embeddedViewer = m_viewer->SpawnGLEmbeddedViewer(0);
114 #else
115  embeddedViewer = m_viewer->SpawnGLEmbeddedViewer();
116 #endif
117  iParent->ReplaceWindow(m_viewer);
118  gEve->GetViewers()->AddElement(m_viewer);
119 
120  m_eventScene = gEve->SpawnNewScene(Form("EventScene %s", typeName().c_str()));
121  m_ownedProducts = new TEveElementList("ViewSpecificProducts");
122  m_eventScene->AddElement(m_ownedProducts);
123 
124  m_viewer->AddScene(m_eventScene);
125 
126  // spawn geo scene
127  m_geoScene = gEve->SpawnNewScene(Form("GeoScene %s", typeName().c_str()));
128  m_geoScene->GetGLScene()->SetSelectable(kFALSE);
129  m_viewer->AddScene(m_geoScene);
130 
131  FWGLEventHandler* eh = new FWGLEventHandler((TGWindow*)embeddedViewer->GetGLWidget(), (TObject*)embeddedViewer);
132  embeddedViewer->SetEventHandler(eh);
133  eh->setViewer(this);
135  eh->SetDoInternalSelection(kFALSE);
137  // ctxHand->setPickCameraCenter(true);
138  m_viewContextMenu.reset(ctxHand);
139 
140  m_energyMaxValAnnotation = new ScaleAnnotation(viewerGL(), "empty", 0.1, 0.9);
141  m_energyMaxValAnnotation->SetRole(TGLOverlayElement::kViewer);
142  m_energyMaxValAnnotation->SetState(TGLOverlayElement::kInvisible);
143  m_energyMaxValAnnotation->SetUseColorSet(false);
144  m_energyMaxValAnnotation->SetTextSize(0.05);
145  m_energyMaxValAnnotation->SetTextColor(kMagenta);
146 
147  // style params
148 
149  m_overlayEventInfo = new FWEventAnnotation(embeddedViewer);
151 
152  m_eventInfoLevel.addEntry(0, "Nothing");
153  m_eventInfoLevel.addEntry(1, "Run / event");
154  m_eventInfoLevel.addEntry(2, "Run / event / lumi");
155  m_eventInfoLevel.addEntry(3, "Full");
157 
158  m_overlayLogo = new CmsAnnotation(embeddedViewer, 0.02, 0.98);
159  m_overlayLogo->setVisible(false);
161 
162  m_cameraGuide = new TGLCameraGuide(0.9, 0.1, 0.08);
163  m_cameraGuide->SetState(TGLOverlayElement::kInvisible);
164  embeddedViewer->AddOverlayElement(m_cameraGuide);
165  m_showCameraGuide.changed_.connect(boost::bind(&FWEveView::cameraGuideChanged,this));
166 
167  m_pointSmooth.changed_.connect(boost::bind(&FWEveView::pointLineScalesChanged,this));
168  m_pointSize.changed_.connect(boost::bind(&FWEveView::pointLineScalesChanged,this));
169  m_lineSmooth.changed_.connect(boost::bind(&FWEveView::pointLineScalesChanged,this));
170  m_lineWidth.changed_.connect(boost::bind(&FWEveView::pointLineScalesChanged,this));
173 
174 
175  // create scale for view ..
176  m_viewContext->setEnergyScale(m_localEnergyScale.get());
178  m_localEnergyScale->parameterChanged_.connect(boost::bind(&FWEveView::setupEnergyScale, this));
179 }
180 
182 {
183  m_geoScene->RemoveElements();
184  m_eventScene->RemoveElements();
185  m_viewer->DestroyWindowAndSlot();
186 }
187 
188 //______________________________________________________________________________
189 // const member functions
190 
191 
194  return dynamic_cast<FWViewContextMenuHandlerBase*> (m_viewContextMenu.get());
195 }
196 
197 TGLViewer*
199 {
200  return m_viewer->GetGLViewer();
201 }
202 
203 void
205 {
206  bool succeeded = false;
207 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,26,0)
208  succeeded = viewerGL()->SavePictureScale(iName, m_imageScale.value());
209 #else
210  succeeded = viewerGL()->SavePicture(iName.c_str());
211 #endif
212 
213  if(!succeeded) {
214  throw std::runtime_error("Unable to save picture");
215  }
216  fwLog(fwlog::kInfo) << "Saved image " << iName << std::endl;
217 }
218 
219 //-------------------------------------------------------------------------------
220 void
222 {
223  viewerGL()->SetSmoothPoints(m_pointSmooth.value());
224  viewerGL()->SetPointScale (m_pointSize.value());
225  viewerGL()->SetSmoothLines (m_lineSmooth.value());
226  viewerGL()->SetLineScale (m_lineWidth.value());
227  viewerGL()->SetOLLineW (m_lineOutlineScale.value());
228  viewerGL()->SetWFLineW (m_lineWireframeScale.value());
229  viewerGL()->Changed();
230  gEve->Redraw3D();
231 }
232 
233 void
235 {
236  m_cameraGuide->SetBinaryState(m_showCameraGuide.value());
237  viewerGL()->Changed();
238  gEve->Redraw3D();
239 }
240 
241 void
243 {
244 }
245 
246 void
248 {
251 }
252 
253 void
255 {
257 }
258 
259 void
261 {
262  viewerGL()->ResetCurrentCamera();
263 }
264 
265 //______________________________________________________________________________
266 void
268 {
269  m_context = &x ;
270 
271  // in constructor view context has local scale
273  m_viewContext->setEnergyScale(context().commonPrefs()->getEnergyScale());
274 }
275 
276 bool
278 {
279  return m_useGlobalEnergyScale.value();
280 }
281 
282 void
284 {
288 }
289 
290 void
292 {
293  TEveCaloViz* calo = getEveCalo();
294  if (calo)
295  context().voteMaxEtAndEnergy(calo->GetData()->GetMaxVal(1), calo->GetData()->GetMaxVal(0));
296 }
297 
298 void
300 {
301  // Called at end of event OR if scale parameters changed.
302 
303  FWViewEnergyScale* energyScale = viewContext()->getEnergyScale();
304  // printf("setupEnergyScale %s >> scale name %s\n", typeName().c_str(), energyScale->name().c_str());
305  voteCaloMaxVal();
306 
307  // set cache for energy to lenght conversion
308  float maxVal = context().getMaxEnergyInEvent(energyScale->getPlotEt());
309  energyScale->updateScaleFactors(maxVal);
310  // printf("max event val %f \n", maxVal);
311  // printf("scales lego %f \n", energyScale->getScaleFactorLego());
312 
313  // configure TEveCaloViz
314  TEveCaloViz* calo = getEveCalo();
315  if (calo)
316  {
317  calo->SetPlotEt(energyScale->getPlotEt());
318  if (FWViewType::isLego(typeId()))
319  {
320  float f = energyScale->getScaleFactorLego();
321  calo->SetMaxValAbs(TMath::Pi()/f);
322  }
323  else
324  {
325  float f = energyScale->getScaleFactor3D();
326  calo->SetMaxValAbs(100/f);
327  }
328  calo->ElementChanged();
329  }
330 
331  // emit signal to proxy builders
333  gEve->Redraw3D();
334 }
335 
336 //-------------------------------------------------------------------------------
337 void
339 {
340  // take care of parameters
342 
343  {
344  assert ( m_overlayEventInfo );
346  }
347  {
348  assert ( m_overlayLogo );
349  m_overlayLogo->addTo(iTo);
350  }
351 
352  m_viewContext->getEnergyScale()->addTo(iTo);
353 }
354 
355 void
357 {
358  // Make sure you change the version ranges here
359  // whenever you update the logic.
360  // The rationale should be:
361  // (version range supported by the next block) && (version range in the configuration file)
362  //
363  // This is not "forward" compatible, but I don't think
364  // we care.
365  if (version() >= 2 && iFrom.version() >= 1)
366  {
367  for(const_iterator it =begin(), itEnd = end();
368  it != itEnd;
369  ++it) {
370  (*it)->setFrom(iFrom);
371  }
372  }
373  if (iFrom.version() > 1)
374  {
375  assert( m_overlayEventInfo);
376  m_overlayEventInfo->setFrom(iFrom);
377  }
378  {
379  assert( m_overlayLogo);
380  m_overlayLogo->setFrom(iFrom);
381  }
382 
383  if (iFrom.version() > 4)
384  {
385  m_localEnergyScale->setFrom(iFrom);
386  }
387 
388 
389  // selection clors
390  UChar_t* ca = 0;
391  ca = gEve->GetDefaultGLViewer()->RefLightColorSet().Selection(1).Arr();
392  viewerGL()->RefLightColorSet().Selection(1).SetColor(ca[0], ca[1], ca[2]);
393  ca = gEve->GetDefaultGLViewer()->RefLightColorSet().Selection(3).Arr();
394  viewerGL()->RefLightColorSet().Selection(3).SetColor(ca[0], ca[1], ca[2]);
395  ca = gEve->GetDefaultGLViewer()->RefDarkColorSet().Selection(1).Arr();
396  viewerGL()->RefDarkColorSet().Selection(1).SetColor(ca[0], ca[1], ca[2]);
397  ca = gEve->GetDefaultGLViewer()->RefDarkColorSet().Selection(3).Arr();
398  viewerGL()->RefDarkColorSet().Selection(3).SetColor(ca[0], ca[1], ca[2]);
399 }
400 
401 //______________________________________________________________________________
402 
403 
404 void
405 FWEveView::addToOrthoCamera(TGLOrthoCamera* camera, FWConfiguration& iTo) const
406 {
407  // zoom
408  std::ostringstream s;
409  s<<(camera->fZoom);
410  std::string name("cameraZoom");
411  iTo.addKeyValue(name+typeName(),FWConfiguration(s.str()));
412 
413  // transformation matrix
414  std::string matrixName("cameraMatrix");
415  for ( unsigned int i = 0; i < 16; ++i ) {
416  std::ostringstream osIndex;
417  osIndex << i;
418  std::ostringstream osValue;
419  osValue << camera->GetCamTrans()[i];
420  iTo.addKeyValue(matrixName+osIndex.str()+typeName(),FWConfiguration(osValue.str()));
421  }
422 }
423 
424 void
425 FWEveView::setFromOrthoCamera(TGLOrthoCamera* camera, const FWConfiguration& iFrom)
426 {
427  try {
428  // zoom
429  std::string zoomName("cameraZoom"); zoomName += typeName();
430  if (iFrom.valueForKey(zoomName) == 0 )
431  {
432  throw std::runtime_error("can't restore parameter cameraZoom");
433  }
434  std::istringstream s(iFrom.valueForKey(zoomName)->value());
435  s>>(camera->fZoom);
436 
437  // transformation matrix
438  std::string matrixName("cameraMatrix");
439  for ( unsigned int i = 0; i < 16; ++i ) {
440  std::ostringstream os;
441  os << i;
442  const FWConfiguration* value = iFrom.valueForKey( matrixName + os.str() + typeName() );
443  if ( value == 0 )
444  {
445  throw std::runtime_error ("can't restore parameter cameraMatrix.");
446  }
447  std::istringstream s(value->value());
448  s>> (camera->RefCamTrans()[i]);
449  }
450  }
451  catch (const std::runtime_error& iException)
452  {
453  fwLog(fwlog::kInfo) << "Caught exception while restoring camera parameters in view " << typeName() << "\n.";
454  viewerGL()->ResetCamerasAfterNextUpdate();
455 
456  }
457  camera->IncTimeStamp();
458 }
459 
460 void
461 FWEveView::addToPerspectiveCamera(TGLPerspectiveCamera* cam, const std::string& name, FWConfiguration& iTo) const
462 {
463  // transformation matrix
464  std::string matrixName("cameraMatrix");
465  for ( unsigned int i = 0; i < 16; ++i ){
466  std::ostringstream osIndex;
467  osIndex << i;
468  std::ostringstream osValue;
469  osValue << (cam->GetCamTrans())[i];
470  iTo.addKeyValue(matrixName+osIndex.str()+name,FWConfiguration(osValue.str()));
471  }
472 
473  // transformation matrix base
474  matrixName = "cameraMatrixBase";
475  for ( unsigned int i = 0; i < 16; ++i ){
476  std::ostringstream osIndex;
477  osIndex << i;
478  std::ostringstream osValue;
479  osValue << (cam->GetCamBase())[i];
480  iTo.addKeyValue(matrixName+osIndex.str()+name,FWConfiguration(osValue.str()));
481  }
482  {
483  std::ostringstream osValue;
484  osValue << cam->fFOV;
485  iTo.addKeyValue(name+" FOV",FWConfiguration(osValue.str()));
486  }
487 }
488 
489 void
490 FWEveView::setFromPerspectiveCamera(TGLPerspectiveCamera* cam, const std::string& name, const FWConfiguration& iFrom)
491 {
492  try {
493  std::string matrixName("cameraMatrix");
494  for ( unsigned int i = 0; i < 16; ++i ){
495  std::ostringstream os;
496  os << i;
497  const FWConfiguration* value = iFrom.valueForKey( matrixName + os.str() + name );
498  if ( value == 0 )
499  {
500  throw std::runtime_error ("can't restore parameter cameraMatrix.");
501  }
502  std::istringstream s(value->value());
503  s>>((cam->RefCamTrans())[i]);
504  }
505 
506  // transformation matrix base
507  matrixName = "cameraMatrixBase";
508  for ( unsigned int i = 0; i < 16; ++i ){
509  std::ostringstream os;
510  os << i;
511  const FWConfiguration* value = iFrom.valueForKey( matrixName + os.str() + name );
512  if ( value == 0 )
513  {
514  throw std::runtime_error ("can't restore parameter cameraMatrixBase.");
515  }
516 
517  std::istringstream s(value->value());
518  s>>((cam->RefCamBase())[i]);
519  }
520 
521  {
522  const FWConfiguration* value = iFrom.valueForKey( name + " FOV" );
523  if ( value == 0 )
524  {
525  throw std::runtime_error ("can't restore parameter cameraMatrixBase.");
526  }
527  std::istringstream s(value->value());
528  s>>cam->fFOV;
529  }
530 
531  cam->IncTimeStamp();
532  }
533  catch (const std::runtime_error& iException)
534  {
535  fwLog(fwlog::kInfo) << "Caught exception while restoring camera parameters in view " << typeName() << "\n.";
536  viewerGL()->ResetCamerasAfterNextUpdate();
537  fwLog(fwlog::kDebug) << "Reset camera fo view " << typeName() << "\n.";
538  }
539 }
540 
541 
542 void
544 {
545  gui.requestTab("Style").
546  addParam(&m_eventInfoLevel).
547  addParam(&m_drawCMSLogo).
548  addParam(&m_showCameraGuide).
549  separator().
550 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,26,0)
551  addParam(&m_imageScale).
552 #endif
553  addParam(&m_pointSize).
554  addParam(&m_pointSmooth).
555  addParam(&m_lineSmooth).
556  addParam(&m_lineWidth).
557  addParam(&m_lineOutlineScale).
558  addParam(&m_lineWireframeScale);
559 
560 
561  gui.requestTab("Scales").
562  addParam(&m_useGlobalEnergyScale);
563 
567 }
void scaleChanged()
const double Pi
type
Definition: HCALResponse.h:21
float getScaleFactor3D() const
int i
Definition: DBlmapReader.cc:9
void addToOrthoCamera(TGLOrthoCamera *, FWConfiguration &) const
Definition: FWEveView.cc:405
FWEventAnnotation * m_overlayEventInfo
Definition: FWEveView.h:116
std::vector< FWParameterBase * >::const_iterator const_iterator
virtual TEveCaloViz * getEveCalo() const
Definition: FWEveView.h:96
list parent
Definition: dbtoconf.py:74
virtual ~FWEveView()
Definition: FWEveView.cc:181
virtual void useGlobalEnergyScaleChanged()
Definition: FWEveView.cc:283
const_iterator begin() const
std::auto_ptr< FWViewContext > m_viewContext
Definition: FWEveView.h:144
TEveViewer * m_viewer
Definition: FWEveView.h:111
virtual void populateController(ViewerParameterGUI &) const
Definition: FWEveView.cc:543
virtual void pointLineScalesChanged()
Definition: FWEveView.cc:221
void voteMaxEtAndEnergy(float Et, float energy) const
Definition: Context.cc:185
ScaleAnnotation(TGLViewerBase *parent, const char *text, Float_t posx, Float_t posy)
Definition: FWEveView.cc:66
ViewerParameterGUI & requestTab(const char *)
FWViewEnergyScale * getEnergyScale() const
virtual void setFrom(const FWConfiguration &)
Definition: FWEveView.cc:356
const std::string & typeName() const
Definition: FWViewBase.cc:121
virtual void setFrom(const FWConfiguration &)
TEveScene * m_geoScene
Definition: FWEveView.h:114
unsigned int version() const
FWViewEnergyScaleEditor * m_viewEnergyScaleEditor
Definition: FWEveView.h:147
virtual void setupEnergyScale()
Definition: FWEveView.cc:299
void addFrameToContainer(TGCompositeFrame *)
FWDoubleParameter m_pointSize
Definition: FWEveView.h:134
virtual FWViewContextMenuHandlerBase * contextMenuHandler() const
Definition: FWEveView.cc:193
TGLViewer * viewerGL() const
Definition: FWEveView.cc:198
void updateScaleFactors(float iMaxVal)
sigc::signal< void, T > changed_
const fireworks::Context * m_context
Definition: FWEveView.h:121
TEveElement * m_ownedProducts
Definition: FWEveView.h:113
FWBoolParameter m_lineSmooth
Definition: FWEveView.h:135
virtual void eventEnd()
Definition: FWEveView.cc:247
FWBoolParameter m_showCameraGuide
Definition: FWEveView.h:140
FWBoolParameter m_useGlobalEnergyScale
Definition: FWEveView.h:141
virtual void cameraGuideChanged()
Definition: FWEveView.cc:234
virtual void voteCaloMaxVal()
Definition: FWEveView.cc:291
virtual void setFrom(const FWConfiguration &)
virtual void saveImageTo(const std::string &iName) const
Definition: FWEveView.cc:204
ScaleAnnotation * m_energyMaxValAnnotation
Definition: FWEveView.h:118
unsigned char UChar_t
Definition: FUTypes.h:14
void setText(const char *txt)
Definition: FWEveView.cc:70
float getScaleFactorLego() const
const_iterator end() const
bool addEntry(Long_t id, const std::string &txt)
double f[11][100]
tuple text
Definition: runonSM.py:42
float getMaxEnergyInEvent(bool isEt) const
Definition: Context.cc:201
virtual void resetCamera()
Definition: FWEveView.cc:260
virtual void addTo(FWConfiguration &) const
sigc::signal< void, Int_t, Int_t > openSelectedModelContextMenu_
FWBoolParameter m_drawCMSLogo
Definition: FWEveView.h:131
void setViewer(FWEveView *ev)
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
virtual void eventBegin()
Definition: FWEveView.cc:242
std::auto_ptr< FWViewEnergyScale > m_localEnergyScale
Definition: FWEveView.h:145
const std::string & value(unsigned int iIndex=0) const
const fireworks::Context & context()
Definition: FWEveView.h:65
FWBoolParameter m_pointSmooth
Definition: FWEveView.h:133
FWDoubleParameter m_imageScale
Definition: FWEveView.h:128
void setFromPerspectiveCamera(TGLPerspectiveCamera *, const std::string &, const FWConfiguration &)
Definition: FWEveView.cc:490
#define fwLog(_level_)
Definition: fwLog.h:51
FWViewContext * viewContext()
Definition: FWEveView.h:80
FWViewEnergyScale * getEnergyScale() const
Definition: CmsShowCommon.h:67
virtual ~ScaleAnnotation()
Definition: FWEveView.cc:68
virtual void setBackgroundColor(Color_t)
Definition: FWEveView.cc:254
FWEveView(TEveWindowSlot *, FWViewType::EType, unsigned int version=7)
Definition: FWEveView.cc:80
FWDoubleParameter m_lineOutlineScale
Definition: FWEveView.h:137
CmsShowCommon * commonPrefs() const
Definition: Context.cc:179
TGCompositeFrame * getTabContainer()
TEveScene * m_eventScene
Definition: FWEveView.h:112
FWEnumParameter m_eventInfoLevel
Definition: FWEveView.h:130
static bool isLego(int)
Definition: FWViewType.cc:136
if(dp >Float(M_PI)) dp-
static Bool_t setColorSetViewer(TGLViewer *, Color_t)
boost::shared_ptr< FWViewContextMenuHandlerGL > m_viewContextMenu
Definition: FWEveView.h:143
virtual void addTo(FWConfiguration &) const
const FWConfiguration * valueForKey(const std::string &iKey) const
Definition: DDAxes.h:10
virtual bool isEnergyScaleGlobal() const
Definition: FWEveView.cc:277
FWDoubleParameter m_lineWidth
Definition: FWEveView.h:136
FWDoubleParameter m_lineWireframeScale
Definition: FWEveView.h:138
void setFromOrthoCamera(TGLOrthoCamera *, const FWConfiguration &)
Definition: FWEveView.cc:425
virtual void addTo(FWConfiguration &) const
Definition: FWEveView.cc:338
void setVisible(bool x)
sigc::signal< void, Int_t, Int_t > openSelectedModelContextMenu_
Definition: FWViewBase.h:57
TGLCameraGuide * m_cameraGuide
Definition: FWEveView.h:119
virtual void setContext(const fireworks::Context &x)
Definition: FWEveView.cc:267
bool getPlotEt() const
CmsAnnotation * m_overlayLogo
Definition: FWEveView.h:117
virtual void addTo(FWConfiguration &) const
FWViewType::EType typeId() const
Definition: FWViewBase.h:42
void addToPerspectiveCamera(TGLPerspectiveCamera *, const std::string &, FWConfiguration &) const
Definition: FWEveView.cc:461