29#ifndef vtkAppendSelection_h
30#define vtkAppendSelection_h
32#include "vtkFiltersCoreModule.h"
37VTK_ABI_NAMESPACE_BEGIN
77 vtkSetMacro(Inverse,
bool);
78 vtkBooleanMacro(Inverse,
bool);
79 vtkGetMacro(Inverse,
bool);
189 vtkErrorMacro(<<
"AddInput() must be called with a vtkSelection not a vtkDataObject.");
199 std::string Expression;
202 std::unique_ptr<vtkInternals> Internals;
Proxy object to connect input/output ports.
appends one or more selections together
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static const char * GetColorArrayName()
Return the specific name used for the selection color array.
vtkSetStdStringFromCharMacro(Expression)
Set/Get the expression that defines the boolean expression to combine the selections.
vtkGetCharFromStdStringMacro(Expression)
Set/Get the expression that defines the boolean expression to combine the selections.
void SetInputName(int index, const char *name)
Set/Get names for inputs selections.
static vtkAppendSelection * New()
void SetNumberOfInputs(int num)
Directly set(allocate) number of inputs, should only be used when UserManagedInputs is true.
void SetInputConnectionByNumber(int num, vtkAlgorithmOutput *input)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double * GetInputColor(int index) const
Set/Get colors for inputs selections.
void RemoveAllInputNames()
Remove all assigned input selection names.
const char * GetInputName(int index) const
Set/Get names for inputs selections.
void SetInputColor(int index, double r, double g, double b)
Set/Get colors for inputs selections.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkSelection * GetInput()
Get any input of this filter.
void RemoveInputData(vtkSelection *)
Remove a dataset from the list of data to append.
vtkSelection * GetInput(int idx)
Get any input of this filter.
void RemoveAllInputColors()
Remove all assigned input selection colors.
~vtkAppendSelection() override
void AddInputData(vtkSelection *)
Add a dataset to the list of data to append.
general representation of visualization data
a simple class to control print indentation
Superclass for algorithms that produce only Selection as output.
a node in a vtkSelection the defines the selection criteria.
data object that represents a "selection" in VTK.