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 
20 #include "vtkDataObjectAlgorithm.h"
21 #include "vtkPVVTKExtensionsMiscModule.h" // needed for export macro
22 
25 {
26 public:
27  static vtkMergeBlocks* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
36  vtkSetMacro(MergePoints, bool);
37  vtkGetMacro(MergePoints, bool);
38  vtkBooleanMacro(MergePoints, bool);
40 
42 
49  vtkSetClampMacro(Tolerance, double, 0.0, VTK_DOUBLE_MAX);
50  vtkGetMacro(Tolerance, double);
52 
54 
58  vtkSetMacro(ToleranceIsAbsolute, bool);
59  vtkGetMacro(ToleranceIsAbsolute, bool);
60  vtkBooleanMacro(ToleranceIsAbsolute, bool);
62 
64 
70  vtkSetMacro(MergePartitionsOnly, bool);
71  vtkGetMacro(MergePartitionsOnly, bool);
72  vtkBooleanMacro(MergePartitionsOnly, bool);
74 
76 
85  vtkSetMacro(OutputDataSetType, int);
86  vtkGetMacro(OutputDataSetType, int);
88 
89 protected:
91  ~vtkMergeBlocks() override;
92 
97  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
98  vtkInformationVector* outputVector) override;
100  int FillInputPortInformation(int port, vtkInformation* info) override;
101 
103  double Tolerance;
107 
108 private:
109  vtkMergeBlocks(const vtkMergeBlocks&) = delete;
110  void operator=(const vtkMergeBlocks&) = delete;
111 };
112 
113 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkDataObjectAlgorithm * New()
merges blocks in a composite dataset to a dataset.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTKPVVTKEXTENSIONSMISC_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void operator=(const vtkObjectBase &)