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=========================================================================*/
135#ifndef vtkExtractEdges_h
136#define vtkExtractEdges_h
137
138#include "vtkFiltersExtractionModule.h" // For export macro
139#include "vtkPolyDataAlgorithm.h"
140
142
143class VTKFILTERSEXTRACTION_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
144{
145public:
148 void PrintSelf(ostream& os, vtkIndent indent) override;
149
151
156 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
158
163
165
168 vtkSetMacro(UseAllPoints, bool);
169 vtkGetMacro(UseAllPoints, bool);
170 vtkBooleanMacro(UseAllPoints, bool);
172
177
178protected:
181
182 // Usual data generation method
184
186
188
190
192
193private:
194 vtkExtractEdges(const vtkExtractEdges&) = delete;
195 void operator=(const vtkExtractEdges&) = delete;
196};
197
198#endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
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:113
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:195
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287