VTK  9.3.0
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 
61 
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
extract cell edges from any type of dataset
~vtkExtractEdges() override=default
void CreateDefaultLocator()
Create default locator.
static vtkExtractEdges * New()
Standard methods for instantiation, obtaining type information, and printing the state of an instance...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator)
Set / get a spatial locator for merging points.
vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator)
Set / get a spatial locator for merging points.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing the state of an instance...
vtkMTimeType GetMTime() override
Return the modified time also considering the locator since it may be modified independent of this fi...
vtkSmartPointer< vtkIncrementalPointLocator > Locator
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270