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