TTK
Loading...
Searching...
No Matches
ThreeSkeleton.h
Go to the documentation of this file.
1
12
13#pragma once
14
15// base code includes
16#include <OneSkeleton.h>
17#include <TwoSkeleton.h>
18#include <Wrapper.h>
19#include <ZeroSkeleton.h>
20
21#include <algorithm>
22#include <array>
23
24namespace ttk {
25
26 class ThreeSkeleton : public Debug {
27
28 public:
30
53 int buildCellNeighborsFromTriangles(const SimplexId &vertexNumber,
54 const CellArray &cellArray,
55 FlatJaggedArray &cellNeighbors,
56 FlatJaggedArray *triangleStars
57 = nullptr) const;
58
78 int buildCellNeighborsFromVertices(const SimplexId &vertexNumber,
79 const CellArray &cellArray,
80 FlatJaggedArray &cellNeighbors,
81 FlatJaggedArray *vertexStars
82 = nullptr) const;
83 };
84} // namespace ttk
CellArray generic array of cells
Minimalist debugging class.
Definition: Debug.h:88
Replacement for std::vector<std::vector<SimplexId>>
ThreeSkeleton processing package.
Definition: ThreeSkeleton.h:26
int buildCellNeighborsFromVertices(const SimplexId &vertexNumber, const CellArray &cellArray, FlatJaggedArray &cellNeighbors, FlatJaggedArray *vertexStars=nullptr) const
int buildCellNeighborsFromTriangles(const SimplexId &vertexNumber, const CellArray &cellArray, FlatJaggedArray &cellNeighbors, FlatJaggedArray *triangleStars=nullptr) const
The Topology ToolKit.
int SimplexId
Identifier type for simplices of any dimension.
Definition: DataTypes.h:22