TTK
Loading...
Searching...
No Matches
home
julien
Pro
git
github
thomas
ttk-dani
core
vtk
ttkLDistanceMatrix
ttkLDistanceMatrix.h
Go to the documentation of this file.
1
15
16
#pragma once
17
18
// VTK Module
19
#include <ttkLDistanceMatrixModule.h>
20
21
// TTK code includes
22
#include <
LDistanceMatrix.h
>
23
#include <
ttkAlgorithm.h
>
24
25
class
TTKLDISTANCEMATRIX_EXPORT
ttkLDistanceMatrix
26
:
public
ttkAlgorithm
,
27
protected
ttk::LDistanceMatrix
{
28
29
public
:
30
static
ttkLDistanceMatrix
*
New
();
31
32
vtkTypeMacro(
ttkLDistanceMatrix
,
ttkAlgorithm
);
33
34
vtkSetMacro(
DistanceType
,
const
std::string &);
35
vtkGetMacro(
DistanceType
, std::string);
36
37
protected
:
38
ttkLDistanceMatrix
();
39
~ttkLDistanceMatrix
()
override
=
default
;
40
41
int
FillInputPortInformation
(
int
port, vtkInformation *info)
override
;
42
int
FillOutputPortInformation
(
int
port, vtkInformation *info)
override
;
43
44
template
<
typename
T>
45
int
dispatch
(std::vector<std::vector<double>> &distanceMatrix,
46
const
std::vector<vtkDataSet *> &inputData,
47
const
size_t
nPoints);
48
49
int
RequestData
(vtkInformation *request,
50
vtkInformationVector **inputVector,
51
vtkInformationVector *outputVector)
override
;
52
};
LDistanceMatrix.h
ttkAlgorithm::RequestData
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Definition
ttkAlgorithm.h:423
ttkAlgorithm::FillInputPortInformation
int FillInputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition
ttkAlgorithm.h:437
ttkAlgorithm::ttkAlgorithm
ttkAlgorithm()
ttkAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition
ttkAlgorithm.h:452
ttkLDistanceMatrix::New
static ttkLDistanceMatrix * New()
ttkLDistanceMatrix::ttkLDistanceMatrix
ttkLDistanceMatrix()
Definition
ttkLDistanceMatrix.cpp:19
ttkLDistanceMatrix::~ttkLDistanceMatrix
~ttkLDistanceMatrix() override=default
ttkLDistanceMatrix::dispatch
int dispatch(std::vector< std::vector< double > > &distanceMatrix, const std::vector< vtkDataSet * > &inputData, const size_t nPoints)
Definition
ttkLDistanceMatrix.cpp:43
ttk::LDistanceMatrix
Definition
LDistanceMatrix.h:20
ttk::LDistanceMatrix::DistanceType
std::string DistanceType
Definition
LDistanceMatrix.h:43
ttkAlgorithm.h
Generated on Fri Apr 10 2026 10:02:09 for TTK by
1.13.2