VTK  9.6.20260507
vtkHilbertCurveSorter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
21
22#ifndef vtkHilbertCurveSorter_h
23#define vtkHilbertCurveSorter_h
24
25#include "vtkFiltersPointsModule.h" // For export macro
27
28VTK_ABI_NAMESPACE_BEGIN
29
30class VTKFILTERSPOINTS_EXPORT vtkHilbertCurveSorter : public vtkPassInputTypeAlgorithm
31{
32public:
34
40 void PrintSelf(ostream& os, vtkIndent indent) override;
42
46 vtkGetObjectMacro(Permutation, vtkIdList);
47
49
55 vtkSetMacro(ComputePermutationOnly, bool);
56 vtkBooleanMacro(ComputePermutationOnly, bool);
57 vtkGetMacro(ComputePermutationOnly, bool);
59
60protected:
62 ~vtkHilbertCurveSorter() override = default;
63
65
66 int FillInputPortInformation(int vtkNotUsed(port), vtkInformation* info) override;
67
68private:
70 void operator=(const vtkHilbertCurveSorter&) = delete;
71
72 vtkNew<vtkIdList> Permutation;
73 bool ComputePermutationOnly = false;
74};
75
76VTK_ABI_NAMESPACE_END
77#endif
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods for instantiating, managing type, and printing information about this class.
vtkHilbertCurveSorter()=default
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
~vtkHilbertCurveSorter() override=default
static vtkHilbertCurveSorter * New()
Standard VTK methods for instantiating, managing type, and printing information about this class.
list of point or cell ids
Definition vtkIdList.h:135
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Allocate and hold a VTK object.
Definition vtkNew.h:168