VTK  9.2.6
vtkExtractEdges.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractEdges.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
152 #ifndef vtkExtractEdges_h
153 #define vtkExtractEdges_h
154 
155 #include "vtkFiltersCoreModule.h" // For export macro
156 #include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
157 #include "vtkPolyDataAlgorithm.h"
158 
159 class VTKFILTERSCORE_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
160 {
161 public:
163 
168  static vtkExtractEdges* New();
170  void PrintSelf(ostream& os, vtkIndent indent) override;
172 
174 
181 
186 
188 
194  vtkSetMacro(UseAllPoints, bool);
195  vtkGetMacro(UseAllPoints, bool);
196  vtkBooleanMacro(UseAllPoints, bool);
198 
203  vtkMTimeType GetMTime() override;
204 
205 protected:
207  ~vtkExtractEdges() override = default;
208 
211 
212  // Usual pipeline methods
215 
216 private:
217  vtkExtractEdges(const vtkExtractEdges&) = delete;
218  void operator=(const vtkExtractEdges&) = delete;
219 };
220 
221 #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:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287