SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkSMTKEncodeSelection Class Reference

Intercept ParaView selections. More...

#include <vtkSMTKEncodeSelection.h>

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

Public Types

typedef vtkPVEncodeSelectionForServer Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkSMTKEncodeSelectionNewInstance () const
 
 vtkSMTKEncodeSelection (const vtkSMTKEncodeSelection &)=delete
 
vtkSMTKEncodeSelectionoperator= (const vtkSMTKEncodeSelection &)=delete
 
bool ProcessSelection (vtkSelection *rawSelection, vtkSMRenderViewProxy *viewProxy, bool multipleSelectionsAllowed, vtkCollection *selectedRepresentations, vtkCollection *selectionSources, int modifier, bool selectBlocks) override
 

Static Public Member Functions

static vtkSMTKEncodeSelectionNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSMTKEncodeSelectionSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
void ProcessRawSelection (vtkSelection *rawSelection, vtkSMRenderViewProxy *viewProxy, int modifier, bool selectBlocks)
 Method called by ProcessSelection to perform SMTK-related selection.
 
bool ProcessResource (pqSMTKWrapper *wrapper, const std::shared_ptr< smtk::resource::Resource > &resource, const std::shared_ptr< smtk::view::Selection > &smtkSelection, vtkSMTKResourceRepresentation *resourceRep, vtkSelection *rawSelection, vtkSMRenderViewProxy *vtkNotUsed(viewProxy), int modifier, bool selectBlocks)
 

Detailed Description

Intercept ParaView selections.

ParaView's usual framework for selection notification occurs after information we need is removed from the selection. We override the class (vtkPVEncodeSelectionForServer) used by ParaView to transform the selection by registering this class with vtkObjectFactory (see pqSMTKAppComponentsAutoStart) and perform our selection work at that point.


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