41 #ifndef __vtkConvertSelection_h
42 #define __vtkConvertSelection_h
44 #include "vtkFiltersExtractionModule.h"
61 void PrintSelf(ostream& os, vtkIndent indent);
72 vtkSetMacro(InputFieldType,
int);
73 vtkGetMacro(InputFieldType,
int);
79 vtkSetMacro(OutputType,
int);
80 vtkGetMacro(OutputType,
int);
85 virtual void SetArrayName(
const char*);
86 virtual const char* GetArrayName();
91 virtual void SetArrayNames(vtkStringArray*);
92 vtkGetObjectMacro(ArrayNames, vtkStringArray);
97 void AddArrayName(
const char*);
98 void ClearArrayNames();
104 vtkSetMacro(MatchAnyValues,
bool);
105 vtkGetMacro(MatchAnyValues,
bool);
106 vtkBooleanMacro(MatchAnyValues,
bool);
131 const char* arrayName);
135 vtkStringArray* arrayNames);
142 static void GetSelectedItems(
146 vtkIdTypeArray* indices);
152 static void GetSelectedVertices(
155 vtkIdTypeArray* indices);
156 static void GetSelectedEdges(
159 vtkIdTypeArray* indices);
160 static void GetSelectedPoints(
163 vtkIdTypeArray* indices);
164 static void GetSelectedCells(
167 vtkIdTypeArray* indices);
168 static void GetSelectedRows(
171 vtkIdTypeArray* indices);
181 vtkStringArray* arrayNames = 0,
182 int inputFieldType = -1);
191 vtkInformationVector **,
192 vtkInformationVector *);
199 int ConvertCompositeDataSet(
204 int ConvertToIndexSelection(
209 int SelectTableFromTable(
212 vtkIdTypeArray* indices);
214 int ConvertToBlockSelection(
218 int port, vtkInformation* info);
A node in a selection tree. Used to store selection results.
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkExtractSelection * SelectionExtractor
A node in a selection tree. Used to store selection results.
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()
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)
Convert a selection from one type to another.
general representation of visualization data
void PrintSelf(ostream &os, vtkIndent indent)