vcg::tri::io::ImporterPLY< OpenMeshType > Class Template Reference

#include <import_ply.h>

List of all members.

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 PropDescriptorCameraDesc (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 PropDescriptorFaceDesc (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 PropDescriptorRangeDesc (int i)
static const PropDescriptorTristripDesc (int i)
static const PropDescriptorVertDesc (int i)

Detailed Description

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

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.


Member Typedef Documentation

template<class OpenMeshType>
typedef OpenMeshType::FaceIterator vcg::tri::io::ImporterPLY< OpenMeshType >::FaceIterator

Definition at line 193 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
typedef OpenMeshType::FaceType vcg::tri::io::ImporterPLY< OpenMeshType >::FaceType

Definition at line 191 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
typedef ::vcg::ply::PropDescriptor vcg::tri::io::ImporterPLY< OpenMeshType >::PropDescriptor

Definition at line 187 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
typedef OpenMeshType::ScalarType vcg::tri::io::ImporterPLY< OpenMeshType >::ScalarType

Definition at line 189 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
typedef OpenMeshType::VertexIterator vcg::tri::io::ImporterPLY< OpenMeshType >::VertexIterator

Definition at line 192 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
typedef OpenMeshType::VertexPointer vcg::tri::io::ImporterPLY< OpenMeshType >::VertexPointer

Definition at line 188 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
typedef OpenMeshType::VertexType vcg::tri::io::ImporterPLY< OpenMeshType >::VertexType

Definition at line 190 of file io_trimesh/import_ply.h.


Member Function Documentation

template<class OpenMeshType>
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::CameraDesc ( int  i  )  [inline, static]

Definition at line 361 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
static bool vcg::tri::io::ImporterPLY< OpenMeshType >::ErrorCritical ( int  err  )  [inline, static]

Definition at line 426 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
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.

template<class OpenMeshType>
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::FaceDesc ( int  i  )  [inline, static]

Definition at line 312 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
int vcg::tri::io::ImporterPLY< OpenMeshType >::LoadCamera ( const char *  filename  )  [inline]

Definition at line 1091 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
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.

template<class OpenMeshType>
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.

template<class OpenMeshType>
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.

template<class OpenMeshType>
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.

template<class OpenMeshType>
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.

template<class OpenMeshType>
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::RangeDesc ( int  i  )  [inline, static]

Definition at line 352 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::TristripDesc ( int  i  )  [inline, static]

Definition at line 341 of file io_trimesh/import_ply.h.

template<class OpenMeshType>
static const PropDescriptor& vcg::tri::io::ImporterPLY< OpenMeshType >::VertDesc ( int  i  )  [inline, static]

Definition at line 280 of file io_trimesh/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


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:39 2013