#include <import_ply.h>
Classes | |
struct | LoadPly_Camera |
struct | LoadPly_FaceAux |
struct | LoadPly_RangeGridAux |
struct | LoadPly_TristripAux |
struct | LoadPly_VertAux |
Public Types | |
typedef OpenMeshType::FaceIterator | FaceIterator |
typedef OpenMeshType::FaceType | FaceType |
typedef ::vcg::ply::PropDescriptor | PropDescriptor |
typedef OpenMeshType::ScalarType | ScalarType |
typedef OpenMeshType::VertexIterator | VertexIterator |
typedef OpenMeshType::VertexPointer | VertexPointer |
typedef OpenMeshType::VertexType | VertexType |
Public Member Functions | |
int | LoadCamera (const char *filename) |
Static Public Member Functions | |
static const PropDescriptor & | CameraDesc (int i) |
static bool | ErrorCritical (int err) |
static const char * | ErrorMsg (int error) |
Standard call for knowing the meaning of an error code. | |
static const PropDescriptor & | FaceDesc (int i) |
static bool | LoadMask (const char *filename, int &mask, PlyInfo &pi) |
static bool | LoadMask (const char *filename, int &mask) |
static int | Open (OpenMeshType &m, const char *filename, PlyInfo &pi) |
read a mesh with all the possible option specified in the PlyInfo obj. | |
static int | Open (OpenMeshType &m, const char *filename, int &loadmask, CallBackPos *cb=0) |
static int | Open (OpenMeshType &m, const char *filename, CallBackPos *cb=0) |
Standard call for reading a mesh. | |
static const PropDescriptor & | RangeDesc (int i) |
static const PropDescriptor & | TristripDesc (int i) |
static const PropDescriptor & | VertDesc (int i) |
This class encapsulate a filter for opening ply meshes. The ply file format is quite extensible...
Definition at line 183 of file io_trimesh/import_ply.h.
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterPLY< OpenMeshType >::FaceIterator |
Definition at line 193 of file io_trimesh/import_ply.h.
typedef OpenMeshType::FaceType vcg::tri::io::ImporterPLY< OpenMeshType >::FaceType |
Definition at line 191 of file io_trimesh/import_ply.h.
typedef ::vcg::ply::PropDescriptor vcg::tri::io::ImporterPLY< OpenMeshType >::PropDescriptor |
Definition at line 187 of file io_trimesh/import_ply.h.
typedef OpenMeshType::ScalarType vcg::tri::io::ImporterPLY< OpenMeshType >::ScalarType |
Definition at line 189 of file io_trimesh/import_ply.h.
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterPLY< OpenMeshType >::VertexIterator |
Definition at line 192 of file io_trimesh/import_ply.h.
typedef OpenMeshType::VertexPointer vcg::tri::io::ImporterPLY< OpenMeshType >::VertexPointer |
Definition at line 188 of file io_trimesh/import_ply.h.
typedef OpenMeshType::VertexType vcg::tri::io::ImporterPLY< OpenMeshType >::VertexType |
Definition at line 190 of file io_trimesh/import_ply.h.
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::CameraDesc | ( | int | i | ) | [inline, static] |
Definition at line 361 of file io_trimesh/import_ply.h.
static bool vcg::tri::io::ImporterPLY< OpenMeshType >::ErrorCritical | ( | int | err | ) | [inline, static] |
Definition at line 426 of file io_trimesh/import_ply.h.
static const char* vcg::tri::io::ImporterPLY< OpenMeshType >::ErrorMsg | ( | int | error | ) | [inline, static] |
Standard call for knowing the meaning of an error code.
Definition at line 392 of file io_trimesh/import_ply.h.
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::FaceDesc | ( | int | i | ) | [inline, static] |
Definition at line 312 of file io_trimesh/import_ply.h.
int vcg::tri::io::ImporterPLY< OpenMeshType >::LoadCamera | ( | const char * | filename | ) | [inline] |
Definition at line 1091 of file io_trimesh/import_ply.h.
static bool vcg::tri::io::ImporterPLY< OpenMeshType >::LoadMask | ( | const char * | filename, | |
int & | mask, | |||
PlyInfo & | pi | |||
) | [inline, static] |
Definition at line 1170 of file io_trimesh/import_ply.h.
static bool vcg::tri::io::ImporterPLY< OpenMeshType >::LoadMask | ( | const char * | filename, | |
int & | mask | |||
) | [inline, static] |
Definition at line 1165 of file io_trimesh/import_ply.h.
static int vcg::tri::io::ImporterPLY< OpenMeshType >::Open | ( | OpenMeshType & | m, | |
const char * | filename, | |||
PlyInfo & | pi | |||
) | [inline, static] |
read a mesh with all the possible option specified in the PlyInfo obj.
Now the temporary struct 'fa' is ready to be copied into the real face '*fi' This loop
Definition at line 456 of file io_trimesh/import_ply.h.
static int vcg::tri::io::ImporterPLY< OpenMeshType >::Open | ( | OpenMeshType & | m, | |
const char * | filename, | |||
int & | loadmask, | |||
CallBackPos * | cb = 0 | |||
) | [inline, static] |
Read a mesh and store in loadmask the loaded field Note that loadmask is not read! just modified. You cannot specify what fields have to be read. ALL the data for which your mesh HasSomething and are present in the file are read in.
Definition at line 445 of file io_trimesh/import_ply.h.
static int vcg::tri::io::ImporterPLY< OpenMeshType >::Open | ( | OpenMeshType & | m, | |
const char * | filename, | |||
CallBackPos * | cb = 0 | |||
) | [inline, static] |
Standard call for reading a mesh.
Definition at line 434 of file io_trimesh/import_ply.h.
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::RangeDesc | ( | int | i | ) | [inline, static] |
Definition at line 352 of file io_trimesh/import_ply.h.
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::TristripDesc | ( | int | i | ) | [inline, static] |
Definition at line 341 of file io_trimesh/import_ply.h.
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::VertDesc | ( | int | i | ) | [inline, static] |
Definition at line 280 of file io_trimesh/import_ply.h.