CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
FWGeometryTableView Class Reference

#include <Fireworks/Core/interface/FWGeometryTableView.h>

Inheritance diagram for FWGeometryTableView:
FWGeometryTableViewBase FWViewBase FWParameterSetterEditorBase FWConfigurableParameterizable FWParameterizable FWConfigurable

Public Types

enum  EFiterType { kFilterMaterialName, kFilterMaterialTitle, kFilterShapeName, kFilterShapeClassName }
 
enum  EMode { kNode, kVolume }
 
enum  EProximityAlgo { kBBoxCenter, kBBoxSurface }
 
- Public Types inherited from FWParameterizable
typedef std::vector< FWParameterBase * >::const_iterator const_iterator
 

Public Member Functions

void autoExpandCallback ()
 
void checkRegionOfInterest ()
 
bool drawTopNode () const
 
void filterListCallback ()
 
void filterTextEntryCallback ()
 
 FWGeometryTableView (TEveWindowSlot *iParent, FWColorManager *colMng)
 
int getAutoExpand () const
 
std::string getFilter () const
 
int getFilterType () const
 
bool getIgnoreVisLevelWhenFilter () const
 
FWGeometryTableManagerBasegetTableManager () override
 
int getVisLevel () const
 
bool getVolumeMode () const
 
bool isSelectedByRegion () const
 
void populateController (ViewerParameterGUI &) const override
 
void setFrom (const FWConfiguration &) override
 
void setPath (int, std::string &) override
 
void updateFilter (std::string &)
 
void updateVisibilityTopNode ()
 
 ~FWGeometryTableView () override
 
- Public Member Functions inherited from FWGeometryTableViewBase
void addTo (FWConfiguration &) const override
 
void cdNode (int)
 
virtual void cdTop ()
 
virtual void cdUp ()
 
virtual void cellClicked (Int_t iRow, Int_t iColumn, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY)
 
void checkExpandLevel ()
 
virtual void chosenItem (int)
 
 FWGeometryTableViewBase (TEveWindowSlot *, FWViewType::EType, FWColorManager *)
 
bool getEnableHighlight ()
 
long getLeafTransparencyFactor () const
 
FWEveDigitSetScalableMarkergetMarker ()
 
long getMinLeafTransparency () const
 
long getMinParentTransparency () const
 
long getParentTransparencyFactor () const
 
int getTopNodeIdx () const
 
void nodeColorChangeRequested (Color_t)
 
void populate3DViewsFromConfig ()
 
virtual void refreshTable3D ()
 
void reloadColors ()
 
void saveImageTo (const std::string &iName) const override
 
void selectView (int)
 
void setBackgroundColor ()
 
void transparencyChanged ()
 
 ~FWGeometryTableViewBase () override
 
- Public Member Functions inherited from FWViewBase
virtual FWViewContextMenuHandlerBasecontextMenuHandler () const
 
void destroy ()
 
 FWViewBase (FWViewType::EType, unsigned int iVersion=1)
 
void promptForSaveImageTo (TGFrame *) const
 
FWViewType::EType typeId () const
 
const std::string & typeName () const
 
- Public Member Functions inherited from FWConfigurableParameterizable
 FWConfigurableParameterizable (unsigned int iVersion=1)
 
unsigned int version () const
 
 ~FWConfigurableParameterizable () override
 
- Public Member Functions inherited from FWParameterizable
void add (FWParameterBase *)
 
const_iterator begin () const
 
const_iterator end () const
 
 FWParameterizable ()
 
virtual ~FWParameterizable ()
 
- Public Member Functions inherited from FWConfigurable
 FWConfigurable ()
 
virtual ~FWConfigurable ()
 
- Public Member Functions inherited from FWParameterSetterEditorBase
 FWParameterSetterEditorBase ()
 
virtual void updateEditor ()
 
virtual ~FWParameterSetterEditorBase ()
 

Private Member Functions

 ClassDefOverride (FWGeometryTableView, 0)
 
 FWGeometryTableView (const FWGeometryTableView &)
 
