1#ifndef CONSTELLATION_TEXTUREANDMESHTOOLS_H
2#define CONSTELLATION_TEXTUREANDMESHTOOLS_H
4#include <aims/mesh/surface.h>
5#include <aims/mesh/texture.h>
9 template<
int D,
class T> std::vector<std::set<unsigned> >
13 const std::vector<std::set<unsigned> > &polygonsByVertex_Index,
14 std::vector<unsigned> &vertexIndex);
18 std::set<unsigned> vertexIndex_set,
int label);
23 std::vector< std::size_t > connectedCommponent_vertexIndex);
28 std::vector< std::size_t > connectedCommponent_vertexIndex);
33 std::vector<std::size_t> connectedCommponent_vertexIndex,
37 Point3df segmentBeginPoint, Point3df segmentEndPoint,
38 std::vector<Point3df> polygon, Point3df **intersection_point = 0);
std::size_t boundaryVertexBiggestValue(const AimsSurfaceTriangle &aimsMesh, const TimeTexture< short > ®ion_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 > ®ion_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 > ®ion_tex, std::vector< std::size_t > connectedCommponent_vertexIndex)
AIMSDATA_API AimsTimeSurface< 3, Void > AimsSurfaceTriangle