VTK  9.3.1
vtkGenerateGlobalIds.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkGenerateGlobalIds_h
17 #define vtkGenerateGlobalIds_h
18 
19 #include "vtkFiltersParallelDIY2Module.h" // for export macros
21 
22 VTK_ABI_NAMESPACE_BEGIN
24 
25 class VTKFILTERSPARALLELDIY2_EXPORT vtkGenerateGlobalIds : public vtkPassInputTypeAlgorithm
26 {
27 public:
28  static vtkGenerateGlobalIds* New();
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
39  vtkSetClampMacro(Tolerance, double, 0, VTK_DOUBLE_MAX);
40  vtkGetMacro(Tolerance, double);
42 
44 
48  void SetController(vtkMultiProcessController*);
49  vtkGetObjectMacro(Controller, vtkMultiProcessController);
51 
52 protected:
54  ~vtkGenerateGlobalIds() override;
55 
57 
58 private:
60  void operator=(const vtkGenerateGlobalIds&) = delete;
61 
62  vtkMultiProcessController* Controller;
63  double Tolerance;
64 };
65 
66 VTK_ABI_NAMESPACE_END
67 #endif
#define VTK_DOUBLE_MAX
Definition: vtkType.h:154
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:28
generates global point and cell ids.
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.
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.