const FWGeometryTableViewoperator= (const FWGeometryTableView &)
 

Private Attributes

FWBoolParameter m_disableTopNode
 
FWStringParameter m_filter
 
FWGUIValidatingTextEntrym_filterEntry
 
FWEnumParameter m_filterType
 
std::shared_ptr< FWParameterSetterBasem_filterTypeSetter
 
FWGeoMaterialValidatorm_filterValidator
 
FWEnumParameter m_mode
 
FWEnumParameter m_proximityAlgo
 
FWDoubleParameter m_regionRadius
 
FWBoolParameter m_selectRegion
 
FWGeometryTableManagerm_tableManager
 
FWLongParameter m_visLevel
 
FWBoolParameter m_visLevelFilter
 

Additional Inherited Members

- Public Attributes inherited from FWViewBase
sigc::signal< void, const FWViewBase * > beingDestroyed_
 
sigc::signal< void, Int_t, Int_t > openSelectedModelContextMenu_
 
- Protected Member Functions inherited from FWGeometryTableViewBase
void postConst ()
 
void setTopNodePathFromConfig (const FWConfiguration &iFrom)
 
- Protected Member Functions inherited from FWViewBase
 ~FWViewBase () override
 
- Protected Attributes inherited from FWGeometryTableViewBase
FWLongParameter m_autoExpand
 
FWColorManagerm_colorManager
 
FWColorPopupm_colorPopup
 
FWBoolParameter m_enableHighlight
 
bool m_enableRedraw
 
TEveScene * m_eveScene
 
FWGeoTopNodem_eveTopNode
 
TEveWindowFrame * m_eveWindow
 
TGCompositeFrame * m_frame
 
FWLongParameter m_leafTransparencyFactor
 
FWEveDigitSetScalableMarkerm_marker
 
FWLongParameter m_minLeafTransparency
 
FWLongParameter m_minParentTransparency
 
FWLongParameter m_parentTransparencyFactor
 
FWTableWidgetm_tableWidget
 
FWLongParameter m_topNodeIdx
 
FWViewCombom_viewBox
 
const FWConfigurationm_viewersConfig
 
- Protected Attributes inherited from FWViewBase
FWViewType m_type
 

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 28 of file FWGeometryTableView.h.

Member Enumeration Documentation

Enumerator
kNode 
kVolume 

Definition at line 31 of file FWGeometryTableView.h.

Enumerator
kBBoxCenter 
kBBoxSurface 

Definition at line 32 of file FWGeometryTableView.h.

Constructor & Destructor Documentation

FWGeometryTableView::FWGeometryTableView ( TEveWindowSlot *  iParent,
FWColorManager colMng 
)

Definition at line 132 of file FWGeometryTableView.cc.

References FWEnumParameter::addEntry(), autoExpandCallback(), FWGeometryTableViewBase::cdTop(), FWGenericParameter< T >::changed_, checkRegionOfInterest(), FWGeometryTableViewManager::getGeoMangeur(), FWGUIValidatingTextEntry::getListBox(), AnalysisDataFormats_SUSYBSMObjects::hp, kBBoxCenter, kBBoxSurface, kFilterMaterialName, kFilterMaterialTitle, kFilterShapeClassName, kFilterShapeName, kNode, kVolume, FWGeometryTableManager::loadGeometry(), FWGeometryTableViewBase::m_autoExpand, m_disableTopNode, FWGeometryTableViewBase::m_eveScene, FWGeoTopNodeGLScene::m_eveTopNode, FWGeometryTableViewBase::m_eveTopNode, m_filterEntry, m_filterType, m_filterTypeSetter, m_filterValidator, FWGeometryTableViewBase::m_frame, m_mode, m_proximityAlgo, m_regionRadius, FWGeoTopNode::m_scene, m_selectRegion, m_tableManager, FWGeometryTableViewBase::m_viewBox, m_visLevel, m_visLevelFilter, FWParameterSetterBase::makeSetterFor(), FWGeometryTableViewBase::postConst(), FWGeometryTableViewBase::refreshTable3D(), FWGUIValidatingTextEntry::setMaxListBoxHeight(), FWGUIValidatingTextEntry::setValidator(), and updateVisibilityTopNode().

