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 =========================================================================*/
43 #ifndef vtkExtractEdges_h
44 #define vtkExtractEdges_h
45 
46 #include "vtkFiltersCoreModule.h" // For export macro
47 #include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
48 #include "vtkPolyDataAlgorithm.h"
49 
50 class VTKFILTERSCORE_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
51 {
52 public:
54 
59  static vtkExtractEdges* New();
61  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
65 
69  vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
70  vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
72 
76  void CreateDefaultLocator();
77 
79 
85  vtkSetMacro(UseAllPoints, bool);
86  vtkGetMacro(UseAllPoints, bool);
87  vtkBooleanMacro(UseAllPoints, bool);
89 
94  vtkMTimeType GetMTime() override;
95 
96 protected:
98  ~vtkExtractEdges() override = default;
99 
102 
103  // Usual pipeline methods
105  int FillInputPortInformation(int port, vtkInformation* info) override;
106 
107 private:
108  vtkExtractEdges(const vtkExtractEdges&) = delete;
109  void operator=(const vtkExtractEdges&) = delete;
110 };
111 
112 #endif
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Abstract class in support of both point location and point insertion.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSmartPointer< vtkIncrementalPointLocator > Locator
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
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