VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Filters
Core
vtkExtractEdges.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractEdges.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
43
#ifndef vtkExtractEdges_h
44
#define vtkExtractEdges_h
45
46
#include "vtkFiltersCoreModule.h"
// For export macro
47
#include "
vtkIncrementalPointLocator.h
"
// Support vtkSmartPointer<>
48
#include "
vtkPolyDataAlgorithm.h
"
49
50
class
VTKFILTERSCORE_EXPORT
vtkExtractEdges
:
public
vtkPolyDataAlgorithm
51
{
52
public
:
54
59
static
vtkExtractEdges
*
New
();
60
vtkTypeMacro(
vtkExtractEdges
,
vtkPolyDataAlgorithm
);
61
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
63
65
69
vtkSetSmartPointerMacro
(Locator,
vtkIncrementalPointLocator
);
70
vtkGetSmartPointerMacro
(Locator,
vtkIncrementalPointLocator
);
72
76
void
CreateDefaultLocator
();
77
79
85
vtkSetMacro(UseAllPoints,
bool
);
86
vtkGetMacro(UseAllPoints,
bool
);
87
vtkBooleanMacro(UseAllPoints,
bool
);
89
94
vtkMTimeType
GetMTime
()
override
;
95
96
protected
:
97
vtkExtractEdges
();
98
~vtkExtractEdges
()
override
=
default
;
99
100
vtkSmartPointer<vtkIncrementalPointLocator>
Locator
;
101
bool
UseAllPoints
;
102
103
// Usual pipeline methods
104
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
105
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
106
107
private
:
108
vtkExtractEdges
(
const
vtkExtractEdges
&) =
delete
;
109
void
operator=(
const
vtkExtractEdges
&) =
delete
;
110
};
111
112
#endif
vtkExtractEdges
extract cell edges from any type of dataset
Definition
vtkExtractEdges.h:51
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:100
vtkExtractEdges::UseAllPoints
bool UseAllPoints
Definition
vtkExtractEdges.h:101
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:52
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition
vtkPolyDataAlgorithm.h:45
vtkSmartPointer
Hold a reference to a vtkObjectBase instance.
Definition
vtkSmartPointer.h:42
vtkIncrementalPointLocator.h
vtkPolyDataAlgorithm.h
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition
vtkType.h:287
Generated on Thu Jan 9 2025 00:00:00 for VTK by
1.12.0