Referenced by isSelectedByRegion().

134  m_tableManager(nullptr),
135  m_filterEntry(nullptr),
136  m_filterValidator(nullptr),
137  m_mode(this, "Mode", 0l, 0l, 1l),
138  m_disableTopNode(this,"HideTopNode", true),
139  m_visLevel(this,"VisLevel", 3l, 1l, 100l),
140  m_filter(this,"Materials", std::string()),
141  m_filterType(this,"FilterType:", 0l, 0l, 3l),
142  m_visLevelFilter(this,"IgnoreVisLevelOnFilter", true),
143  m_selectRegion(this, "SelectNearCameraCenter", false),
144  m_regionRadius(this, "SphereRadius", 10.0, 1.0, 300.0),
145  m_proximityAlgo(this, "Proximity algorithm", 1l, 0l, 1l)
146 {
147  FWGeoTopNodeGLScene *gls = new FWGeoTopNodeGLScene(nullptr);
148 #if ROOT_VERSION_CODE < ROOT_VERSION(5,32,0)
149  m_eveScene = new FWGeoTopNodeEveScene(gls, "TopGeoNodeScene", "");
150 #else
151  m_eveScene = new TEveScene(gls, "TopGeoNodeScene", "");
152 #endif
153  gEve->GetScenes()->AddElement(m_eveScene);
154 
155  m_eveTopNode = new FWEveDetectorGeo(this);
156  m_eveTopNode->IncDenyDestroy();
157  m_eveTopNode->SetPickable(true);
158  m_eveScene->AddElement(m_eveTopNode);
159 
160  gls->m_eveTopNode = m_eveTopNode;
161  m_eveTopNode->m_scene = gls;
162 
163  // top row
164  TGHorizontalFrame *hp = new TGHorizontalFrame(m_frame);
165  {
166  TGTextButton *rb = new TGTextButton (hp, "CdTop");
167  hp->AddFrame(rb, new TGLayoutHints(kLHintsNormal, 2, 2, 0, 0) );
168  rb->Connect("Clicked()","FWGeometryTableViewBase",this,"cdTop()");
169  }
170  {
171  TGTextButton *rb = new TGTextButton (hp, "CdUp");
172  hp->AddFrame(rb, new TGLayoutHints(kLHintsNormal, 2, 2, 0, 0));
173  rb->Connect("Clicked()","FWGeometryTableViewBase",this,"cdUp()");
174  }
175  {
176  m_viewBox = new FWViewCombo(hp, this);
177  hp->AddFrame( m_viewBox,new TGLayoutHints(kLHintsExpandY, 2, 2, 0, 0));
178  }
179  {
180 
181  m_filterType.addEntry(kFilterMaterialName, "MaterialName");
182  m_filterType.addEntry(kFilterMaterialTitle, "MaterialTitle");
183  m_filterType.addEntry(kFilterShapeName, "ShapeName");
184  m_filterType.addEntry(kFilterShapeClassName, "ShapeClassName");
185 
186  std::shared_ptr<FWParameterSetterBase> ptr( FWParameterSetterBase::makeSetterFor((FWParameterBase*)&m_filterType) );
187  ptr->attach((FWParameterBase*)&m_filterType, this);
188 
189  TGFrame* pframe = ptr->build(hp, false);
190  hp->AddFrame(pframe, new TGLayoutHints(kLHintsLeft));
191  m_filterTypeSetter.swap(ptr);
192  }
193  {
194  hp->AddFrame(new TGLabel(hp, "FilterExp:"), new TGLayoutHints(kLHintsBottom, 0, 0, 0, 2));
196  m_filterEntry->SetHeight(20);
199  hp->AddFrame(m_filterEntry, new TGLayoutHints(kLHintsExpandX, 0, 2, 1, 0));
201  m_filterEntry->getListBox()->Connect("Selected(int)", "FWGeometryTableView", this, "filterListCallback()");
202  m_filterEntry->Connect("ReturnPressed()", "FWGeometryTableView", this, "filterTextEntryCallback()");
203 
204  gVirtualX->GrabKey( m_filterEntry->GetId(),gVirtualX->KeysymToKeycode((int)kKey_A), kKeyControlMask, true);
205  }
206  m_frame->AddFrame(hp,new TGLayoutHints(kLHintsLeft|kLHintsExpandX, 2, 2, 2, 0));
207 
209  {
210  TEveGeoManagerHolder gmgr( FWGeometryTableViewManager::getGeoMangeur());
211  m_tableManager->loadGeometry( gGeoManager->GetTopNode(), gGeoManager->GetListOfVolumes());
212  }
213  cdTop();
214 
215  m_mode.addEntry(kNode, "Node");
216  m_mode.addEntry(kVolume, "Volume");
217 
218  m_mode.changed_.connect(boost::bind(&FWGeometryTableView::refreshTable3D,this));
220  m_visLevel.changed_.connect(boost::bind(&FWGeometryTableView::refreshTable3D,this));
221 
222 
224 
226  postConst();
227 
228  m_proximityAlgo.addEntry(kBBoxCenter, "BBox center");
229  m_proximityAlgo.addEntry(kBBoxSurface, "BBox surface");
230 
234 
235 }
FWGeoTopNode * m_eveTopNode
FWGeoMaterialValidator * m_filterValidator
FWDoubleParameter m_regionRadius
FWBoolParameter m_selectRegion
FWBoolParameter m_disableTopNode
sigc::signal< void, T > changed_
FWEnumParameter m_filterType
FWGeoTopNodeGLScene * m_scene
Definition: FWGeoTopNode.h:68
FWLongParameter m_visLevel
FWGeometryTableViewBase(TEveWindowSlot *, FWViewType::EType, FWColorManager *)
susybsm::HSCParticleRefProd hp
Definition: classes.h:27
FWStringParameter m_filter
void setValidator(FWValidatorBase *)
bool addEntry(Long_t id, const std::string &txt)
std::shared_ptr< FWParameterSetterBase > m_filterTypeSetter
FWEnumParameter m_mode
FWGeometryTableManager * m_tableManager
void loadGeometry(TGeoNode *iGeoTopNode, TObjArray *iVolumes)
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
FWBoolParameter m_visLevelFilter
FWEnumParameter m_proximityAlgo
FWGUIValidatingTextEntry * m_filterEntry
FWGeometryTableView::~FWGeometryTableView ( )
override

