VTK
9.4.20241117
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Filters
Core
vtkDecimatePolylineAngleStrategy.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
21
#ifndef vtkDecimatePolylineAngleStrategy_h
22
#define vtkDecimatePolylineAngleStrategy_h
23
24
#include "
vtkDecimatePolylineStrategy.h
"
25
#include "vtkFiltersCoreModule.h"
// For export macro
26
27
VTK_ABI_NAMESPACE_BEGIN
28
29
class
VTKFILTERSCORE_EXPORT
vtkDecimatePolylineAngleStrategy
:
public
vtkDecimatePolylineStrategy
30
{
31
public
:
32
static
vtkDecimatePolylineAngleStrategy
*
New
();
33
34
vtkTypeMacro(
vtkDecimatePolylineAngleStrategy
,
vtkDecimatePolylineStrategy
);
35
47
double
ComputeError
(
48
vtkPointSet
* dataset,
vtkIdType
originId,
vtkIdType
p1Id,
vtkIdType
p2Id)
override
;
49
50
protected
:
51
vtkDecimatePolylineAngleStrategy
() =
default
;
52
~vtkDecimatePolylineAngleStrategy
()
override
=
default
;
53
54
private
:
55
vtkDecimatePolylineAngleStrategy
(
const
vtkDecimatePolylineAngleStrategy
&) =
delete
;
56
void
operator=(
const
vtkDecimatePolylineAngleStrategy
&) =
delete
;
57
};
58
59
VTK_ABI_NAMESPACE_END
60
#endif
vtkDecimatePolylineAngleStrategy
Decimation strategy using the angle between 3 consecutive points as a metric.
Definition
vtkDecimatePolylineAngleStrategy.h:30
vtkDecimatePolylineAngleStrategy::ComputeError
double ComputeError(vtkPointSet *dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override
Method for computing the decimation error.
vtkDecimatePolylineAngleStrategy::vtkDecimatePolylineAngleStrategy
vtkDecimatePolylineAngleStrategy()=default
vtkDecimatePolylineAngleStrategy::~vtkDecimatePolylineAngleStrategy
~vtkDecimatePolylineAngleStrategy() override=default
vtkDecimatePolylineAngleStrategy::New
static vtkDecimatePolylineAngleStrategy * New()
vtkDecimatePolylineStrategy
abstract class to define a decimation strategy for the vtkDecimatePolylineFilter
Definition
vtkDecimatePolylineStrategy.h:31
vtkPointSet
concrete class for storing a set of points
Definition
vtkPointSet.h:98
vtkDecimatePolylineStrategy.h
vtkIdType
int vtkIdType
Definition
vtkType.h:315
Generated on Sun Nov 17 2024 10:16:26 for VTK by
1.9.7