VTK: Filters/ParallelDIY2/vtkGenerateGlobalIds.h Source File

| 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
20 #include "vtkPassInputTypeAlgorithm.h"
21
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkMultiProcessController;
24
25 class VTKFILTERSPARALLELDIY2_EXPORT vtkGenerateGlobalIds : public vtkPassInputTypeAlgorithm
26 {
27 public:
28 static vtkGenerateGlobalIds* New();
29 vtkTypeMacro(vtkGenerateGlobalIds, vtkPassInputTypeAlgorithm);
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:
53 vtkGenerateGlobalIds();
54 ~vtkGenerateGlobalIds() override;
55
56 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
57
58 private:
59 vtkGenerateGlobalIds(const vtkGenerateGlobalIds&) = delete;
60 void operator=(const vtkGenerateGlobalIds&) = delete;
61
62 vtkMultiProcessController* Controller;
63 double Tolerance;
64 };
65
66 VTK_ABI_NAMESPACE_END
67 #endif
vtkGenerateGlobalIds
generates global point and cell ids.
Definition: vtkGenerateGlobalIds.h:26
vtkGenerateGlobalIds::vtkGenerateGlobalIds
vtkGenerateGlobalIds()
vtkGenerateGlobalIds::New
static vtkGenerateGlobalIds * New()
vtkGenerateGlobalIds::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkGenerateGlobalIds::SetController
void SetController(vtkMultiProcessController *)
Get/Set the controller to use.
vtkGenerateGlobalIds::~vtkGenerateGlobalIds
~vtkGenerateGlobalIds() override
vtkGenerateGlobalIds::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:72
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:45
vtkPassInputTypeAlgorithm.h
VTK_DOUBLE_MAX
#define VTK_DOUBLE_MAX
Definition: vtkType.h:154