test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
FWGeometryTableView.cc File Reference
#include <boost/bind.hpp>
#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/src/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 "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

bool viewIsChecked ( TEveViewer *  v,
TEveElement *  el 
)

Definition at line 351 of file FWGeometryTableView.cc.

References alignCSCRings::s.

Referenced by FWGeometryTableView::checkRegionOfInterest().

352 {
353  if (strstr( v->GetElementName(), "3D") )
354  {
355  for (TEveElement::List_i eit = v->BeginChildren(); eit != v->EndChildren(); ++eit )
356  {
357  TEveScene* s = ((TEveSceneInfo*)*eit)->GetScene();
358  if (el && s->HasChildren() && s->FirstChild() == el)
359  return true;
360  }
361 
362  }
363  return false;
364 }