#include <import_ptx.h>
Classes | |
class | Info |
Public Types | |
typedef OpenMeshType::CoordType | CoordType |
typedef OpenMeshType::FaceIterator | FaceIterator |
typedef OpenMeshType::FaceType | FaceType |
typedef vcg::Matrix44< ScalarType > | Matrix44x |
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 42 of file import_ptx.h.
typedef OpenMeshType::CoordType vcg::tri::io::ImporterPTX< OpenMeshType >::CoordType |
Definition at line 51 of file import_ptx.h.
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterPTX< OpenMeshType >::FaceIterator |
Definition at line 50 of file import_ptx.h.
typedef OpenMeshType::FaceType vcg::tri::io::ImporterPTX< OpenMeshType >::FaceType |
Definition at line 48 of file import_ptx.h.
typedef vcg::Matrix44<ScalarType> vcg::tri::io::ImporterPTX< OpenMeshType >::Matrix44x |
Definition at line 52 of file import_ptx.h.
typedef OpenMeshType::ScalarType vcg::tri::io::ImporterPTX< OpenMeshType >::ScalarType |
Definition at line 46 of file import_ptx.h.
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterPTX< OpenMeshType >::VertexIterator |
Definition at line 49 of file import_ptx.h.
typedef OpenMeshType::VertexPointer vcg::tri::io::ImporterPTX< OpenMeshType >::VertexPointer |
Definition at line 45 of file import_ptx.h.
typedef OpenMeshType::VertexType vcg::tri::io::ImporterPTX< OpenMeshType >::VertexType |
Definition at line 47 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 100 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 146 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 171 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 117 of file import_ptx.h.