43 vtkSetMacro(RegexpString,
const std::string &);
51 return RangeId.data();
54 vtkSetMacro(RenameSelected,
bool);
55 vtkGetMacro(RenameSelected,
bool);
57 vtkSetMacro(SelectedFieldName,
const std::string &);
58 vtkGetMacro(SelectedFieldName, std::string);
61 SelectedFields.emplace_back(s);
66 SelectedFields.clear();
71 vtkDataArraySelection *arr = vtkDataArraySelection::New();
72 arr->SetArraySetting(
"0",
true);
74 std::to_string(AvailableFields.size() - 1).c_str(),
true);
82 vtkInformationVector **inputVector,
83 vtkInformationVector *outputVector)
override;
88 vtkInformationVector **inputVector,
89 vtkInformationVector *outputVector)
override;
91 void FillAvailableFields(vtkDataSet *input);
94 bool RenameSelected{
false};
95 std::string SelectedFieldName{
"SelectedField"};
96 std::vector<std::string> SelectedFields{};
97 std::vector<std::string> AvailableFields{};
98 std::string RegexpString{
".*"};
99 std::array<int, 2> RangeId{0, std::numeric_limits<int>::max()};