VTK: Filters/Core/vtkExtractEdges.h Source File

| VTK 9.3.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
40 #ifndef vtkExtractEdges_h
41 #define vtkExtractEdges_h
42
43 #include "vtkFiltersCoreModule.h" // For export macro
44 #include "vtkIncrementalPointLocator.h" // Support vtkSmartPointer<>
45 #include "vtkPolyDataAlgorithm.h"
46
47 VTK_ABI_NAMESPACE_BEGIN
48 class VTKFILTERSCORE_EXPORT vtkExtractEdges : public vtkPolyDataAlgorithm
49 {
50 public:
52
57 static vtkExtractEdges* New();
58 vtkTypeMacro(vtkExtractEdges, vtkPolyDataAlgorithm);
59 void PrintSelf(ostream& os, vtkIndent indent) override;
61
63
67 vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
68 vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator);
70
74 void CreateDefaultLocator();
75
77
83 vtkSetMacro(UseAllPoints, bool);
84 vtkGetMacro(UseAllPoints, bool);
85 vtkBooleanMacro(UseAllPoints, bool);
87
92 vtkMTimeType GetMTime() override;
93
94 protected:
95 vtkExtractEdges();
96 ~vtkExtractEdges() override = default;
97
98 vtkSmartPointer<vtkIncrementalPointLocator> Locator;
99 bool UseAllPoints;
100
101 // Usual pipeline methods
102 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
103 int FillInputPortInformation(int port, vtkInformation* info) override;
104
105 private:
106 vtkExtractEdges(const vtkExtractEdges&) = delete;
107 void operator=(const vtkExtractEdges&) = delete;
108 };
109 VTK_ABI_NAMESPACE_END
110
111 #endif
vtkExtractEdges
extract cell edges from any type of dataset
Definition: vtkExtractEdges.h:49
vtkExtractEdges::vtkExtractEdges
vtkExtractEdges()
vtkExtractEdges::~vtkExtractEdges
~vtkExtractEdges() override=default
vtkExtractEdges::CreateDefaultLocator
void CreateDefaultLocator()
Create default locator.
vtkExtractEdges::New
static vtkExtractEdges * New()
Standard methods for instantiation, obtaining type information, and printing the state of an instance...
vtkExtractEdges::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractEdges::vtkGetSmartPointerMacro
vtkGetSmartPointerMacro(Locator, vtkIncrementalPointLocator)
Set / get a spatial locator for merging points.
vtkExtractEdges::vtkSetSmartPointerMacro
vtkSetSmartPointerMacro(Locator, vtkIncrementalPointLocator)
Set / get a spatial locator for merging points.
vtkExtractEdges::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing the state of an instance...
vtkExtractEdges::GetMTime
vtkMTimeType GetMTime() override
Return the modified time also considering the locator since it may be modified independent of this fi...
vtkExtractEdges::Locator
vtkSmartPointer< vtkIncrementalPointLocator > Locator
Definition: vtkExtractEdges.h:98
vtkExtractEdges::UseAllPoints
bool UseAllPoints
Definition: vtkExtractEdges.h:99
vtkExtractEdges::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition: vtkIncrementalPointLocator.h:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:43
vtkSmartPointer< vtkIncrementalPointLocator >
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkIncrementalPointLocator.h
vtkPolyDataAlgorithm.h
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270