TTK
Loading...
Searching...
No Matches
OneSkeleton.h
Go to the documentation of this file.
1
12
13#pragma once
14
15#include <array>
16#include <map>
17
18// base code includes
19#include <CellArray.h>
20#include <Wrapper.h>
21#include <ZeroSkeleton.h>
22
23namespace ttk {
24
25 class OneSkeleton : public Debug {
26
27 public:
29
45 int buildEdgeLinks(const std::vector<std::array<SimplexId, 2>> &edgeList,
46 const FlatJaggedArray &edgeStars,
47 const CellArray &cellArray,
48 FlatJaggedArray &edgeLinks) const;
49
66 int buildEdgeLinks(const std::vector<std::array<SimplexId, 2>> &edgeList,
67 const FlatJaggedArray &edgeStars,
68 const std::vector<std::array<SimplexId, 6>> &cellEdges,
69 FlatJaggedArray &edgeLinks) const;
70
82 template <std::size_t n>
83 int
84 buildEdgeList(const SimplexId &vertexNumber,
85 const CellArray &cellArray,
86 std::vector<std::array<SimplexId, 2>> &edgeList,
87 FlatJaggedArray &edgeStars,
88 std::vector<std::array<SimplexId, n>> &cellEdgeList) const;
89 };
90} // namespace ttk
CellArray generic array of cells
Minimalist debugging class.
Definition Debug.h:88
Replacement for std::vector<std::vector<SimplexId>>
OneSkeleton processing package.
Definition OneSkeleton.h:25
int buildEdgeLinks(const std::vector< std::array< SimplexId, 2 > > &edgeList, const FlatJaggedArray &edgeStars, const CellArray &cellArray, FlatJaggedArray &edgeLinks) const
int buildEdgeList(const SimplexId &vertexNumber, const CellArray &cellArray, std::vector< std::array< SimplexId, 2 > > &edgeList, FlatJaggedArray &edgeStars, std::vector< std::array< SimplexId, n > > &cellEdgeList) const
The Topology ToolKit.
int SimplexId
Identifier type for simplices of any dimension.
Definition DataTypes.h:22