#include <ImporterT.hh>

Public Types | |
| typedef Mesh::Color | Color |
| typedef Mesh::Normal | Normal |
| typedef Mesh::Point | Point |
| typedef Mesh::TexCoord2D | TexCoord2D |
| typedef std::vector< VertexHandle > | VHandles |
Public Member Functions | |
| virtual FaceHandle | add_face (const VHandles &_indices) |
| virtual void | add_face_texcoords (FaceHandle _fh, VertexHandle _vh, const std::vector< Vec2f > &_face_texcoords) |
| virtual void | add_texture_information (int _id, std::string _name) |
| virtual VertexHandle | add_vertex (const Vec3f &_point) |
| void | finish () |
| ImporterT (Mesh &_mesh) | |
| bool | is_triangle_mesh () const |
| virtual BaseKernel * | kernel () |
| size_t | n_edges () const |
| size_t | n_faces () const |
| size_t | n_vertices () const |
| void | prepare () |
| void | reserve (unsigned int nV, unsigned int nE, unsigned int nF) |
| virtual void | set_color (FaceHandle _fh, const Vec4uc &_color) |
| virtual void | set_color (FaceHandle _fh, const Vec3uc &_color) |
| virtual void | set_color (EdgeHandle _eh, const Vec3uc &_color) |
| virtual void | set_color (EdgeHandle _eh, const Vec4uc &_color) |
| virtual void | set_color (VertexHandle _vh, const Vec3uc &_color) |
| virtual void | set_color (VertexHandle _vh, const Vec4uc &_color) |
| virtual void | set_face_texindex (FaceHandle _fh, int _texId) |
| virtual void | set_normal (FaceHandle _fh, const Vec3f &_normal) |
| virtual void | set_normal (VertexHandle _vh, const Vec3f &_normal) |
| virtual void | set_texcoord (HalfedgeHandle _heh, const Vec2f &_texcoord) |
| virtual void | set_texcoord (VertexHandle _vh, const Vec2f &_texcoord) |
Private Attributes | |
| std::vector< VHandles > | failed_faces_ |
| Mesh & | mesh_ |
This class template provides an importer module for OpenMesh meshes.
Definition at line 71 of file ImporterT.hh.
| typedef Mesh::Color OpenMesh::IO::ImporterT< Mesh >::Color |
Definition at line 66 of file ImporterT.hh.
| typedef Mesh::Normal OpenMesh::IO::ImporterT< Mesh >::Normal |
Definition at line 65 of file ImporterT.hh.
| typedef Mesh::Point OpenMesh::IO::ImporterT< Mesh >::Point |
Definition at line 64 of file ImporterT.hh.
| typedef Mesh::TexCoord2D OpenMesh::IO::ImporterT< Mesh >::TexCoord2D |
Definition at line 67 of file ImporterT.hh.
| typedef std::vector<VertexHandle> OpenMesh::IO::ImporterT< Mesh >::VHandles |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 68 of file ImporterT.hh.
| OpenMesh::IO::ImporterT< Mesh >::ImporterT | ( | Mesh & | _mesh | ) | [inline] |
Definition at line 71 of file ImporterT.hh.
| virtual FaceHandle OpenMesh::IO::ImporterT< Mesh >::add_face | ( | const VHandles & | _indices | ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 80 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::add_face_texcoords | ( | FaceHandle | _fh, | |
| VertexHandle | _vh, | |||
| const std::vector< Vec2f > & | _face_texcoords | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 188 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::add_texture_information | ( | int | _id, | |
| std::string | _name | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 211 of file ImporterT.hh.
| virtual VertexHandle OpenMesh::IO::ImporterT< Mesh >::add_vertex | ( | const Vec3f & | _point | ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 74 of file ImporterT.hh.
| void OpenMesh::IO::ImporterT< Mesh >::finish | ( | ) | [inline, virtual] |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 243 of file ImporterT.hh.
| bool OpenMesh::IO::ImporterT< Mesh >::is_triangle_mesh | ( | ) | const [inline, virtual] |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 226 of file ImporterT.hh.
| virtual BaseKernel* OpenMesh::IO::ImporterT< Mesh >::kernel | ( | ) | [inline, virtual] |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 224 of file ImporterT.hh.
| size_t OpenMesh::IO::ImporterT< Mesh >::n_edges | ( | ) | const [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 237 of file ImporterT.hh.
| size_t OpenMesh::IO::ImporterT< Mesh >::n_faces | ( | ) | const [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 236 of file ImporterT.hh.
| size_t OpenMesh::IO::ImporterT< Mesh >::n_vertices | ( | ) | const [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 235 of file ImporterT.hh.
| void OpenMesh::IO::ImporterT< Mesh >::prepare | ( | ) | [inline, virtual] |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 240 of file ImporterT.hh.
| void OpenMesh::IO::ImporterT< Mesh >::reserve | ( | unsigned int | nV, | |
| unsigned int | nE, | |||
| unsigned int | nF | |||
| ) | [inline, virtual] |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 229 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_color | ( | FaceHandle | _fh, | |
| const Vec4uc & | _color | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 182 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_color | ( | FaceHandle | _fh, | |
| const Vec3uc & | _color | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 176 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_color | ( | EdgeHandle | _eh, | |
| const Vec3uc & | _color | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 162 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_color | ( | EdgeHandle | _eh, | |
| const Vec4uc & | _color | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 156 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_color | ( | VertexHandle | _vh, | |
| const Vec3uc & | _color | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 135 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_color | ( | VertexHandle | _vh, | |
| const Vec4uc & | _color | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 129 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_face_texindex | ( | FaceHandle | _fh, | |
| int | _texId | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 205 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_normal | ( | FaceHandle | _fh, | |
| const Vec3f & | _normal | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 170 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_normal | ( | VertexHandle | _vh, | |
| const Vec3f & | _normal | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 123 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_texcoord | ( | HalfedgeHandle | _heh, | |
| const Vec2f & | _texcoord | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 148 of file ImporterT.hh.
| virtual void OpenMesh::IO::ImporterT< Mesh >::set_texcoord | ( | VertexHandle | _vh, | |
| const Vec2f & | _texcoord | |||
| ) | [inline, virtual] |
Implements OpenMesh::IO::BaseImporter.
Definition at line 142 of file ImporterT.hh.
std::vector<VHandles> OpenMesh::IO::ImporterT< Mesh >::failed_faces_ [private] |
Definition at line 293 of file ImporterT.hh.
Mesh& OpenMesh::IO::ImporterT< Mesh >::mesh_ [private] |
Definition at line 292 of file ImporterT.hh.