Go to the documentation of this file.
25 #include "vtkFiltersExtractionModule.h"
97 unsigned int amrLevel,
unsigned int amrIndex) = 0;
119 bool SkipBlock(
unsigned int compositeIndex,
unsigned int amrLevel,
unsigned int amrIndex);
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A node in a selection tree. Used to store selection results.
A table, which contains similar-typed columns of data.
Hold a reference to a vtkObjectBase instance.
abstract base class for most VTK objects
dynamic, self-adjusting array of signed char
std::string InsidednessArrayName
abstract superclass for composite (multi-block or AMR) datasets
bool SkipBlock(unsigned int compositeIndex, unsigned int amrLevel, unsigned int amrIndex)
Subclasses can call this to check if the block should be skipped.
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 bool ComputeSelectedElements(vtkDataObject *input, vtkDataObject *output)
Given an input and the vtkSelectionNode passed into the Initialize() method, add to the output a vtkS...
a simple class to control print indentation
virtual void Initialize(vtkSelectionNode *node, const std::string &insidednessArrayName)
Sets the vtkSelectionNode used by this selection operator and initializes the data structures in the ...
virtual bool ComputeSelectedElementsForBlock(vtkDataObject *input, vtkSignedCharArray *insidednessArray, unsigned int compositeIndex, unsigned int amrLevel, unsigned int amrIndex)=0
This method computes whether or not each element in the dataset is inside the selection and populates...
virtual bool ComputeSelectedElementsForCompositeDataSet(vtkCompositeDataSet *input, vtkCompositeDataSet *output)
Computes whether each element in the dataset is inside the selection and populates the given array wi...
virtual ~vtkSelector() override
virtual void Finalize()
Does any cleanup of objects created in Initialize.
vtkSmartPointer< vtkSignedCharArray > CreateInsidednessArray(vtkIdType numElems)
Creates an array suitable for storing insideness.
general representation of visualization data