#include <BaseImporter.hh>

Public Types | |
| typedef std::vector< VertexHandle > | VHandles |
Public Member Functions | |
| virtual FaceHandle | add_face (const VHandles &_indices)=0 |
| virtual void | add_face_texcoords (FaceHandle _fh, VertexHandle _vh, const std::vector< Vec2f > &_face_texcoords)=0 |
| virtual void | add_texture_information (int _id, std::string _name)=0 |
| virtual VertexHandle | add_vertex (const Vec3f &_point)=0 |
| virtual void | finish () |
| virtual bool | is_triangle_mesh () const |
| virtual BaseKernel * | kernel () |
| virtual size_t | n_edges () const =0 |
| virtual size_t | n_faces () const =0 |
| virtual size_t | n_vertices () const =0 |
| virtual void | prepare () |
| virtual void | reserve (unsigned int, unsigned int, unsigned int) |
| virtual void | set_color (FaceHandle _fh, const Vec4uc &_color)=0 |
| virtual void | set_color (FaceHandle _fh, const Vec3uc &_color)=0 |
| virtual void | set_color (EdgeHandle _eh, const Vec4uc &_color)=0 |
| virtual void | set_color (EdgeHandle _eh, const Vec3uc &_color)=0 |
| virtual void | set_color (VertexHandle _vh, const Vec4uc &_color)=0 |
| virtual void | set_color (VertexHandle _vh, const Vec3uc &_color)=0 |
| virtual void | set_face_texindex (FaceHandle _fh, int _texId)=0 |
| virtual void | set_normal (FaceHandle _fh, const Vec3f &_normal)=0 |
| virtual void | set_normal (VertexHandle _vh, const Vec3f &_normal)=0 |
| virtual void | set_texcoord (HalfedgeHandle _heh, const Vec2f &_texcoord)=0 |
| virtual void | set_texcoord (VertexHandle _vh, const Vec2f &_texcoord)=0 |
| virtual | ~BaseImporter () |
Base class for importer modules. Importer modules provide an interface between the loader modules and the target data structure. This is basically a wrapper providing virtual versions for the required mesh functions.
Definition at line 81 of file BaseImporter.hh.
| typedef std::vector<VertexHandle> OpenMesh::IO::BaseImporter::VHandles |
Reimplemented in OpenMesh::IO::ImporterT< Mesh >.
Definition at line 93 of file BaseImporter.hh.
| virtual OpenMesh::IO::BaseImporter::~BaseImporter | ( | ) | [inline, virtual] |
Definition at line 86 of file BaseImporter.hh.
| virtual FaceHandle OpenMesh::IO::BaseImporter::add_face | ( | const VHandles & | _indices | ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::add_face_texcoords | ( | FaceHandle | _fh, | |
| VertexHandle | _vh, | |||
| const std::vector< Vec2f > & | _face_texcoords | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::add_texture_information | ( | int | _id, | |
| std::string | _name | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual VertexHandle OpenMesh::IO::BaseImporter::add_vertex | ( | const Vec3f & | _point | ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::finish | ( | ) | [inline, virtual] |
Reimplemented in OpenMesh::IO::ImporterT< Mesh >.
Definition at line 156 of file BaseImporter.hh.
| virtual bool OpenMesh::IO::BaseImporter::is_triangle_mesh | ( | ) | const [inline, virtual] |
Reimplemented in OpenMesh::IO::ImporterT< Mesh >.
Definition at line 139 of file BaseImporter.hh.
| virtual BaseKernel* OpenMesh::IO::BaseImporter::kernel | ( | ) | [inline, virtual] |
Reimplemented in OpenMesh::IO::ImporterT< Mesh >.
Definition at line 137 of file BaseImporter.hh.
| virtual size_t OpenMesh::IO::BaseImporter::n_edges | ( | ) | const [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual size_t OpenMesh::IO::BaseImporter::n_faces | ( | ) | const [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual size_t OpenMesh::IO::BaseImporter::n_vertices | ( | ) | const [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::prepare | ( | ) | [inline, virtual] |
Reimplemented in OpenMesh::IO::ImporterT< Mesh >.
Definition at line 153 of file BaseImporter.hh.
| virtual void OpenMesh::IO::BaseImporter::reserve | ( | unsigned int | , | |
| unsigned int | , | |||
| unsigned int | ||||
| ) | [inline, virtual] |
Reimplemented in OpenMesh::IO::ImporterT< Mesh >.
Definition at line 142 of file BaseImporter.hh.
| virtual void OpenMesh::IO::BaseImporter::set_color | ( | FaceHandle | _fh, | |
| const Vec4uc & | _color | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >, and OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_color | ( | FaceHandle | _fh, | |
| const Vec3uc & | _color | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >, and OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_color | ( | EdgeHandle | _eh, | |
| const Vec4uc & | _color | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >, and OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_color | ( | EdgeHandle | _eh, | |
| const Vec3uc & | _color | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >, and OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_color | ( | VertexHandle | _vh, | |
| const Vec4uc & | _color | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >, and OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_color | ( | VertexHandle | _vh, | |
| const Vec3uc & | _color | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >, and OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_face_texindex | ( | FaceHandle | _fh, | |
| int | _texId | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_normal | ( | FaceHandle | _fh, | |
| const Vec3f & | _normal | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_normal | ( | VertexHandle | _vh, | |
| const Vec3f & | _normal | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_texcoord | ( | HalfedgeHandle | _heh, | |
| const Vec2f & | _texcoord | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.
| virtual void OpenMesh::IO::BaseImporter::set_texcoord | ( | VertexHandle | _vh, | |
| const Vec2f & | _texcoord | |||
| ) | [pure virtual] |
Implemented in OpenMesh::IO::ImporterT< Mesh >.