VTK  9.2.6
vtkGenerateGlobalIds.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenerateGlobalIds.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
28 #ifndef vtkGenerateGlobalIds_h
29 #define vtkGenerateGlobalIds_h
30 
31 #include "vtkFiltersParallelDIY2Module.h" // for export macros
33 
35 
36 class VTKFILTERSPARALLELDIY2_EXPORT vtkGenerateGlobalIds : public vtkPassInputTypeAlgorithm
37 {
38 public:
39  static vtkGenerateGlobalIds* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
50  vtkSetClampMacro(Tolerance, double, 0, VTK_DOUBLE_MAX);
51  vtkGetMacro(Tolerance, double);
53 
55 
59  void SetController(vtkMultiProcessController*);
60  vtkGetObjectMacro(Controller, vtkMultiProcessController);
62 
63 protected:
65  ~vtkGenerateGlobalIds() override;
66 
68 
69 private:
71  void operator=(const vtkGenerateGlobalIds&) = delete;
72 
73  vtkMultiProcessController* Controller;
74  double Tolerance;
75 };
76 
77 #endif
#define VTK_DOUBLE_MAX
Definition: vtkType.h:165
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:39
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.