|
| template<int D, class T > |
| static std::vector< std::set< uint > > | surfaceNeighbours (const AimsSurface< D, T > &surf) |
| |
| template<int D, class T > |
| static std::vector< std::set< uint > > | surfaceNeighbours (const AimsTimeSurface< D, T > &surf) |
| |
| template<int D, class T > |
| static std::vector< std::set< uint > > | surfaceNeighbours2ndOrder (const AimsTimeSurface< D, T > &surf) |
| |
| template<int D, class T > |
| static std::vector< std::map< uint, float > > | surfaceNeighbourDistance (const AimsTimeSurface< D, T > &surf) |
| |
| template<int D, class T > |
| static void | invertSurfacePolygons (AimsTimeSurface< D, T > &surface) |
| |
| static void | cutMesh (const AimsSurfaceTriangle &insurf, const Point4df &plane, AimsSurfaceTriangle &cut, AimsTimeSurface< 2, Void > &borderline) |
| |
| static void | cutMesh (const std::vector< const AimsSurfaceTriangle *> &insurf, const Point4df &plane, std::vector< carto::rc_ptr< AimsSurfaceTriangle > > &cut, AimsTimeSurface< 2, Void > &borderline) |
| |
| static void | cutMesh (const AimsSurfaceTriangle &insurf, const Point4df &plane, AimsSurfaceTriangle &cut, AimsSurfaceTriangle &planemesh, bool checkplane=true) |
| |
| static void | cutMesh (const std::vector< const AimsSurfaceTriangle *> &insurf, const Point4df &plane, std::vector< carto::rc_ptr< AimsSurfaceTriangle > > &cut, AimsSurfaceTriangle &planemesh, bool checkplane=true) |
| |
| static void | cutMesh (const AimsSurfaceTriangle &insurf, const Point4df &plane, AimsSurfaceTriangle &cut, AimsSurfaceTriangle &planemesh, AimsTimeSurface< 2, Void > &borderline, bool checkplane=true) |
| |
| static void | cutMesh (const std::vector< const AimsSurfaceTriangle *> &insurf, const Point4df &plane, std::vector< carto::rc_ptr< AimsSurfaceTriangle > > &cut, AimsSurfaceTriangle &planemesh, AimsTimeSurface< 2, Void > &borderline, bool checkplane=true) |
| |
| static void | cutMesh (const AimsSurfaceTriangle &insurf, const Point4df &plane, AimsSurfaceTriangle &cut, AimsSurfaceTriangle &planemesh, AimsTimeSurface< 2, Void > &borderline, bool meshplane, bool checkplane) |
| |
| static void | cutMesh (const std::vector< const AimsSurfaceTriangle *> &insurf, const Point4df &plane, std::vector< carto::rc_ptr< AimsSurfaceTriangle > > &cut, AimsSurfaceTriangle &planemesh, AimsTimeSurface< 2, Void > &borderline, bool meshplane, bool checkplane) |
| |
| static void | cutMesh (const AimsSurfaceTriangle &insurf, const Point4df &plane, AimsTimeSurface< 2, Void > &borderline, int timestep=0) |
| | This variant only computes the border line. More...
|
| |
| static void | cutMesh (const AimsSurface< 3, Void > &insurf, const Point4df &plane, AimsTimeSurface< 2, Void > &borderline) |
| | This variant only computes the border line. More...
|
| |
| static void | meshPlanarPolygon (const Point4df &plane, const AimsTimeSurface< 2, Void > &border, AimsSurfaceTriangle &outmesh) |
| |
| static bool | checkMesh (const AimsSurfaceTriangle &insurf, AimsSurfaceTriangle *outsurf=0) |
| | Check mesh for intersecting triangles. More...
|
| |
| static float | meshArea (const AimsSurfaceTriangle &surf) |
| |
| static float | meshArea (const AimsSurface< 3, Void > &surf) |
| |
| static float | meshVolume (const AimsSurfaceTriangle &surf) |
| |
| static float | meshVolume (const AimsSurface< 3, Void > &surf) |
| |
| template<int D, class T > |
| static void | meshMerge (AimsTimeSurface< D, T > &dst, const AimsTimeSurface< D, T > &add) |
| | concatenates 2 meshes into one (adds the second to the first one) More...
|
| |
| template<int D, class T > |
| static void | meshMerge (AimsTimeSurface< D, T > &dst, const std::list< AimsTimeSurface< D, T > > &src) |
| | concatenates several meshes (src) into a single one (dst) More...
|
| |
| template<int D, typename T > |
| static void | meshTransform (AimsTimeSurface< D, T > &mesh, const Motion &trans) |
| | Applies a transformation to a mesh. More...
|
| |
| template<int D, typename T > |
| static AimsTimeSurface< D, T > * | meshExtract (const AimsTimeSurface< D, T > &mesh, const TimeTexture< int16_t > &tex, int16_t value, std::vector< size_t > **overtIndex=0) |
| |
| template<typename T > |
| static AimsSurface< 2, Void > * | meshTextureBoundary (const AimsSurface< 3, Void > &mesh, const Texture< T > &tex, T region) |
| | Extracts the boundary of region of value <region> of the input texture, on the mesh. More...
|
| |
| template<typename T > |
| static AimsTimeSurface< 2, Void > * | meshTextureBoundary (const AimsSurfaceTriangle &mesh, const TimeTexture< T > &tex, T region) |
| | Extracts the boundary of region of value <region> of the input texture, on the mesh. More...
|
| |
| static Point3df | nearestPointToMesh (const Point3df &pos, const AimsSurfaceTriangle &mesh, unsigned nneighbours=1, unsigned *index=0) |
| | computes the position of the point in the mesh nearest to the given position, averaging across the nneighbours nearest vertices. More...
|
| |
| static AimsSurfaceTriangle * | refineMeshTri4 (const AimsSurfaceTriangle &mesh, const std::vector< uint > &selectedPolygons=std::vector< uint >()) |
| | Refine a mesh by subdivising every triangle into 4 smaller ones. More...
|
| |
| template<int D, typename T > |
| static TimeTexture< float > * | meshDensity (const AimsTimeSurface< D, T > &mesh, bool asDistance=false) |
| | Calculate a mesh density: inverse of the average edges distance If asDistance is true, then the average distance is returned instead of the density. More...
|
| |
| template<int D, typename T > |
| static TimeTexture< float > * | meshEdgeLengthRatioTexture (const AimsTimeSurface< D, T > &nummesh, const AimsTimeSurface< D, T > &denommesh) |
| | Calculate an edge length ratio in edges of two meshes with the same topology. More...
|
| |
| static bool | checkMeshIntersect (const AimsSurfaceTriangle &, const AimsSurfaceTriangle &) |
| | Checks if two meshes intersect. More...
|
| |
| static std::vector< Point3df > * | lineDirections (const AimsTimeSurface< 2, Void > &) |
| | calculate directions of a line mesh, fora each vertex More...
|
| |
| template<int D, typename T > |
| static void | sortPolygonsAlongDirection (AimsTimeSurface< D, T > &mesh, int timestep, const Point3df &direction) |
| | Sort polygons along a given direction. More...
|
| |
| template<int D, typename T > |
| static void | rasterizeMeshWireframe (const AimsTimeSurface< D, T > &mesh, carto::rc_ptr< carto::Volume< int16_t > > &volume, int value=1) |
| | Rasterize polygons edges into a volume. More...
|
| |
| static void | rasterizeMesh (const AimsTimeSurface< 3, Void > &mesh, carto::rc_ptr< carto::Volume< int16_t > > &volume, int value=2) |
| | Rasterize polygons into a volume. More...
|
| |
| template<typename T > |
| static void | rasterizeLine (const Point3df &p0, const Point3df &direction, float lmax, T &volume, int value) |
| | T should be carto::Volume<int16_t> or BucketMap<Void>::Bucket. More...
|
| |