VTK  9.6.1
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
30
31#ifndef vtkExtractEdges_h
32#define vtkExtractEdges_h
33
34#include "vtkFiltersCoreModule.h" // For export macro
35#include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
37#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
38
39VTK_ABI_NAMESPACE_BEGIN
40class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkExtractEdges : public vtkPolyDataAlgorithm
41{
42public:
44
51 void PrintSelf(ostream& os, vtkIndent indent) override;
53
55
59 vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
60 vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
62
67
69
75 vtkSetMacro(UseAllPoints, bool);
76 vtkGetMacro(UseAllPoints, bool);
77 vtkBooleanMacro(UseAllPoints, bool);
79
85
86protected:
88 ~vtkExtractEdges() override = default;
89
92
93 // Usual pipeline methods
95 int FillInputPortInformation(int port, vtkInformation* info) override;
96
97private:
98 vtkExtractEdges(const vtkExtractEdges&) = delete;
99 void operator=(const vtkExtractEdges&) = delete;
100};
101VTK_ABI_NAMESPACE_END
102
103#endif
~vtkExtractEdges() override=default
void CreateDefaultLocator()
Create default locator.
int FillInputPortInformation(int port, vtkInformation *info) override
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:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Hold a reference to a vtkObjectBase instance.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:323
#define VTK_MARSHALAUTO