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
40 #ifndef vtkExtractEdges_h
41 #define vtkExtractEdges_h
42 
43 #include "vtkFiltersCoreModule.h" // For export macro
44 #include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
45 #include "vtkPolyDataAlgorithm.h"
46 
47 VTK_ABI_NAMESPACE_BEGIN
48 class VTKFILTERSCORE_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
49 {
50 public:
52 
57  static vtkExtractEdges* New();
59  void PrintSelf(ostream& os, vtkIndent indent) override;
61 
63 
70 
75 
77 
83  vtkSetMacro(UseAllPoints, bool);
84  vtkGetMacro(UseAllPoints, bool);
85  vtkBooleanMacro(UseAllPoints, bool);
87 
92  vtkMTimeType GetMTime() override;
93 
94 protected:
96  ~vtkExtractEdges() override = default;
97 
100 
101  // Usual pipeline methods
104 
105 private:
106  vtkExtractEdges(const vtkExtractEdges&) = delete;
107  void operator=(const vtkExtractEdges&) = delete;
108 };
109 VTK_ABI_NAMESPACE_END
110 
111 #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:38
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