38 #ifndef vtkCellDistanceSelector_h 39 #define vtkCellDistanceSelector_h 41 #include "vtkFiltersSelectionModule.h" 100 vtkSetMacro(Distance,
int);
101 vtkGetMacro(Distance,
int);
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetInputSelection(vtkSelection *obj)
A convenience method to set the input selection.
abstract class to specify dataset behavior
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
data object that represents a "selection" in VTK.
Grows a selection, selecting neighbor cells, up to a user defined topological distance.
Proxy object to connect input/output ports.
vtkTypeBool IncludeSeed
Decide whether seed cells are included in selection Default: 1.
static vtkSelectionAlgorithm * New()
a simple class to control print indentation
vtkTypeBool AddIntermediate
Decide whether at distance between 1 and Distance-1 are included in selection Default: 1...
void SetInputSelectionConnection(vtkAlgorithmOutput *in)
A convenience method to set the selection input connection to the producer output.
InputPorts
enumeration values to specify input port types
abstract superclass for arrays of numeric data
virtual void SetInputConnection(int port, vtkAlgorithmOutput *input)
Set the connection for the given input port index.
void SetInputMeshConnection(vtkAlgorithmOutput *in)
A convenience method to set the data object input connection to the producer output.
Superclass for algorithms that produce only Selection as output.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int Distance
Tological radius from seed cells to be used to select cells Default: 1.
general representation of visualization data
void SetInputMesh(vtkDataObject *obj)
A convenience method to set the input data object.
void SetInputData(vtkDataObject *obj)
Assign a data object as input.