VTK  9.3.20241006
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
24VTK_ABI_NAMESPACE_BEGIN
26class VTKFILTERSPARALLEL_EXPORT vtkCleanArrays : public vtkPassInputTypeAlgorithm
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
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
64protected:
66 ~vtkCleanArrays() override;
67
68 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
69 vtkInformationVector* outputVector) override;
70
74
75private:
76 vtkCleanArrays(const vtkCleanArrays&) = delete;
77 void operator=(const vtkCleanArrays&) = delete;
78
79public:
80 class vtkArrayData;
81 class vtkArraySet;
82};
83
84VTK_ABI_NAMESPACE_END
85#endif
Pipeline data object that contains multiple vtkArray objects.
filter used to remove partial arrays across processes.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetController(vtkMultiProcessController *controller)
The user can set the controller used for inter-process communication.
bool MarkFilledPartialArrays
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCleanArrays * New()
vtkMultiProcessController * Controller
~vtkCleanArrays() override
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Superclass for algorithms that produce output of the same type as input.