#include <import_ptx.h>
Classes | |
class | Info |
Public Types | |
typedef OpenMeshType::FaceIterator | FaceIterator |
typedef OpenMeshType::FaceType | FaceType |
typedef OpenMeshType::ScalarType | ScalarType |
typedef OpenMeshType::VertexIterator | VertexIterator |
typedef OpenMeshType::VertexPointer | VertexPointer |
typedef OpenMeshType::VertexType | VertexType |
Static Public Member Functions | |
static const char * | ErrorMsg (int error) |
Standard call for knowing the meaning of an error code. | |
static int | Open (OpenMeshType &m, const char *filename, Info importparams, CallBackPos *cb=NULL) |
Standard call that reading a mesh. | |
static bool | readPTX (OpenMeshType &m, FILE *fp, Info importparams, CallBackPos *cb=NULL) |
Call that load a mesh. | |
static bool | skipmesh (FILE *fp, CallBackPos *cb=NULL) |
This class encapsulate a filter for importing ptx meshes.
Definition at line 54 of file import_ptx.h.
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterPTX< OpenMeshType >::FaceIterator |
Definition at line 62 of file import_ptx.h.
typedef OpenMeshType::FaceType vcg::tri::io::ImporterPTX< OpenMeshType >::FaceType |
Definition at line 60 of file import_ptx.h.
typedef OpenMeshType::ScalarType vcg::tri::io::ImporterPTX< OpenMeshType >::ScalarType |
Definition at line 58 of file import_ptx.h.
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterPTX< OpenMeshType >::VertexIterator |
Definition at line 61 of file import_ptx.h.
typedef OpenMeshType::VertexPointer vcg::tri::io::ImporterPTX< OpenMeshType >::VertexPointer |
Definition at line 57 of file import_ptx.h.
typedef OpenMeshType::VertexType vcg::tri::io::ImporterPTX< OpenMeshType >::VertexType |
Definition at line 59 of file import_ptx.h.
static const char* vcg::tri::io::ImporterPTX< OpenMeshType >::ErrorMsg | ( | int | error | ) | [inline, static] |
Standard call for knowing the meaning of an error code.
Definition at line 110 of file import_ptx.h.
static int vcg::tri::io::ImporterPTX< OpenMeshType >::Open | ( | OpenMeshType & | m, | |
const char * | filename, | |||
Info | importparams, | |||
CallBackPos * | cb = NULL | |||
) | [inline, static] |
Standard call that reading a mesh.
Definition at line 156 of file import_ptx.h.
static bool vcg::tri::io::ImporterPTX< OpenMeshType >::readPTX | ( | OpenMeshType & | m, | |
FILE * | fp, | |||
Info | importparams, | |||
CallBackPos * | cb = NULL | |||
) | [inline, static] |
Call that load a mesh.
Definition at line 181 of file import_ptx.h.
static bool vcg::tri::io::ImporterPTX< OpenMeshType >::skipmesh | ( | FILE * | fp, | |
CallBackPos * | cb = NULL | |||
) | [inline, static] |
skip ONE range map inside the ptx file, starting from current position returns true if skipped, false if failed/eof
Definition at line 127 of file import_ptx.h.