Definition at line 237 of file FWGeometryTableView.cc.

238 {}
FWGeometryTableView::FWGeometryTableView ( const FWGeometryTableView )
private

Member Function Documentation

void FWGeometryTableView::autoExpandCallback ( )
void FWGeometryTableView::checkRegionOfInterest ( )

Definition at line 366 of file FWGeometryTableView.cc.

References FWGeometryTableManager::checkRegionOfInterest(), fwLog, fwlog::kError, fwlog::kInfo, fwlog::kWarning, FWGeometryTableViewBase::m_eveTopNode, m_proximityAlgo, m_regionRadius, m_selectRegion, m_tableManager, FWGeometryTableViewBase::refreshTable3D(), FWGeometryTableManager::resetRegionOfInterest(), findQualityFiles::v, FWGenericParameter< T >::value(), and viewIsChecked().

Referenced by drawTopNode(), and FWGeometryTableView().

367 {
368  if (m_selectRegion.value())
369  {
370  double* center = nullptr;
371  for (TEveElement::List_i it = gEve->GetViewers()->BeginChildren(); it != gEve->GetViewers()->EndChildren(); ++it)
372  {
373  TEveViewer* v = ((TEveViewer*)(*it));
374  if (viewIsChecked(v, m_eveTopNode))
375  {
376  if (center) {
377  fwLog(fwlog::kWarning) << "Center picked from first view \n";
378  } else {
379  center = v->GetGLViewer()->CurrentCamera().GetCenterVec();
380  fwLog(fwlog::kInfo) << Form("Center picked (%.1f, %.1f, %.1f) from first selected 3D view \n",
381  center[0], center[1], center[2]);
382  }
383  }
384  }
385 
386  if (! center)
387  {
388  fwLog(fwlog::kError) << "No 3D view selected \n";
389  return;
390  }
391 
393  }
394  else
395  {
397  }
398 
399  refreshTable3D();
400 }
FWDoubleParameter m_regionRadius
FWBoolParameter m_selectRegion
void checkRegionOfInterest(double *center, double radius, long algo)
FWGeometryTableManager * m_tableManager
#define fwLog(_level_)
Definition: fwLog.h:50
bool viewIsChecked(TEveViewer *v, TEveElement *el)
FWEnumParameter m_proximityAlgo
FWGeometryTableView::ClassDefOverride ( FWGeometryTableView  ,
 
)
private
bool FWGeometryTableView::drawTopNode ( ) const
inline
void FWGeometryTableView::filterListCallback ( )

