VTK
9.4.20241217
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Filters
Core
vtkDecimatePolylineDistanceStrategy.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
18
#ifndef vtkDecimatePolylineDistanceStrategy_h
19
#define vtkDecimatePolylineDistanceStrategy_h
20
21
#include "
vtkDecimatePolylineStrategy.h
"
22
#include "vtkFiltersCoreModule.h"
// For export macro
23
24
VTK_ABI_NAMESPACE_BEGIN
25
26
class
VTKFILTERSCORE_EXPORT
vtkDecimatePolylineDistanceStrategy
:
public
vtkDecimatePolylineStrategy
27
{
28
public
:
29
static
vtkDecimatePolylineDistanceStrategy
*
New
();
30
31
vtkTypeMacro(
vtkDecimatePolylineDistanceStrategy
,
vtkDecimatePolylineStrategy
);
32
44
double
ComputeError
(
45
vtkPointSet
* dataset,
vtkIdType
originId,
vtkIdType
p1Id,
vtkIdType
p2Id)
override
;
46
47
protected
:
48
vtkDecimatePolylineDistanceStrategy
() =
default
;
49
~vtkDecimatePolylineDistanceStrategy
()
override
=
default
;
50
51
private
:
52
vtkDecimatePolylineDistanceStrategy
(
const
vtkDecimatePolylineDistanceStrategy
&) =
delete
;
53
void
operator=(
const
vtkDecimatePolylineDistanceStrategy
&) =
delete
;
54
};
55
56
VTK_ABI_NAMESPACE_END
57
#endif
vtkDecimatePolylineDistanceStrategy
decimation strategy using distance between points as a metric.
Definition
vtkDecimatePolylineDistanceStrategy.h:27
vtkDecimatePolylineDistanceStrategy::vtkDecimatePolylineDistanceStrategy
vtkDecimatePolylineDistanceStrategy()=default
vtkDecimatePolylineDistanceStrategy::New
static vtkDecimatePolylineDistanceStrategy * New()
vtkDecimatePolylineDistanceStrategy::~vtkDecimatePolylineDistanceStrategy
~vtkDecimatePolylineDistanceStrategy() override=default
vtkDecimatePolylineDistanceStrategy::ComputeError
double ComputeError(vtkPointSet *dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override
Method for computing the decimation error.
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 Tue Dec 17 2024 09:02:53 for VTK by
1.9.7