vtkSelectArraysExtractBlocks.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkSelectArraysExtractBlocks_h
14 #define vtkSelectArraysExtractBlocks_h
15 
16 #include "vtkPVVTKExtensionsExtractionModule.h" // For export macro
17 
19 
20 #include <memory>
21 
23 
26 {
27 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
38  vtkSetMacro(PassArraysEnabled, bool);
39  vtkGetMacro(PassArraysEnabled, bool);
40  vtkBooleanMacro(PassArraysEnabled, bool);
42 
44 
49  vtkSetMacro(ExtractBlocksEnabled, bool);
50  vtkGetMacro(ExtractBlocksEnabled, bool);
51  vtkBooleanMacro(ExtractBlocksEnabled, bool);
53 
55 
61  vtkDataArraySelection* GetPointDataArraySelection();
62  vtkDataArraySelection* GetCellDataArraySelection();
63  vtkDataArraySelection* GetFieldDataArraySelection();
64  vtkDataArraySelection* GetVertexDataArraySelection();
65  vtkDataArraySelection* GetEdgeDataArraySelection();
66  vtkDataArraySelection* GetRowDataArraySelection();
68 
70 
82  bool AddSelector(const char* selector);
83  void ClearSelectors();
85 
87 
97  void SetAssemblyName(const char* assemblyName);
98  const char* GetAssemblyName() const;
100 
104  vtkMTimeType GetMTime() override;
105 
106 protected:
108  ~vtkSelectArraysExtractBlocks() override;
109 
110  int FillInputPortInformation(int port, vtkInformation* info) override;
113 
114 private:
116  void operator=(const vtkSelectArraysExtractBlocks&) = delete;
117 
118  bool PassArraysEnabled = true;
119  bool ExtractBlocksEnabled = true;
120 
121  class vtkInternals;
122  std::unique_ptr<vtkInternals> Internals;
123 };
124 
125 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKPVVTKEXTENSIONSEXTRACTION_EXPORT
Selects arrays and extracts blocks.
vtkTypeUInt64 vtkMTimeType
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual vtkMTimeType GetMTime()
static vtkCompositeDataSetAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
void operator=(const vtkObjectBase &)