VTK  9.3.20240419
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
140 #ifndef vtkExtractEdges_h
141 #define vtkExtractEdges_h
142 
143 #include "vtkFiltersCoreModule.h" // For export macro
144 #include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
145 #include "vtkPolyDataAlgorithm.h"
146 
147 VTK_ABI_NAMESPACE_BEGIN
148 class VTKFILTERSCORE_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
149 {
150 public:
152 
157  static vtkExtractEdges* New();
159  void PrintSelf(ostream& os, vtkIndent indent) override;
161 
163 
170 
175 
177 
183  vtkSetMacro(UseAllPoints, bool);
184  vtkGetMacro(UseAllPoints, bool);
185  vtkBooleanMacro(UseAllPoints, bool);
187 
192  vtkMTimeType GetMTime() override;
193 
194 protected:
196  ~vtkExtractEdges() override = default;
197 
200 
201  // Usual pipeline methods
204 
205 private:
206  vtkExtractEdges(const vtkExtractEdges&) = delete;
207  void operator=(const vtkExtractEdges&) = delete;
208 };
209 VTK_ABI_NAMESPACE_END
210 
211 #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:108
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