Public Member Functions | Private Attributes

lssr::ObjIO< CoordType, IndexType > Class Template Reference

A basic implementation of the obj file format. Currently only geometry information is supported. Color / Material support will follow shortly. More...

#include <ObjIO.hpp>

List of all members.

Public Member Functions

 ObjIO ()
void write (string filename)
void setVertexArray (CoordType *array, size_t count)
void setNormalArray (CoordType *array, size_t count)
void setIndexArray (IndexType *array, size_t count)

Private Attributes

CoordType * m_vertices
CoordType * m_normals
IndexType * m_indices
size_t m_faceCount
size_t m_vertexCount

Detailed Description

template<typename CoordType, typename IndexType>
class lssr::ObjIO< CoordType, IndexType >

A basic implementation of the obj file format. Currently only geometry information is supported. Color / Material support will follow shortly.

Definition at line 20 of file ObjIO.hpp.


Constructor & Destructor Documentation

template<typename CoordType , typename IndexType >
lssr::ObjIO< CoordType, IndexType >::ObjIO (  ) 

Member Function Documentation

template<typename CoordType , typename IndexType >
void lssr::ObjIO< CoordType, IndexType >::setIndexArray ( IndexType *  array,
size_t  count 
)
template<typename CoordType , typename IndexType >
void lssr::ObjIO< CoordType, IndexType >::setNormalArray ( CoordType *  array,
size_t  count 
)
template<typename CoordType , typename IndexType >
void lssr::ObjIO< CoordType, IndexType >::setVertexArray ( CoordType *  array,
size_t  count 
)
template<typename CoordType , typename IndexType >
void lssr::ObjIO< CoordType, IndexType >::write ( string  filename  ) 

Member Data Documentation

template<typename CoordType , typename IndexType >
size_t lssr::ObjIO< CoordType, IndexType >::m_faceCount [private]

Definition at line 35 of file ObjIO.hpp.

template<typename CoordType , typename IndexType >
IndexType* lssr::ObjIO< CoordType, IndexType >::m_indices [private]

Definition at line 33 of file ObjIO.hpp.

template<typename CoordType , typename IndexType >
CoordType* lssr::ObjIO< CoordType, IndexType >::m_normals [private]

Definition at line 32 of file ObjIO.hpp.

template<typename CoordType , typename IndexType >
size_t lssr::ObjIO< CoordType, IndexType >::m_vertexCount [private]

Definition at line 36 of file ObjIO.hpp.

template<typename CoordType , typename IndexType >
CoordType* lssr::ObjIO< CoordType, IndexType >::m_vertices [private]

Definition at line 31 of file ObjIO.hpp.


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