VTK  9.1.0
vtkRemoveUnusedPoints.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkRemoveUnusedPoints.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
23#ifndef vtkRemoveUnusedPoints_h
24#define vtkRemoveUnusedPoints_h
25
26#include "vtkFiltersCoreModule.h" // For export macro
28
29class VTKFILTERSCORE_EXPORT vtkRemoveUnusedPoints : public vtkUnstructuredGridAlgorithm
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
41 vtkSetMacro(GenerateOriginalPointIds, bool);
42 vtkGetMacro(GenerateOriginalPointIds, bool);
43 vtkBooleanMacro(GenerateOriginalPointIds, bool);
45
47
51 vtkSetStringMacro(OriginalPointIdsArrayName);
52 vtkGetStringMacro(OriginalPointIdsArrayName);
54
55protected:
58
59 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
60 vtkInformationVector* outputVector) override;
61
62private:
64 void operator=(const vtkRemoveUnusedPoints&) = delete;
65
66 bool GenerateOriginalPointIds;
67 char* OriginalPointIdsArrayName;
68};
69
70#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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.