73 GREATER_EQUAL_THEN = 4,
80 EXTRACTION_MODE ExtractionMode{EXTRACTION_MODE::AUTO};
81 VALIDATION_MODE ValidationMode{VALIDATION_MODE::EQUAL};
82 CELL_MODE CellMode{CELL_MODE::ALL};
85 std::string ExpressionString{
""};
86 int ArrayAttributeType{0};
87 bool ExtractUniqueValues{
true};
88 std::string OutputArrayName{
"Data"};
89 int ImageExtent[6]{0, 0, 0, 0, 0, 0};
102 vtkSetMacro(MaskOnly,
bool);
103 vtkGetMacro(MaskOnly,
bool);
105 vtkSetMacro(OutputType,
int);
106 vtkGetMacro(OutputType,
int);
108 vtkSetMacro(ExpressionString,
const std::string &);
109 vtkGetMacro(ExpressionString, std::string);
111 vtkSetMacro(ExtractUniqueValues,
bool);
112 vtkGetMacro(ExtractUniqueValues,
bool);
114 vtkSetMacro(ArrayAttributeType,
int);
115 vtkGetMacro(ArrayAttributeType,
int);
117 vtkSetMacro(OutputArrayName,
const std::string &);
118 vtkGetMacro(OutputArrayName, std::string);
120 vtkSetVector6Macro(ImageExtent,
int);
121 vtkGetVector6Macro(ImageExtent,
int);
123 std::string GetVtkDataTypeName(
const int outputType)
const;
125 int ExtractBlocks(vtkDataObject *output,
126 vtkDataObject *input,
127 const std::vector<double> &indices,
128 const bool &extractTuples)
const;
130 int ExtractRows(vtkDataObject *output,
131 vtkDataObject *input,
132 const std::vector<double> &indices)
const;
134 int AddMaskArray(vtkDataObject *output,
135 vtkDataObject *input,
136 const std::vector<double> &labels);
138 int ExtractGeometry(vtkDataObject *output,
139 vtkDataObject *input,
140 const std::vector<double> &labels);
142 int ExtractArrayValues(vtkDataObject *output,
143 vtkDataObject *input,
144 const std::vector<double> &indices);
146 int ExtractArray(vtkDataObject *output,
147 vtkDataObject *input,
148 const std::vector<double> &indices);
161 vtkInformationVector **inputVector,
162 vtkInformationVector *outputVector)
override;
164 vtkInformationVector **inputVector,
165 vtkInformationVector *outputVector)
override;