VTK  9.7.1
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 
18 VTK_ABI_NAMESPACE_BEGIN
19 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkRemoveUnusedPoints
21 {
22 public:
23  static vtkRemoveUnusedPoints* New();
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 
46 protected:
48  ~vtkRemoveUnusedPoints() override;
49 
50  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
51  vtkInformationVector* outputVector) override;
52 
53 private:
55  void operator=(const vtkRemoveUnusedPoints&) = delete;
56 
57  bool GenerateOriginalPointIds;
58  char* OriginalPointIdsArrayName;
59 };
60 
61 VTK_ABI_NAMESPACE_END
62 #endif
remove points not used by any cell.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
static vtkUnstructuredGridAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO