VTK  9.5.20250811
vtkMergeBlocks.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2// SPDX-License-Identifier: BSD-3-Clause
21#ifndef vtkMergeBlocks_h
22#define vtkMergeBlocks_h
23
25#include "vtkFiltersParallelModule.h" // For export macro
26
27VTK_ABI_NAMESPACE_BEGIN
28
29class VTKFILTERSPARALLEL_EXPORT vtkMergeBlocks : public vtkDataObjectAlgorithm
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
41 vtkSetMacro(MergePoints, bool);
42 vtkGetMacro(MergePoints, bool);
43 vtkBooleanMacro(MergePoints, bool);
45
47
54 vtkSetClampMacro(Tolerance, double, 0.0, VTK_DOUBLE_MAX);
55 vtkGetMacro(Tolerance, double);
57
59
63 vtkSetMacro(ToleranceIsAbsolute, bool);
64 vtkGetMacro(ToleranceIsAbsolute, bool);
65 vtkBooleanMacro(ToleranceIsAbsolute, bool);
67
69
75 vtkSetMacro(MergePartitionsOnly, bool);
76 vtkGetMacro(MergePartitionsOnly, bool);
77 vtkBooleanMacro(MergePartitionsOnly, bool);
79
81
90 vtkSetMacro(OutputDataSetType, int);
91 vtkGetMacro(OutputDataSetType, int);
93
94protected:
96 ~vtkMergeBlocks() override;
97
103 vtkInformationVector* outputVector) override;
105 int FillInputPortInformation(int port, vtkInformation* info) override;
106
108 double Tolerance;
112
113private:
114 vtkMergeBlocks(const vtkMergeBlocks&) = delete;
115 void operator=(const vtkMergeBlocks&) = delete;
116};
117
118VTK_ABI_NAMESPACE_END
119#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:171