VTK  9.1.0
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=========================================================================*/
25#ifndef vtkGenerateGlobalIds_h
26#define vtkGenerateGlobalIds_h
27
28#include "vtkFiltersParallelDIY2Module.h" // for export macros
30
32
33class VTKFILTERSPARALLELDIY2_EXPORT vtkGenerateGlobalIds : public vtkPassInputTypeAlgorithm
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
41
47 vtkSetClampMacro(Tolerance, double, 0, VTK_DOUBLE_MAX);
48 vtkGetMacro(Tolerance, double);
50
52
57 vtkGetObjectMacro(Controller, vtkMultiProcessController);
59
60protected:
63
65
66private:
68 void operator=(const vtkGenerateGlobalIds&) = delete;
69
70 vtkMultiProcessController* Controller;
71 double Tolerance;
72};
73
74#endif
generates global point and cell ids.
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.
static vtkGenerateGlobalIds * New()
a simple class to control print indentation
Definition: vtkIndent.h:113
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:165