14#include <vtkMultiBlockDataSet.h>
16#ifdef TTK_ENABLE_TORCH
43 vtkUnstructuredGrid *treeNodes,
44 std::vector<int> &treeNodeCorr,
45 vtkDataSet *treeSegmentation,
50 std::vector<std::tuple<std::string, std::vector<int>>> &customIntArrays,
51 std::vector<std::tuple<std::string, std::vector<double>>>
53 bool outputSegmentation,
54 double mixtureCoefficient,
55 bool isPersistenceDiagram,
56 bool convertToDiagram,
79 std::vector<vtkUnstructuredGrid *> &treesNodesT,
80 std::vector<std::vector<int>> &treesNodeCorr,
81 std::vector<vtkDataSet *> &treesSegmentationT,
83 std::vector<std::vector<std::tuple<std::string, std::vector<int>>>>
85 std::vector<std::vector<std::tuple<std::string, std::vector<double>>>>
87 double mixtureCoefficient,
88 bool isPersistenceDiagram,
89 bool convertToDiagram,
111 std::vector<vtkUnstructuredGrid *> &treesNodesT,
112 std::vector<std::vector<int>> &treesNodeCorr,
114 std::vector<std::vector<std::tuple<std::string, std::vector<int>>>>
116 std::vector<std::vector<std::tuple<std::string, std::vector<double>>>>
118 double mixtureCoefficient,
119 bool isPersistenceDiagram,
120 bool convertToDiagram,
140 std::vector<std::vector<std::tuple<std::string, std::vector<int>>>>
142 std::vector<std::vector<std::tuple<std::string, std::vector<double>>>>
144 double mixtureCoefficient,
145 bool isPersistenceDiagram,
146 bool convertToDiagram,
163 double mixtureCoefficient,
164 bool isPersistenceDiagram,
165 bool convertToDiagram,
196 void computeTrackingInformation(
197 std::vector<mtu::TorchMergeTree<float>> &origins,
198 std::vector<mtu::TorchMergeTree<float>> &originsPrime,
199 std::vector<std::vector<ttk::ftm::idNode>> &originsMatchingVectorT,
200 std::vector<std::vector<ttk::ftm::idNode>> &invOriginsMatchingVectorT,
201 bool isPersistenceDiagram,
202 std::vector<std::vector<ttk::ftm::idNode>> &originsMatchingVector,
203 std::vector<std::vector<double>> &originsPersPercent,
204 std::vector<std::vector<double>> &originsPersDiff,
205 std::vector<double> &originPersPercent,
206 std::vector<double> &originPersDiff,
207 std::vector<int> &originPersistenceOrder);
235 void computeCustomArrays(
236 std::vector<std::vector<mtu::TorchMergeTree<float>>> &recs,
237 std::vector<std::vector<double>> &persCorrelationMatrix,
238 std::vector<std::vector<std::vector<ttk::ftm::idNode>>>
239 &invDataMatchingVectorT,
240 std::vector<std::vector<ttk::ftm::idNode>> &invReconstMatchingVectorT,
241 std::vector<std::vector<ttk::ftm::idNode>> &originsMatchingVector,
242 std::vector<std::vector<ttk::ftm::idNode>> &originsMatchingVectorT,
243 std::vector<std::vector<double>> &originsPersPercent,
244 std::vector<std::vector<double>> &originPersDiff,
245 std::vector<int> &originPersistenceOrder,
248 std::vector<std::vector<std::tuple<std::string, std::vector<int>>>>
250 std::vector<std::vector<std::tuple<std::string, std::vector<double>>>>
251 &customDoubleArrays);