Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Static Public Member Functions
vcg::tri::io::JfrImporterPLY< OpenMeshType > Class Template Reference

This class encapsulate a filter for opening ply meshes. More...


Detailed Description

template<class OpenMeshType>
class vcg::tri::io::JfrImporterPLY< OpenMeshType >

This class encapsulate a filter for opening ply meshes.

The ply file format is quite extensible...

Definition at line 64 of file jfr_import_ply.h.

#include <jfr_import_ply.h>

List of all members.

Classes

struct  LoadPly_Camera
struct  LoadPly_FaceAux
struct  LoadPly_Feature
struct  LoadPly_RangeGridAux
struct  LoadPly_TristripAux
struct  LoadPly_VertAux

Public Types

typedef ::vcg::ply::PropDescriptor PropDescriptor
typedef OpenMeshType::VertexPointer VertexPointer
typedef OpenMeshType::ScalarType ScalarType
typedef OpenMeshType::VertexType VertexType
typedef OpenMeshType::FaceType FaceType
typedef
OpenMeshType::VertexIterator 
VertexIterator
typedef OpenMeshType::FaceIterator FaceIterator

Public Member Functions

int LoadCamera (const char *filename)

Static Public Member Functions

static const PropDescriptor & VertDesc (int i)
static const PropDescriptor & FaceDesc (int i)
static const PropDescriptor & TristripDesc (int i)
static const PropDescriptor & RangeDesc (int i)
static const PropDescriptor & CameraDesc (int i)
static const PropDescriptor & FeatureDesc (int i)
static const char * ErrorMsg (int error)
 Standard call for knowing the meaning of an error code.
static bool ErrorCritical (int err)
static int Open (OpenMeshType &m, const char *filename, CallBackPos *cb=0)
 Standard call for reading a mesh.
static int Open (OpenMeshType &m, const char *filename, int &loadmask, CallBackPos *cb=0)
 Read a mesh and store in loadmask the loaded field Note that loadmask is not read! just modified.
static int Open (OpenMeshType &m, const char *filename, PlyInfo &pi)
 read a mesh with all the possible option specified in the PlyInfo obj.
static bool LoadJfrMask (const char *filename, int &mask)
static bool LoadJfrMask (const char *filename, int &mask, PlyInfo &pi)

Member Function Documentation

template<class OpenMeshType >
static int vcg::tri::io::JfrImporterPLY< 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 360 of file jfr_import_ply.h.

References vcg::tri::io::JfrImporterPLY< OpenMeshType >::Open().

template<class OpenMeshType >
static int vcg::tri::io::JfrImporterPLY< 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 371 of file jfr_import_ply.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:52 for Jafar by doxygen 1.7.6.1
LAAS-CNRS