VTK  9.3.20240420
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
17VTK_ABI_NAMESPACE_BEGIN
18class VTKFILTERSCORE_EXPORT vtkRemoveUnusedPoints : public vtkUnstructuredGridAlgorithm
19{
20public:
23 void PrintSelf(ostream& os, vtkIndent indent) override;
24
26
30 vtkSetMacro(GenerateOriginalPointIds, bool);
31 vtkGetMacro(GenerateOriginalPointIds, bool);
32 vtkBooleanMacro(GenerateOriginalPointIds, bool);
34
36
40 vtkSetStringMacro(OriginalPointIdsArrayName);
41 vtkGetStringMacro(OriginalPointIdsArrayName);
43
44protected:
47
48 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
49 vtkInformationVector* outputVector) override;
50
51private:
53 void operator=(const vtkRemoveUnusedPoints&) = delete;
54
55 bool GenerateOriginalPointIds;
56 char* OriginalPointIdsArrayName;
57};
58
59VTK_ABI_NAMESPACE_END
60#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.