MeshLoaderPLY Class Reference

Loads PLY meshes from an external source ('.ply' file extension). Wrapper around ply-parser-0.1. More...

#include <MeshLoaderPLY.h>

Inheritance diagram for MeshLoaderPLY:

MeshLoader

List of all members.

Public Member Functions

 MeshLoaderPLY (MeshData &outData)

Protected Member Functions

virtual bool _load (std::istream &istream, MeshData &outData)
 Format-specific mesh loading from an ifstream (input file stream).

Protected Attributes

MeshData_data
real_t m_x
real_t m_y
real_t m_z
unsigned m_faceIndex
unsigned m_prevFaceIndex
unsigned m_firstFaceIndex


Detailed Description

Loads PLY meshes from an external source ('.ply' file extension). Wrapper around ply-parser-0.1.

Author:
Travis Fischer (fisch0920@gmail.com)

Matthew Jacobs (jacobs.mh@gmail.com)

Date:
Spring 2008

Definition at line 27 of file MeshLoaderPLY.h.


Constructor & Destructor Documentation

MeshLoaderPLY::MeshLoaderPLY ( MeshData outData  )  [inline]

Definition at line 29 of file MeshLoaderPLY.h.


Member Function Documentation

bool MeshLoaderPLY::_load ( std::istream &  fileStream,
MeshData outData 
) [protected, virtual]

Format-specific mesh loading from an ifstream (input file stream).

Returns:
true on success with loaded data in outData, false otherwise

Implements MeshLoader.

Definition at line 21 of file MeshLoaderPLY.cpp.


Member Data Documentation

Definition at line 59 of file MeshLoaderPLY.h.

Definition at line 61 of file MeshLoaderPLY.h.

Definition at line 61 of file MeshLoaderPLY.h.

Definition at line 61 of file MeshLoaderPLY.h.

unsigned MeshLoaderPLY::m_faceIndex [protected]

Definition at line 62 of file MeshLoaderPLY.h.

unsigned MeshLoaderPLY::m_prevFaceIndex [protected]

Definition at line 62 of file MeshLoaderPLY.h.

unsigned MeshLoaderPLY::m_firstFaceIndex [protected]

Definition at line 62 of file MeshLoaderPLY.h.


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

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6