#include <outline_support.h>
Static Public Member Functions | |
| static void | BuildRandomOutlineVec (int outlineNum, std::vector< std::vector< Point2f > > &outline2Vec, int seed=0) |
| template<class MeshType > | |
| static void | ConvertMeshBoundaryToEdgeMesh (MeshType &m, MeshType &em) |
| template<class MeshType > | |
| static int | ConvertMeshBoundaryToOutline3Vec (MeshType &m, std::vector< std::vector< Point3f > > &outline3Vec) |
| template<class MeshType > | |
| static bool | ConvertOutline3VecToEdgeMesh (std::vector< std::vector< Point3f > > &outlineVec, MeshType &m) |
| template<class MeshType > | |
| static bool | ConvertOutline3VecToEdgeMesh (std::vector< Point3f > &outline, MeshType &m) |
| template<class PointType > | |
| static bool | ConvertOutline3VecToOutline2Vec (std::vector< std::vector< PointType > > &outline3Vec, std::vector< std::vector< Point2f > > &outline2Vec) |
| static int | LargestOutline2 (const std::vector< std::vector< Point2f > > &outline2Vec) |
| static ScalarType | Outline2Area (const std::vector< Point2< ScalarType > > &outline2) |
| static Box2< ScalarType > | Outline2BBox (const std::vector< Point2< ScalarType > > &outline2) |
| static ScalarType | Outline2Perimeter (const std::vector< Point2< ScalarType > > &outline2) |
| static Box2< ScalarType > | Outline2VecBBox (const std::vector< std::vector< Point2< ScalarType > > > &outline2Vec) |
| static void | ReverseOutline2 (std::vector< Point2< ScalarType > > &outline2) |
Definition at line 21 of file outline_support.h.
| static void vcg::tri::OutlineUtil< ScalarType >::BuildRandomOutlineVec | ( | int | outlineNum, |
| std::vector< std::vector< Point2f > > & | outline2Vec, | ||
| int | seed = 0 |
||
| ) | [inline, static] |
Definition at line 95 of file outline_support.h.
| static void vcg::tri::OutlineUtil< ScalarType >::ConvertMeshBoundaryToEdgeMesh | ( | MeshType & | m, |
| MeshType & | em | ||
| ) | [inline, static] |
Definition at line 204 of file outline_support.h.
| static int vcg::tri::OutlineUtil< ScalarType >::ConvertMeshBoundaryToOutline3Vec | ( | MeshType & | m, |
| std::vector< std::vector< Point3f > > & | outline3Vec | ||
| ) | [inline, static] |
Definition at line 167 of file outline_support.h.
| static bool vcg::tri::OutlineUtil< ScalarType >::ConvertOutline3VecToEdgeMesh | ( | std::vector< std::vector< Point3f > > & | outlineVec, |
| MeshType & | m | ||
| ) | [inline, static] |
Definition at line 234 of file outline_support.h.
| static bool vcg::tri::OutlineUtil< ScalarType >::ConvertOutline3VecToEdgeMesh | ( | std::vector< Point3f > & | outline, |
| MeshType & | m | ||
| ) | [inline, static] |
Definition at line 264 of file outline_support.h.
| static bool vcg::tri::OutlineUtil< ScalarType >::ConvertOutline3VecToOutline2Vec | ( | std::vector< std::vector< PointType > > & | outline3Vec, |
| std::vector< std::vector< Point2f > > & | outline2Vec | ||
| ) | [inline, static] |
Definition at line 148 of file outline_support.h.
| static int vcg::tri::OutlineUtil< ScalarType >::LargestOutline2 | ( | const std::vector< std::vector< Point2f > > & | outline2Vec | ) | [inline, static] |
Definition at line 130 of file outline_support.h.
| static ScalarType vcg::tri::OutlineUtil< ScalarType >::Outline2Area | ( | const std::vector< Point2< ScalarType > > & | outline2 | ) | [inline, static] |
Returns the area of the polygon defined by the parameter points
| a | vector of points |
Definition at line 31 of file outline_support.h.
| static Box2<ScalarType> vcg::tri::OutlineUtil< ScalarType >::Outline2BBox | ( | const std::vector< Point2< ScalarType > > & | outline2 | ) | [inline, static] |
Returns the bounding box of the polygon defined by the parameter points
| a | vector of points |
Definition at line 64 of file outline_support.h.
| static ScalarType vcg::tri::OutlineUtil< ScalarType >::Outline2Perimeter | ( | const std::vector< Point2< ScalarType > > & | outline2 | ) | [inline, static] |
Returns the length of the perimeter of the polygon defined by the parameter points
| a | vector of points |
Definition at line 46 of file outline_support.h.
| static Box2<ScalarType> vcg::tri::OutlineUtil< ScalarType >::Outline2VecBBox | ( | const std::vector< std::vector< Point2< ScalarType > > > & | outline2Vec | ) | [inline, static] |
Returns the bounding box of the polygon defined by the parameter points
| a | vector of points |
Definition at line 79 of file outline_support.h.
| static void vcg::tri::OutlineUtil< ScalarType >::ReverseOutline2 | ( | std::vector< Point2< ScalarType > > & | outline2 | ) | [inline, static] |
Definition at line 89 of file outline_support.h.