CMS 3D CMS Logo

Classes | Functions
FWGeometryTableView.cc File Reference
#include <functional>
#include "Fireworks/Core/src/FWGeometryTableView.h"
#include "Fireworks/Core/src/FWGeoTopNodeScene.h"
#include "Fireworks/Core/interface/FWGeometryTableViewManager.h"
#include "Fireworks/Core/interface/FWViewType.h"
#include "Fireworks/Core/interface/FWGeometryTableManagerBase.h"
#include "Fireworks/Core/interface/CmsShowViewPopup.h"
#include "Fireworks/Core/src/FWGeometryTableManager.h"
#include "Fireworks/Core/interface/fwLog.h"
#include "Fireworks/Core/interface/FWEnumParameter.h"
#include "Fireworks/Core/interface/FWEnumParameterSetter.h"
#include "Fireworks/Core/src/FWGUIValidatingTextEntry.h"
#include "Fireworks/Core/interface/FWGUIManager.h"
#include "Fireworks/Core/interface/FWValidatorBase.h"
#include "Fireworks/Core/src/FWEveDetectorGeo.h"
#include "KeySymbols.h"
#include "TGButton.h"
#include "TGComboBox.h"
#include "TGLabel.h"
#include "TGListBox.h"
#include "TGLViewer.h"
#include "TGeoMatrix.h"
#include "TGeoBBox.h"
#include "TVirtualX.h"
#include "TEveViewer.h"
#include "TEveScene.h"
#include "TEveSceneInfo.h"
#include "TEveManager.h"
#include "TGeoManager.h"
#include "TGLCamera.h"

Go to the source code of this file.

Classes

class  FWGeoMaterialValidator
 

Functions

bool viewIsChecked (TEveViewer *v, TEveElement *el)
 

Function Documentation

◆ viewIsChecked()

bool viewIsChecked ( TEveViewer *  v,
TEveElement *  el 
)

Definition at line 330 of file FWGeometryTableView.cc.

References alignCSCRings::s, and findQualityFiles::v.

Referenced by FWGeometryTableView::checkRegionOfInterest().

330  {
331  if (strstr(v->GetElementName(), "3D")) {
332  for (TEveElement::List_i eit = v->BeginChildren(); eit != v->EndChildren(); ++eit) {
333  TEveScene* s = ((TEveSceneInfo*)*eit)->GetScene();
334  if (el && s->HasChildren() && s->FirstChild() == el)
335  return true;
336  }
337  }
338  return false;
339 }