vtkPVGenerateProcessIds.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkPVGenerateProcessIds_h
14 #define vtkPVGenerateProcessIds_h
15 
16 #include "vtkPVVTKExtensionsFiltersParallelModule.h" //needed for exports
18 
21 {
22 public:
23  static vtkPVGenerateProcessIds* New();
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
28 
35  vtkSetMacro(GeneratePointData, bool);
36  vtkGetMacro(GeneratePointData, bool);
37  vtkBooleanMacro(GeneratePointData, bool);
39 
41 
48  vtkSetMacro(GenerateCellData, bool);
49  vtkGetMacro(GenerateCellData, bool);
50  vtkBooleanMacro(GenerateCellData, bool);
52 
53 protected:
54  vtkPVGenerateProcessIds() = default;
55  ~vtkPVGenerateProcessIds() override = default;
56 
58  int FillInputPortInformation(int, vtkInformation*) override;
59 
60 private:
62  void operator=(const vtkPVGenerateProcessIds&) = delete;
63 
64  bool GeneratePointData = true;
65  bool GenerateCellData = false;
66 };
67 
68 #endif
Generate process IDs of input vtkDataSet or vtkHyperTreeGrid.
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTKPVVTKEXTENSIONSFILTERSPARALLEL_EXPORT
void operator=(const vtkObjectBase &)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkPassInputTypeAlgorithm * New()