#include <import_gts.h>
Classes | |
struct | Options |
Public Types | |
typedef MESH_TYPE::CoordType | CoordType |
typedef MESH_TYPE::FaceIterator | FaceIterator |
typedef MESH_TYPE::FacePointer | FacePointer |
typedef MESH_TYPE::FaceType | FaceType |
enum | GTSCodes { NoError = 0, CantOpen, InvalidFile, UnsupportedFormat, ErrorNotTriangularFace } |
typedef MESH_TYPE::ScalarType | ScalarType |
typedef MESH_TYPE::VertexIterator | VertexIterator |
typedef MESH_TYPE::VertexPointer | VertexPointer |
typedef MESH_TYPE::VertexType | VertexType |
Static Public Member Functions | |
static const char * | ErrorMsg (int message_code) |
static bool | LoadMask (const char *filename, int &loadmask) |
static int | Open (MESH_TYPE &mesh, const char *filename, CallBackPos *cb=0) |
static int | Open (MESH_TYPE &mesh, const char *filename, int &loadmask, CallBackPos *cb=0, bool onlyMaskFlag=false) |
static int | Open (MESH_TYPE &mesh, const char *filename, int &loadmask, const Options &options, CallBackPos *cb=0) |
This class encapsulate a filter for importing GTS meshes. The GTS file format of the GNU Triangulated Surface library http://gts.sourceforge.net/
Definition at line 50 of file import_gts.h.
typedef MESH_TYPE::CoordType vcg::tri::io::ImporterGTS< MESH_TYPE >::CoordType |
Definition at line 60 of file import_gts.h.
typedef MESH_TYPE::FaceIterator vcg::tri::io::ImporterGTS< MESH_TYPE >::FaceIterator |
Definition at line 58 of file import_gts.h.
typedef MESH_TYPE::FacePointer vcg::tri::io::ImporterGTS< MESH_TYPE >::FacePointer |
Definition at line 59 of file import_gts.h.
typedef MESH_TYPE::FaceType vcg::tri::io::ImporterGTS< MESH_TYPE >::FaceType |
Definition at line 57 of file import_gts.h.
typedef MESH_TYPE::ScalarType vcg::tri::io::ImporterGTS< MESH_TYPE >::ScalarType |
Definition at line 61 of file import_gts.h.
typedef MESH_TYPE::VertexIterator vcg::tri::io::ImporterGTS< MESH_TYPE >::VertexIterator |
Definition at line 55 of file import_gts.h.
typedef MESH_TYPE::VertexPointer vcg::tri::io::ImporterGTS< MESH_TYPE >::VertexPointer |
Definition at line 56 of file import_gts.h.
typedef MESH_TYPE::VertexType vcg::tri::io::ImporterGTS< MESH_TYPE >::VertexType |
Definition at line 54 of file import_gts.h.
enum vcg::tri::io::ImporterGTS::GTSCodes |
Definition at line 63 of file import_gts.h.
static const char* vcg::tri::io::ImporterGTS< MESH_TYPE >::ErrorMsg | ( | int | message_code | ) | [inline, static] |
Standard call for knowing the meaning of an error code
message_code | The code returned by Open |
Definition at line 81 of file import_gts.h.
static bool vcg::tri::io::ImporterGTS< MESH_TYPE >::LoadMask | ( | const char * | filename, |
int & | loadmask | ||
) | [inline, static] |
Load only the properties of the 3D objects.
filename | the name of the file to read from |
loadmask | the mask which encodes the properties |
Definition at line 102 of file import_gts.h.
static int vcg::tri::io::ImporterGTS< MESH_TYPE >::Open | ( | MESH_TYPE & | mesh, |
const char * | filename, | ||
CallBackPos * | cb = 0 |
||
) | [inline, static] |
Definition at line 111 of file import_gts.h.
static int vcg::tri::io::ImporterGTS< MESH_TYPE >::Open | ( | MESH_TYPE & | mesh, |
const char * | filename, | ||
int & | loadmask, | ||
CallBackPos * | cb = 0 , |
||
bool | onlyMaskFlag = false |
||
) | [inline, static] |
Standard call for reading a mesh.
mesh | the destination mesh |
filename | the name of the file to read from |
Definition at line 124 of file import_gts.h.
static int vcg::tri::io::ImporterGTS< MESH_TYPE >::Open | ( | MESH_TYPE & | mesh, |
const char * | filename, | ||
int & | loadmask, | ||
const Options & | options, | ||
CallBackPos * | cb = 0 |
||
) | [inline, static] |
Definition at line 132 of file import_gts.h.