15#include "vtkFiltersExtractionModule.h"
21VTK_ABI_NAMESPACE_BEGIN
68 vtkSetMacro(InsidednessArrayName, std::string);
69 vtkGetMacro(InsidednessArrayName, std::string);
112 "Deprecated method without effect, use GetBlockSelection(idx, false) instead.")
114 unsigned int vtkNotUsed(level),
unsigned int vtkNotUsed(index))
130 unsigned int compositeIndex,
bool isDataObjectTree =
true);
161 SelectionMode inheritedSelectionMode,
unsigned int compositeIndex = 0);
164 std::set<unsigned int> SubsetCompositeIds;
abstract superclass for composite (multi-block or AMR) datasets
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
general representation of visualization data
a simple class to control print indentation
abstract base class for most VTK objects
a node in a vtkSelection the defines the selection criteria.
virtual bool ComputeSelectedElements(vtkDataObject *input, vtkSignedCharArray *insidednessArray)=0
This method computes whether or not each element in the dataset is inside the selection and populates...
vtkSmartPointer< vtkSignedCharArray > CreateInsidednessArray(vtkIdType numElems)
Creates an array suitable for storing insideness.
virtual SelectionMode GetBlockSelection(unsigned int compositeIndex, bool isDataObjectTree=true)
Returns whether the block is to be processed.
vtkSmartPointer< vtkSignedCharArray > ComputeCellsContainingSelectedPoints(vtkDataObject *data, vtkSignedCharArray *selectedPoints)
Given a data object and selected points, return an array indicating the insidedness of cells that con...
virtual void Finalize()
Does any cleanup of objects created in Initialize.
virtual void Execute(vtkDataObject *input, vtkDataObject *output)
Given an input and the vtkSelectionNode passed into the Initialize() method, add to the output a vtkS...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::string InsidednessArrayName
virtual void Initialize(vtkSelectionNode *node)
Sets the vtkSelectionNode used by this selection operator and initializes the data structures in the ...
void ExpandToConnectedElements(vtkDataObject *output)
Handle expanding to connected cells or point, if requested.
dynamic, self-adjusting array of signed char
Hold a reference to a vtkObjectBase instance.
A table, which contains similar-typed columns of data.
#define VTK_DEPRECATED_IN_9_6_0(reason)