Constellation: Connectivity-based Structural Parcellation


textureAndMeshTools.h
Go to the documentation of this file.
1#ifndef CONSTELLATION_TEXTUREANDMESHTOOLS_H
2#define CONSTELLATION_TEXTUREANDMESHTOOLS_H
3
4#include <aims/mesh/surface.h>
5#include <aims/mesh/texture.h>
6
7namespace constel {
8
9 template<int D, class T> std::vector<std::set<unsigned> >
11
13 const std::vector<std::set<unsigned> > &polygonsByVertex_Index,
14 std::vector<unsigned> &vertexIndex);
15
17 const TimeTexture<short> &labeled_tex,
18 std::set<unsigned> vertexIndex_set, int label);
19
21 const AimsSurfaceTriangle &aimsMesh,
22 const TimeTexture<short> &region_tex,
23 std::vector< std::size_t > connectedCommponent_vertexIndex);
24
26 const AimsSurfaceTriangle &aimsMesh,
27 const TimeTexture<short> &region_tex,
28 std::vector< std::size_t > connectedCommponent_vertexIndex);
29
30 template <typename T> std::size_t boundaryVertexBiggestValue(
31 const AimsSurfaceTriangle &aimsMesh,
32 const TimeTexture<short> &region_tex,
33 std::vector<std::size_t> connectedCommponent_vertexIndex,
34 const TimeTexture<T> &values_tex);
35
37 Point3df segmentBeginPoint, Point3df segmentEndPoint,
38 std::vector<Point3df> polygon, Point3df **intersection_point = 0);
39
40} // namespace constel
41
42#endif // ifndef CONSTELLATION_TEXTUREANDMESHTOOLS_H
std::size_t boundaryVertexBiggestValue(const AimsSurfaceTriangle &aimsMesh, const TimeTexture< short > &region_tex, std::vector< std::size_t > connectedCommponent_vertexIndex, const TimeTexture< T > &values_tex)
bool computeIntersectionSegmentPolygon(Point3df segmentBeginPoint, Point3df segmentEndPoint, std::vector< Point3df > polygon, Point3df **intersection_point=0)
bool hasVertexLabel(const TimeTexture< short > &labeled_tex, std::set< unsigned > vertexIndex_set, int label)
std::size_t firstBoundaryVertex(const AimsSurfaceTriangle &aimsMesh, const TimeTexture< short > &region_tex, std::vector< std::size_t > connectedCommponent_vertexIndex)
std::vector< std::set< unsigned > > surfacePolygonsIndex(const AimsTimeSurface< D, T > &surf)
std::set< unsigned > surfacePolygonsIndexByVerticesGroup(const std::vector< std::set< unsigned > > &polygonsByVertex_Index, std::vector< unsigned > &vertexIndex)
bool connectedCommponent_isInside(const AimsSurfaceTriangle &aimsMesh, const TimeTexture< short > &region_tex, std::vector< std::size_t > connectedCommponent_vertexIndex)
AIMSDATA_API AimsTimeSurface< 3, Void > AimsSurfaceTriangle