VTK  9.7.1
vtkCleanArrays.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
18 #ifndef vtkCleanArrays_h
19 #define vtkCleanArrays_h
20 
21 #include "vtkFiltersParallelModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
26 class VTKFILTERSPARALLEL_EXPORT vtkCleanArrays : public vtkPassInputTypeAlgorithm
27 {
28 public:
29  static vtkCleanArrays* New();
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
38  void SetController(vtkMultiProcessController* controller);
39  vtkGetObjectMacro(Controller, vtkMultiProcessController);
41 
43 
47  vtkSetMacro(FillPartialArrays, bool);
48  vtkGetMacro(FillPartialArrays, bool);
49  vtkBooleanMacro(FillPartialArrays, bool);
51 
53 
59  vtkSetMacro(MarkFilledPartialArrays, bool);
60  vtkGetMacro(MarkFilledPartialArrays, bool);
61  vtkBooleanMacro(MarkFilledPartialArrays, bool);
63 
64 protected:
66  ~vtkCleanArrays() override;
67 
68  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
69  vtkInformationVector* outputVector) override;
70 
74 
75 private:
76  vtkCleanArrays(const vtkCleanArrays&) = delete;
77  void operator=(const vtkCleanArrays&) = delete;
78 
79 public:
80  class vtkArrayData;
81  class vtkArraySet;
82 };
83 
84 VTK_ABI_NAMESPACE_END
85 #endif
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
Pipeline data object that contains multiple vtkArray objects.
Definition: vtkArrayData.h:35
a simple class to control print indentation
Definition: vtkIndent.h:28
filter used to remove partial arrays across processes.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
vtkMultiProcessController * Controller
bool MarkFilledPartialArrays
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()
Multiprocessing communication superclass.