SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Classes | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
pqSMTKSelectionFilterBehavior Class Reference

Toolbar buttons to filter how selections in 3-D renderviews are transferred to SMTK. More...

#include <pqSMTKSelectionFilterBehavior.h>

Inheritance diagram for pqSMTKSelectionFilterBehavior:
[legend]
Collaboration diagram for pqSMTKSelectionFilterBehavior:
[legend]

Classes

class  pqInternal
 

Public Member Functions

 pqSMTKSelectionFilterBehavior (QObject *parent=nullptr)
 
void setSelection (smtk::view::SelectionPtr selnMgr)
 

Static Public Member Functions

static pqSMTKSelectionFilterBehaviorinstance ()
 

Protected Slots

virtual void onFilterChanged (QAction *a)
 
virtual void startBlockSelectionInActiveView ()
 
virtual void filterSelectionOnServer (vtkSMSMTKWrapperProxy *mgr, pqServer *server)
 
virtual void unfilterSelectionOnServer (vtkSMSMTKWrapperProxy *mgr, pqServer *server)
 

Protected Member Functions

void installFilter ()
 Install a filter on the selection using current flags (m_modelFilterMask and m_acceptMeshes).
 

Protected Attributes

pqInternalm_p
 
bool m_acceptMeshes
 
smtk::model::BitFlags m_modelFilterMask
 
smtk::view::SelectionPtr m_selection
 

Detailed Description

Toolbar buttons to filter how selections in 3-D renderviews are transferred to SMTK.

This installs a filter on a given SMTK selection object. When the application uses a "filtered" selection mode to modify the selection, this filter will prune some items provided to the modifySelection call – optionally replacing them with suggestions appropriate to the filter.


The documentation for this class was generated from the following files: