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=========================================================================*/
35#ifndef vtkExtractEdges_h
36#define vtkExtractEdges_h
37
38#include "vtkFiltersExtractionModule.h" // For export macro
40
42
43class VTKFILTERSEXTRACTION_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51
56 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
58
63
65
68 vtkSetMacro(UseAllPoints, bool);
69 vtkGetMacro(UseAllPoints, bool);
70 vtkBooleanMacro(UseAllPoints, bool);
72
77
78protected:
80 ~vtkExtractEdges() override;
81
82 // Usual data generation method
84
86
88
90
92
93private:
94 vtkExtractEdges(const vtkExtractEdges&) = delete;
95 void operator=(const vtkExtractEdges&) = delete;
96};
97
98#endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:66
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:43
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:95
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287