VTK  9.1.0
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
31
33
34class VTKFILTERSEXTRACTION_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
42
47 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
49
54
56
59 vtkSetMacro(UseAllPoints, bool);
60 vtkGetMacro(UseAllPoints, bool);
61 vtkBooleanMacro(UseAllPoints, bool);
63
68
69protected:
71 ~vtkExtractEdges() override;
72
73 // Usual data generation method
75
77
78 int FillInputPortInformation(int port, vtkInformation* info) override;
79
81
83
84private:
85 vtkExtractEdges(const vtkExtractEdges&) = delete;
86 void operator=(const vtkExtractEdges&) = delete;
87};
88
89#endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:57
extract cell edges from any type of data
void CreateDefaultLocator()
Create default locator.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkExtractEdges * New()
~vtkExtractEdges() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int NonLocatorExtraction(vtkDataSet *input, vtkPolyData *output)
vtkMTimeType GetMTime() override
Return MTime also considering the locator.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
vtkIncrementalPointLocator * Locator
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287