VTK  9.3.1
vtkExtractEdges.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
31 #ifndef vtkExtractEdges_h
32 #define vtkExtractEdges_h
33 
34 #include "vtkFiltersCoreModule.h" // For export macro
35 #include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
36 #include "vtkPolyDataAlgorithm.h"
37 
38 VTK_ABI_NAMESPACE_BEGIN
39 class VTKFILTERSCORE_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
40 {
41 public:
43 
48  static vtkExtractEdges* New();
50  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
58  vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
59  vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
61 
65  void CreateDefaultLocator();
66 
68 
74  vtkSetMacro(UseAllPoints, bool);
75  vtkGetMacro(UseAllPoints, bool);
76  vtkBooleanMacro(UseAllPoints, bool);
78 
83  vtkMTimeType GetMTime() override;
84 
85 protected:
87  ~vtkExtractEdges() override = default;
88 
91 
92  // Usual pipeline methods
95 
96 private:
97  vtkExtractEdges(const vtkExtractEdges&) = delete;
98  void operator=(const vtkExtractEdges&) = delete;
99 };
100 VTK_ABI_NAMESPACE_END
101 
102 #endif
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Abstract class in support of both point location and point insertion.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSmartPointer< vtkIncrementalPointLocator > Locator
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
extract cell edges from any type of dataset