#include <ImporterT.hh>
Public Types | |
typedef Mesh::Point | Point |
typedef Mesh::Normal | Normal |
typedef Mesh::Color | Color |
typedef Mesh::TexCoord2D | TexCoord2D |
typedef std::vector< VertexHandle > | VHandles |
Public Member Functions | |
ImporterT (Mesh &_mesh) | |
virtual VertexHandle | add_vertex (const Vec3f &_point) |
virtual FaceHandle | add_face (const VHandles &_indices) |
virtual void | set_normal (VertexHandle _vh, const Vec3f &_normal) |
virtual void | set_color (VertexHandle _vh, const Vec3uc &_color) |
virtual void | set_texcoord (VertexHandle _vh, const Vec2f &_texcoord) |
virtual void | set_normal (FaceHandle _fh, const Vec3f &_normal) |
virtual void | set_color (FaceHandle _fh, const Vec3uc &_color) |
virtual BaseKernel * | kernel () |
bool | is_triangle_mesh () const |
void | reserve (unsigned int nV, unsigned int nE, unsigned int nF) |
size_t | n_vertices () const |
size_t | n_faces () const |
size_t | n_edges () const |
void | prepare () |
void | finish () |