24 #ifndef vtkConvertSelection_h
25 #define vtkConvertSelection_h
27 #include "vtkFiltersExtractionModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
61 vtkSetMacro(InputFieldType,
int);
62 vtkGetMacro(InputFieldType,
int);
70 vtkSetMacro(OutputType,
int);
71 vtkGetMacro(OutputType,
int);
78 virtual void SetArrayName(
const char*);
79 virtual const char* GetArrayName();
94 void AddArrayName(
const char*);
95 void ClearArrayNames();
103 vtkSetMacro(MatchAnyValues,
bool);
104 vtkGetMacro(MatchAnyValues,
bool);
105 vtkBooleanMacro(MatchAnyValues,
bool);
113 vtkSetMacro(AllowMissingArray,
bool);
114 vtkGetMacro(AllowMissingArray,
bool);
115 vtkBooleanMacro(AllowMissingArray,
bool);
146 static void GetSelectedItems(
166 vtkStringArray* arrayNames =
nullptr,
int inputFieldType = -1,
bool allowMissingArray =
false);
178 int ConvertFromQueryAndBlockSelectionNodeCompositeDataSet(
201 VTK_ABI_NAMESPACE_END
a node in a vtkSelection the defines the selection criteria.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
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.
vtkExtractSelection * SelectionExtractor
a vtkAbstractArray subclass for strings
data object that represents a "selection" in VTK.
dynamic, self-adjusting array of vtkIdType
Proxy object to connect input/output ports.
Base class for graph data types.
abstract superclass for composite (multi-block or AMR) datasets
static vtkSelectionAlgorithm * New()
a simple class to control print indentation
VTKACCELERATORSVTKMCORE_EXPORT vtkDataArray * Convert(const vtkm::cont::Field &input)
Superclass for algorithms that produce only Selection as output.
vtkStringArray * ArrayNames
A table, which contains similar-typed columns of data.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Convert a selection from one type to another.
general representation of visualization data