VTK  9.5.20250903
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
147
148VTK_ABI_NAMESPACE_BEGIN
149class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkExtractEdges : public vtkPolyDataAlgorithm
150{
151public:
153
160 void PrintSelf(ostream& os, vtkIndent indent) override;
162
164
168 vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
169 vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
171
176
178
184 vtkSetMacro(UseAllPoints, bool);
185 vtkGetMacro(UseAllPoints, bool);
186 vtkBooleanMacro(UseAllPoints, bool);
188
194
195protected:
197 ~vtkExtractEdges() override = default;
198
201
202 // Usual pipeline methods
204 int FillInputPortInformation(int port, vtkInformation* info) override;
205
206private:
207 vtkExtractEdges(const vtkExtractEdges&) = delete;
208 void operator=(const vtkExtractEdges&) = delete;
209};
210VTK_ABI_NAMESPACE_END
211
212#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...
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:287
#define VTK_MARSHALAUTO