VTK  9.4.20241217
vtkExtractEdges.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
140#ifndef vtkExtractEdges_h
141#define vtkExtractEdges_h
142
143#include "vtkFiltersCoreModule.h" // For export macro
144#include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
145#include "vtkPolyDataAlgorithm.h"
146
147VTK_ABI_NAMESPACE_BEGIN
148class VTKFILTERSCORE_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
149{
150public:
152
159 void PrintSelf(ostream& os, vtkIndent indent) override;
161
163
170
175
177
183 vtkSetMacro(UseAllPoints, bool);
184 vtkGetMacro(UseAllPoints, bool);
185 vtkBooleanMacro(UseAllPoints, bool);
187
193
194protected:
196 ~vtkExtractEdges() override = default;
197
200
201 // Usual pipeline methods
203 int FillInputPortInformation(int port, vtkInformation* info) override;
204
205private:
206 vtkExtractEdges(const vtkExtractEdges&) = delete;
207 void operator=(const vtkExtractEdges&) = delete;
208};
209VTK_ABI_NAMESPACE_END
210
211#endif
extract cell edges from any type of dataset
~vtkExtractEdges() override=default
void CreateDefaultLocator()
Create default locator.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkExtractEdges * New()
Standard methods for instantiation, obtaining type information, and printing the state of an instance...
vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator)
Set / get a spatial locator for merging points.
vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator)
Set / get a spatial locator for merging points.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing the state of an instance...
vtkMTimeType GetMTime() override
Return the modified time also considering the locator since it may be modified independent of this fi...
vtkSmartPointer< vtkIncrementalPointLocator > Locator
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
Hold a reference to a vtkObjectBase instance.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270