VTK  9.3.0
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:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
39  vtkSetClampMacro(Tolerance, double, 0, VTK_DOUBLE_MAX);
40  vtkGetMacro(Tolerance, double);
42 
44 
49  vtkGetObjectMacro(Controller, vtkMultiProcessController);
51 
52 protected:
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
generates global point and cell ids.
static vtkGenerateGlobalIds * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetController(vtkMultiProcessController *)
Get/Set the controller to use.
~vtkGenerateGlobalIds() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:38
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.
#define VTK_DOUBLE_MAX
Definition: vtkType.h:154