VTK
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 =========================================================================*/
32 #ifndef vtkExtractEdges_h
33 #define vtkExtractEdges_h
34 
35 #include "vtkFiltersExtractionModule.h" // For export macro
36 #include "vtkPolyDataAlgorithm.h"
37 
39 
40 class VTKFILTERSEXTRACTION_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
41 {
42 public:
43  static vtkExtractEdges *New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
52  void SetLocator(vtkIncrementalPointLocator *locator);
53  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
55 
59  void CreateDefaultLocator();
60 
64  vtkMTimeType GetMTime() override;
65 
66 protected:
68  ~vtkExtractEdges() override;
69 
70  // Usual data generation method
72 
74 
76 private:
77  vtkExtractEdges(const vtkExtractEdges&) = delete;
78  void operator=(const vtkExtractEdges&) = delete;
79 };
80 
81 #endif
82 
83 
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIncrementalPointLocator * Locator
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.
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 data