VTK  9.6.20260529
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 "vtkFiltersCoreModule.h" // For export macro
27#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
28
29VTK_ABI_NAMESPACE_BEGIN
30
32{
33public:
35
41 void PrintSelf(ostream& os, vtkIndent indent) override;
43
47 vtkGetObjectMacro(Permutation, vtkIdList);
48
50
56 vtkSetMacro(ComputePermutationOnly, bool);
57 vtkBooleanMacro(ComputePermutationOnly, bool);
58 vtkGetMacro(ComputePermutationOnly, bool);
60
61protected:
63 ~vtkHilbertCurveSorter() override = default;
64
66
67 int FillInputPortInformation(int vtkNotUsed(port), vtkInformation* info) override;
68
69private:
71 void operator=(const vtkHilbertCurveSorter&) = delete;
72
73 vtkNew<vtkIdList> Permutation;
74 bool ComputePermutationOnly = false;
75};
76
77VTK_ABI_NAMESPACE_END
78#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
#define VTK_MARSHALAUTO