VTK
9.3.0
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Filters
Core
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
31
#ifndef vtkExtractEdges_h
32
#define vtkExtractEdges_h
33
34
#include "vtkFiltersCoreModule.h"
// For export macro
35
#include "
vtkIncrementalPointLocator.h
"
// Support vtkSmartPointer<>
36
#include "
vtkPolyDataAlgorithm.h
"
37
38
VTK_ABI_NAMESPACE_BEGIN
39
class
VTKFILTERSCORE_EXPORT
vtkExtractEdges
:
public
vtkPolyDataAlgorithm
40
{
41
public
:
43
48
static
vtkExtractEdges
*
New
();
49
vtkTypeMacro(
vtkExtractEdges
,
vtkPolyDataAlgorithm
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
52
54
58
vtkSetSmartPointerMacro
(Locator,
vtkIncrementalPointLocator
);
59
vtkGetSmartPointerMacro
(Locator,
vtkIncrementalPointLocator
);
61
65
void
CreateDefaultLocator
();
66
68
74
vtkSetMacro(UseAllPoints,
bool
);
75
vtkGetMacro(UseAllPoints,
bool
);
76
vtkBooleanMacro(UseAllPoints,
bool
);
78
83
vtkMTimeType
GetMTime
()
override
;
84
85
protected
:
86
vtkExtractEdges
();
87
~vtkExtractEdges
()
override
=
default
;
88
89
vtkSmartPointer<vtkIncrementalPointLocator>
Locator
;
90
bool
UseAllPoints
;
91
92
// Usual pipeline methods
93
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
94
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
95
96
private
:
97
vtkExtractEdges
(
const
vtkExtractEdges
&) =
delete
;
98
void
operator=(
const
vtkExtractEdges
&) =
delete
;
99
};
100
VTK_ABI_NAMESPACE_END
101
102
#endif
vtkExtractEdges
extract cell edges from any type of dataset
Definition
vtkExtractEdges.h:40
vtkExtractEdges::vtkExtractEdges
vtkExtractEdges()
vtkExtractEdges::~vtkExtractEdges
~vtkExtractEdges() override=default
vtkExtractEdges::CreateDefaultLocator
void CreateDefaultLocator()
Create default locator.
vtkExtractEdges::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractEdges::New
static vtkExtractEdges * New()
Standard methods for instantiation, obtaining type information, and printing the state of an instance...
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:89
vtkExtractEdges::UseAllPoints
bool UseAllPoints
Definition
vtkExtractEdges.h:90
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:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:63
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition
vtkPolyDataAlgorithm.h:34
vtkSmartPointer
Hold a reference to a vtkObjectBase instance.
Definition
vtkSmartPointer.h:32
vtkIncrementalPointLocator.h
vtkPolyDataAlgorithm.h
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:270
Generated on Thu Jun 20 2024 00:00:00 for VTK by
1.11.0