Definition at line 276 of file FWGeometryTableView.cc.

References JetChargeProducer_cfi::exp, m_filterEntry, AlCaHLTBitMon_QueryRunRegistry::string, and updateFilter().

277 {
278  // std::cout << "list click ed [" << m_filterEntry->GetText() << "] \n" ;
279 
280  std::string exp = m_filterEntry->GetText();
281  updateFilter(exp);
282 }
void updateFilter(std::string &)
FWGUIValidatingTextEntry * m_filterEntry
void FWGeometryTableView::filterTextEntryCallback ( )

Definition at line 268 of file FWGeometryTableView.cc.

References JetChargeProducer_cfi::exp, m_filterEntry, AlCaHLTBitMon_QueryRunRegistry::string, and updateFilter().

269 {
270  // std::cout << "text entry click ed \n" ;
271  std::string exp = m_filterEntry->GetText();
272  updateFilter(exp);
273 }
void updateFilter(std::string &)
FWGUIValidatingTextEntry * m_filterEntry
int FWGeometryTableView::getAutoExpand ( ) const
inline
std::string FWGeometryTableView::getFilter ( ) const
inline
int FWGeometryTableView::getFilterType ( ) const
inline
bool FWGeometryTableView::getIgnoreVisLevelWhenFilter ( ) const
inline
FWGeometryTableManagerBase * FWGeometryTableView::getTableManager ( )
overridevirtual
int FWGeometryTableView::getVisLevel ( ) const
inline

Definition at line 48 of file FWGeometryTableView.h.

References m_visLevel, and FWGenericParameter< T >::value().

Referenced by FWEveDetectorGeo::Paint().

48 { return m_visLevel.value(); }
FWLongParameter m_visLevel
bool FWGeometryTableView::getVolumeMode ( ) const
inline
bool FWGeometryTableView::isSelectedByRegion ( ) const
inline
const FWGeometryTableView& FWGeometryTableView::operator= ( const FWGeometryTableView )
private

Referenced by isSelectedByRegion().

void FWGeometryTableView::populateController ( ViewerParameterGUI gui) const
overridevirtual

Reimplemented from FWGeometryTableViewBase.

Definition at line 311 of file FWGeometryTableView.cc.

References ViewerParameterGUI::getTabContainer(), FWGeometryTableViewBase::m_autoExpand, m_disableTopNode, FWGeometryTableViewBase::m_minLeafTransparency, FWGeometryTableViewBase::m_minParentTransparency, m_mode, m_proximityAlgo, m_regionRadius, m_selectRegion, m_visLevel, m_visLevelFilter, ViewerParameterGUI::requestTab(), and mps_merge::separator.

