Static Public Member Functions
vcg::tri::OutlineUtil< ScalarType > Class Template Reference

#include <outline_support.h>

List of all members.

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< ScalarTypeOutline2BBox (const std::vector< Point2< ScalarType > > &outline2)
static ScalarType Outline2Perimeter (const std::vector< Point2< ScalarType > > &outline2)
static Box2< ScalarTypeOutline2VecBBox (const std::vector< std::vector< Point2< ScalarType > > > &outline2Vec)
static void ReverseOutline2 (std::vector< Point2< ScalarType > > &outline2)

Detailed Description

template<class ScalarType>
class vcg::tri::OutlineUtil< ScalarType >

Definition at line 21 of file outline_support.h.


Member Function Documentation

template<class ScalarType >
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.

template<class ScalarType >
template<class MeshType >
static void vcg::tri::OutlineUtil< ScalarType >::ConvertMeshBoundaryToEdgeMesh ( MeshType &  m,
MeshType &  em 
) [inline, static]

Definition at line 204 of file outline_support.h.

template<class ScalarType >
template<class MeshType >
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.

template<class ScalarType >
template<class MeshType >
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.

template<class ScalarType >
template<class MeshType >
static bool vcg::tri::OutlineUtil< ScalarType >::ConvertOutline3VecToEdgeMesh ( std::vector< Point3f > &  outline,
MeshType &  m 
) [inline, static]

Definition at line 264 of file outline_support.h.

template<class ScalarType >
template<class PointType >
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.

template<class ScalarType >
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.

template<class ScalarType >
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

Parameters:
avector of points
Returns:
the area of the polygon

Definition at line 31 of file outline_support.h.

template<class ScalarType >
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

Parameters:
avector of points
Returns:
the bounding box of the polygon
See also:
Box2

Definition at line 64 of file outline_support.h.

template<class ScalarType >
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

Parameters:
avector of points
Returns:
the length of the perimeter

Definition at line 46 of file outline_support.h.

template<class ScalarType >
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

Parameters:
avector of points
Returns:
the bounding box of the polygon
See also:
Box2

Definition at line 79 of file outline_support.h.

template<class ScalarType >
static void vcg::tri::OutlineUtil< ScalarType >::ReverseOutline2 ( std::vector< Point2< ScalarType > > &  outline2) [inline, static]

Definition at line 89 of file outline_support.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:42:55