VTK  9.4.20250311
vtkMergeBlocks.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2// SPDX-License-Identifier: BSD-3-Clause
18#ifndef vtkMergeBlocks_h
19#define vtkMergeBlocks_h
20
22#include "vtkFiltersParallelModule.h" // For export macro
23
24VTK_ABI_NAMESPACE_BEGIN
25
26class VTKFILTERSPARALLEL_EXPORT vtkMergeBlocks : public vtkDataObjectAlgorithm
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
38 vtkSetMacro(MergePoints, bool);
39 vtkGetMacro(MergePoints, bool);
40 vtkBooleanMacro(MergePoints, bool);
42
44
51 vtkSetClampMacro(Tolerance, double, 0.0, VTK_DOUBLE_MAX);
52 vtkGetMacro(Tolerance, double);
54
56
60 vtkSetMacro(ToleranceIsAbsolute, bool);
61 vtkGetMacro(ToleranceIsAbsolute, bool);
62 vtkBooleanMacro(ToleranceIsAbsolute, bool);
64
66
72 vtkSetMacro(MergePartitionsOnly, bool);
73 vtkGetMacro(MergePartitionsOnly, bool);
74 vtkBooleanMacro(MergePartitionsOnly, bool);
76
78
87 vtkSetMacro(OutputDataSetType, int);
88 vtkGetMacro(OutputDataSetType, int);
90
91protected:
93 ~vtkMergeBlocks() override;
94
99 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
100 vtkInformationVector* outputVector) override;
102 int FillInputPortInformation(int port, vtkInformation* info) override;
103
105 double Tolerance;
109
110private:
111 vtkMergeBlocks(const vtkMergeBlocks&) = delete;
112 void operator=(const vtkMergeBlocks&) = delete;
113};
114
115VTK_ABI_NAMESPACE_END
116#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