312 {
313  gui.requestTab("Style").
314  addParam(&m_mode).
315  addParam(&m_autoExpand).
316  separator().
317  addParam(&m_disableTopNode).
318  addParam(&m_minParentTransparency).
319  addParam(&m_minLeafTransparency).
320  addParam(&m_visLevel).
321  addParam(&m_visLevelFilter).
322  separator().
323  addParam(&m_selectRegion).
324  addParam(&m_regionRadius).
325  addParam(&m_proximityAlgo).separator();
326 
327  TGTextButton* butt = new TGTextButton(gui.getTabContainer(), "ReloadColors");
328  gui.getTabContainer()->AddFrame(butt);
329  butt->Connect("Clicked()", "FWGeometryTableViewBase", (FWGeometryTableViewBase*)this, "reloadColors()");
330 }
string separator
Definition: mps_merge.py:77
FWDoubleParameter m_regionRadius
ViewerParameterGUI & requestTab(const char *)
FWBoolParameter m_selectRegion
FWBoolParameter m_disableTopNode
FWLongParameter m_visLevel
FWEnumParameter m_mode
TGCompositeFrame * getTabContainer()
FWBoolParameter m_visLevelFilter
FWEnumParameter m_proximityAlgo
void FWGeometryTableView::setFrom ( const FWConfiguration iFrom)
overridevirtual

Reimplemented from FWConfigurableParameterizable.

Definition at line 404 of file FWGeometryTableView.cc.

References FWParameterizable::begin(), FWGeometryTableViewBase::cdNode(), FWGeometryTableViewBase::checkExpandLevel(), FWParameterizable::end(), FWGeometryTableViewBase::m_enableRedraw, m_filter, m_filterEntry, m_filterType, m_filterTypeSetter, m_tableManager, FWGeometryTableViewBase::m_topNodeIdx, FWGeometryTableViewBase::m_viewersConfig, FWParameterBase::name(), FWGeometryTableViewBase::refreshTable3D(), FWGeometryTableViewBase::setTopNodePathFromConfig(), FWGeometryTableManager::updateFilter(), FWGenericParameter< T >::value(), and FWConfiguration::valueForKey().

Referenced by drawTopNode().

405 {
406  m_enableRedraw = false;
407  for (const_iterator it =begin(), itEnd = end(); it != itEnd; ++it)
408  {
409  // printf("set from %s \n",(*it)->name().c_str() );
410  if ((*it)->name() == m_topNodeIdx.name() )
412  else
413  (*it)->setFrom(iFrom);
414  }
415 
416 
418 
419  TGComboBox* cbox = ((FWEnumParameterSetter*) m_filterTypeSetter.get())->getWidget();
420  cbox->Select(m_filterType.value(), false);
421  m_viewersConfig = iFrom.valueForKey("Viewers");
422 
423 
424  m_enableRedraw = true;
425  m_filterEntry->SetText(m_filter.value().c_str(), false);
428  refreshTable3D();
429  /*
430  getTableManager()->redrawTable();
431  m_eveTopNode->ElementChanged();
432  gEve->FullRedraw3D(false, true);
433  */
434 }
std::vector< FWParameterBase * >::const_iterator const_iterator
const_iterator begin() const
void setTopNodePathFromConfig(const FWConfiguration &iFrom)
const FWConfiguration * m_viewersConfig
FWEnumParameter m_filterType
FWStringParameter m_filter
const_iterator end() const
std::shared_ptr< FWParameterSetterBase > m_filterTypeSetter
FWGeometryTableManager * m_tableManager
const FWConfiguration * valueForKey(const std::string &iKey) const
FWGUIValidatingTextEntry * m_filterEntry
const std::string & name() const
void FWGeometryTableView::setPath ( int  parentIdx,
std::string &   
)
overridevirtual

Reimplemented from FWGeometryTableViewBase.

Definition at line 241 of file FWGeometryTableView.cc.

