Classes | Public Types | Public Member Functions | Static Public Member Functions
vcg::tri::io::ImporterPLY< OpenMeshType > Class Template Reference

#include <import_ply.h>

List of all members.

Classes

struct  LoadPly_Camera
struct  LoadPly_EdgeAux
struct  LoadPly_FaceAux
struct  LoadPly_RangeGridAux
struct  LoadPly_TristripAux
struct  LoadPly_VertAux

Public Types

typedef OpenMeshType::EdgeIterator EdgeIterator
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 const PropDescriptorEdgeDesc (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)
static bool LoadMask (const char *filename, int &mask, PlyInfo &pi)
static int Open (OpenMeshType &m, const char *filename, CallBackPos *cb=0)
 Standard call for reading a mesh, returns 0 on success.
static int Open (OpenMeshType &m, const char *filename, int &loadmask, CallBackPos *cb=0)
static int Open (OpenMeshType &m, const char *filename, PlyInfo &pi)
 read a mesh with all the possible option specified in the PlyInfo obj, returns 0 on success.
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 55 of file io_trimesh/import_ply.h.


Member Typedef Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 62 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 261 of file io_trimesh/import_ply.h.

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

Definition at line 240 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 327 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 292 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 200 of file io_trimesh/import_ply.h.

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

Definition at line 1021 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 1095 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 1100 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, returns 0 on success.

Definition at line 335 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 346 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, returns 0 on success.

Now the temporary struct 'fa' is ready to be copied into the real face '*fi' This loop

Definition at line 357 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 252 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 231 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 158 of file io_trimesh/import_ply.h.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:44:03