33 #ifndef vtkConvertSelection_h 34 #define vtkConvertSelection_h 36 #include "vtkFiltersExtractionModule.h" 69 vtkSetMacro(InputFieldType,
int);
70 vtkGetMacro(InputFieldType,
int);
78 vtkSetMacro(OutputType,
int);
79 vtkGetMacro(OutputType,
int);
86 virtual void SetArrayName(
const char*);
87 virtual const char* GetArrayName();
102 void AddArrayName(
const char*);
103 void ClearArrayNames();
111 vtkSetMacro(MatchAnyValues,
bool);
112 vtkGetMacro(MatchAnyValues,
bool);
113 vtkBooleanMacro(MatchAnyValues,
bool);
121 vtkSetMacro(AllowMissingArray,
bool);
122 vtkGetMacro(AllowMissingArray,
bool);
123 vtkBooleanMacro(AllowMissingArray,
bool);
153 const char* arrayName);
164 static void GetSelectedItems(
175 static void GetSelectedVertices(
179 static void GetSelectedEdges(
183 static void GetSelectedPoints(
187 static void GetSelectedCells(
191 static void GetSelectedRows(
206 int inputFieldType = -1,
207 bool allowMissingArray =
false);
223 int ConvertCompositeDataSet(
228 int ConvertToIndexSelection(
233 int SelectTableFromTable(
238 int ConvertToBlockSelection(
A node in a selection tree.
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
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
VTKACCELERATORSVTKM_EXPORT vtkm::cont::Field Convert(vtkDataArray *input, int association)