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