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 352 of file FWGeometryTableView.cc.

References alignCSCRings::s.

Referenced by FWGeometryTableView::checkRegionOfInterest().

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