VTK  9.4.2
vtkMergeBlocks.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2// SPDX-License-Identifier: BSD-3-Clause
17#ifndef vtkMergeBlocks_h
18#define vtkMergeBlocks_h
19
21#include "vtkFiltersParallelModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24
25class VTKFILTERSPARALLEL_EXPORT vtkMergeBlocks : public vtkDataObjectAlgorithm
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33
37 vtkSetMacro(MergePoints, bool);
38 vtkGetMacro(MergePoints, bool);
39 vtkBooleanMacro(MergePoints, bool);
41
43
50 vtkSetClampMacro(Tolerance, double, 0.0, VTK_DOUBLE_MAX);
51 vtkGetMacro(Tolerance, double);
53
55
59 vtkSetMacro(ToleranceIsAbsolute, bool);
60 vtkGetMacro(ToleranceIsAbsolute, bool);
61 vtkBooleanMacro(ToleranceIsAbsolute, bool);
63
65
71 vtkSetMacro(MergePartitionsOnly, bool);
72 vtkGetMacro(MergePartitionsOnly, bool);
73 vtkBooleanMacro(MergePartitionsOnly, bool);
75
77
86 vtkSetMacro(OutputDataSetType, int);
87 vtkGetMacro(OutputDataSetType, int);
89
90protected:
92 ~vtkMergeBlocks() override;
93
98 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
99 vtkInformationVector* outputVector) override;
101 int FillInputPortInformation(int port, vtkInformation* info) override;
102
104 double Tolerance;
108
109private:
110 vtkMergeBlocks(const vtkMergeBlocks&) = delete;
111 void operator=(const vtkMergeBlocks&) = delete;
112};
113
114VTK_ABI_NAMESPACE_END
115#endif
Superclass for algorithms that produce only data object as output.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
merges blocks in a composite dataset to a dataset.
int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkMergeBlocks() override
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
static vtkMergeBlocks * New()
#define VTK_DOUBLE_MAX
Definition vtkType.h:154