References FWGeometryTableViewBase::checkExpandLevel(), FWGeoTopNode::clearSelection(), getTableManager(), FWGeometryTableViewBase::getTopNodeIdx(), FWGeometryTableManagerBase::kVisNodeSelf, m_disableTopNode, FWGeometryTableViewBase::m_eveTopNode, FWGeometryTableViewBase::m_topNodeIdx, FWGeometryTableManagerBase::refEntries(), FWGeometryTableViewBase::refreshTable3D(), FWGenericParameter< T >::set(), FWGeometryTableManagerBase::setLevelOffset(), and FWGenericParameter< T >::value().

Referenced by drawTopNode().

242 {
244 
245  m_topNodeIdx.set(parentIdx);
247  getTableManager()->setLevelOffset(getTableManager()->refEntries().at(getTopNodeIdx()).m_level);
248 
250  refreshTable3D();
251 }
FWBoolParameter m_disableTopNode
void clearSelection()
Definition: FWGeoTopNode.h:78
FWGeometryTableManagerBase * getTableManager() override
void FWGeometryTableView::updateFilter ( std::string &  exp)

Definition at line 285 of file FWGeometryTableView.cc.

References mps_fire::i, m_filter, m_filterEntry, m_filterType, m_tableManager, FWGeometryTableManagerBase::refEntries(), FWGeometryTableViewBase::refreshTable3D(), FWGenericParameter< T >::set(), FWGeometryTableManager::setVisibility(), FWGeometryTableManager::setVisibilityChld(), FWGeometryTableManager::updateFilter(), and FWGenericParameter< T >::value().

Referenced by filterListCallback(), and filterTextEntryCallback().

286 {
287  // std::cout << "=FWGeometryTableViewBase::updateFilter()" << m_filterEntry->GetText() <<std::endl;
288 
289 
290  if (exp.empty())
291  {
292  // std::cout << "FITLER OFF \n";
294  {
295  m_tableManager->setVisibility(*i, true);
297  }
298 
299  // NOTE: entry should be cleared automatically
300  m_filterEntry->Clear();
301  }
302 
303  m_filter.set(exp);
305  refreshTable3D();
306 
307 }
FWEnumParameter m_filterType
FWStringParameter m_filter
FWGeometryTableManager * m_tableManager
void setVisibility(NodeInfo &nodeInfo, bool) override
FWGUIValidatingTextEntry * m_filterEntry
void setVisibilityChld(NodeInfo &nodeInfo, bool) override
void FWGeometryTableView::updateVisibilityTopNode ( )

Member Data Documentation

FWBoolParameter FWGeometryTableView::m_disableTopNode
private
FWStringParameter FWGeometryTableView::m_filter
private

Definition at line 82 of file FWGeometryTableView.h.

Referenced by getFilter(), setFrom(), and updateFilter().

FWGUIValidatingTextEntry* FWGeometryTableView::m_filterEntry
private
FWEnumParameter FWGeometryTableView::m_filterType
private

Definition at line 83 of file FWGeometryTableView.h.

Referenced by FWGeometryTableView(), getFilterType(), setFrom(), and updateFilter().

std::shared_ptr<FWParameterSetterBase> FWGeometryTableView::m_filterTypeSetter
private

Definition at line 91 of file FWGeometryTableView.h.

Referenced by FWGeometryTableView(), and setFrom().

FWGeoMaterialValidator* FWGeometryTableView::m_filterValidator
private

Definition at line 75 of file FWGeometryTableView.h.

Referenced by FWGeometryTableView().

FWEnumParameter FWGeometryTableView::m_mode
private

Definition at line 78 of file FWGeometryTableView.h.

Referenced by FWGeometryTableView(), getVolumeMode(), and populateController().

FWEnumParameter FWGeometryTableView::m_proximityAlgo
private
FWDoubleParameter FWGeometryTableView::m_regionRadius
private
FWBoolParameter FWGeometryTableView::m_selectRegion
private
FWGeometryTableManager* FWGeometryTableView::m_tableManager
private
FWLongParameter FWGeometryTableView::m_visLevel
private

Definition at line 80 of file FWGeometryTableView.h.

Referenced by FWGeometryTableView(), getVisLevel(), and populateController().

FWBoolParameter FWGeometryTableView::m_visLevelFilter
private