VTK  9.7.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 "vtkDeprecation.h" // VTK_DEPRECATED_IN_9_7_0
35 #include "vtkFiltersCoreModule.h" // For export macro
36 #include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
37 #include "vtkPolyDataAlgorithm.h"
38 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
39 
40 VTK_ABI_NAMESPACE_BEGIN
41 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkExtractEdges : public vtkPolyDataAlgorithm
42 {
43 public:
45 
50  static vtkExtractEdges* New();
52  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56 
60  VTK_DEPRECATED_IN_9_7_0("No longer needed")
61  vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
62  VTK_DEPRECATED_IN_9_7_0("No longer needed")
63  vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
65 
69  VTK_DEPRECATED_IN_9_7_0("No longer needed")
70  void CreateDefaultLocator();
71 
73 
79  vtkSetMacro(UseAllPoints, bool);
80  vtkGetMacro(UseAllPoints, bool);
81  vtkBooleanMacro(UseAllPoints, bool);
83 
88  vtkMTimeType GetMTime() override;
89 
90 protected:
92  ~vtkExtractEdges() override = default;
93 
94  vtkSmartPointer<vtkIncrementalPointLocator> Locator;
95  bool UseAllPoints;
96 
97  // Usual pipeline methods
98  int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
99  int FillInputPortInformation(int port, vtkInformation* info) override;
100 
101 private:
102  vtkExtractEdges(const vtkExtractEdges&) = delete;
103  void operator=(const vtkExtractEdges&) = delete;
104 };
105 VTK_ABI_NAMESPACE_END
106 
107 #endif
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:318
Abstract class in support of both point location and point insertion.
Hold a reference to a vtkObjectBase instance.
Definition: vtkMeta.h:23
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
#define VTK_DEPRECATED_IN_9_7_0(reason)
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