vtkCleanArrays.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCleanArrays.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
27 #ifndef vtkCleanArrays_h
28 #define vtkCleanArrays_h
29 
30 #include "vtkPVVTKExtensionsMiscModule.h" // needed for export macro
32 
35 {
36 public:
37  static vtkCleanArrays* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
46  void SetController(vtkMultiProcessController* controller);
47  vtkGetObjectMacro(Controller, vtkMultiProcessController);
49 
51 
55  vtkSetMacro(FillPartialArrays, bool);
56  vtkGetMacro(FillPartialArrays, bool);
57  vtkBooleanMacro(FillPartialArrays, bool);
59 
61 
67  vtkSetMacro(MarkFilledPartialArrays, bool);
68  vtkGetMacro(MarkFilledPartialArrays, bool);
69  vtkBooleanMacro(MarkFilledPartialArrays, bool);
71 
72 protected:
74  ~vtkCleanArrays() override;
75 
76  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
77  vtkInformationVector* outputVector) override;
78 
82 
83 private:
84  vtkCleanArrays(const vtkCleanArrays&) = delete;
85  void operator=(const vtkCleanArrays&) = delete;
86 
87 public:
88  class vtkArrayData;
89  class vtkArraySet;
90 };
91 
92 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTKPVVTKEXTENSIONSMISC_EXPORT
filter used to remove partial arrays across processes.
vtkMultiProcessController * Controller
bool MarkFilledPartialArrays
void operator=(const vtkObjectBase &)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkPassInputTypeAlgorithm * New()