VTK  9.5.20251105
vtkRemoveUnusedPoints.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
11#ifndef vtkRemoveUnusedPoints_h
12#define vtkRemoveUnusedPoints_h
13
14#include "vtkFiltersCoreModule.h" // For export macro
16#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
17
18VTK_ABI_NAMESPACE_BEGIN
19class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkRemoveUnusedPoints
21{
22public:
25 void PrintSelf(ostream& os, vtkIndent indent) override;
26
28
32 vtkSetMacro(GenerateOriginalPointIds, bool);
33 vtkGetMacro(GenerateOriginalPointIds, bool);
34 vtkBooleanMacro(GenerateOriginalPointIds, bool);
36
38
42 vtkSetStringMacro(OriginalPointIdsArrayName);
43 vtkGetStringMacro(OriginalPointIdsArrayName);
45
46protected:
49
50 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
51 vtkInformationVector* outputVector) override;
52
53private:
55 void operator=(const vtkRemoveUnusedPoints&) = delete;
56
57 bool GenerateOriginalPointIds;
58 char* OriginalPointIdsArrayName;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
remove points not used by any cell.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkRemoveUnusedPoints * New()
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
~vtkRemoveUnusedPoints() override
Superclass for algorithms that produce only unstructured grid as output.
#define VTK_MARSHALAUTO