VTK  9.0.1
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 =========================================================================*/
26 #ifndef vtkExtractEdges_h
27 #define vtkExtractEdges_h
28 
29 #include "vtkFiltersExtractionModule.h" // For export macro
30 #include "vtkPolyDataAlgorithm.h"
31 
33 
34 class VTKFILTERSEXTRACTION_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
35 {
36 public:
37  static vtkExtractEdges* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
46  void SetLocator(vtkIncrementalPointLocator* locator);
47  vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
49 
53  void CreateDefaultLocator();
54 
58  vtkMTimeType GetMTime() override;
59 
60 protected:
62  ~vtkExtractEdges() override;
63 
64  // Usual data generation method
66 
68 
70 
71 private:
72  vtkExtractEdges(const vtkExtractEdges&) = delete;
73  void operator=(const vtkExtractEdges&) = delete;
74 };
75 
76 #endif
vtkExtractEdges
extract cell edges from any type of data
Definition: vtkExtractEdges.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkObject::GetMTime
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition: vtkIncrementalPointLocator.h:51
vtkPolyDataAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkExtractEdges::Locator
vtkIncrementalPointLocator * Locator
Definition: vtkExtractEdges.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:293
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41