Developer Documentation
|
#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/IO/importer/ImporterT.hh>
Public Types | |
typedef Mesh::Point | Point |
typedef Mesh::Normal | Normal |
typedef Mesh::Color | Color |
typedef Mesh::TexCoord2D | TexCoord2D |
typedef Mesh::TexCoord3D | TexCoord3D |
typedef std::vector< VertexHandle > | VHandles |
![]() | |
typedef std::vector< VertexHandle > | VHandles |
Public Member Functions | |
ImporterT (Mesh &_mesh) | |
virtual VertexHandle | add_vertex (const Vec3f &_point) override |
virtual VertexHandle | add_vertex (const Vec3d &_point) override |
virtual VertexHandle | add_vertex () override |
virtual HalfedgeHandle | add_edge (VertexHandle _vh0, VertexHandle _vh1) override |
virtual FaceHandle | add_face (const VHandles &_indices) override |
virtual FaceHandle | add_face (HalfedgeHandle _heh) override |
virtual void | set_point (VertexHandle _vh, const Vec3f &_point) override |
virtual void | set_halfedge (VertexHandle _vh, HalfedgeHandle _heh) override |
virtual void | set_normal (VertexHandle _vh, const Vec3f &_normal) override |
virtual void | set_normal (VertexHandle _vh, const Vec3d &_normal) override |
virtual void | set_color (VertexHandle _vh, const Vec4uc &_color) override |
virtual void | set_color (VertexHandle _vh, const Vec3uc &_color) override |
virtual void | set_color (VertexHandle _vh, const Vec4f &_color) override |
virtual void | set_color (VertexHandle _vh, const Vec3f &_color) override |
virtual void | set_texcoord (VertexHandle _vh, const Vec2f &_texcoord) override |
virtual void | set_status (VertexHandle _vh, const OpenMesh::Attributes::StatusInfo &_status) override |
virtual void | set_next (HalfedgeHandle _heh, HalfedgeHandle _next) override |
virtual void | set_face (HalfedgeHandle _heh, FaceHandle _fh) override |
virtual void | request_face_texcoords2D () override |
virtual void | set_texcoord (HalfedgeHandle _heh, const Vec2f &_texcoord) override |
virtual void | set_texcoord (VertexHandle _vh, const Vec3f &_texcoord) override |
virtual void | set_texcoord (HalfedgeHandle _heh, const Vec3f &_texcoord) override |
virtual void | set_status (HalfedgeHandle _heh, const OpenMesh::Attributes::StatusInfo &_status) override |
virtual void | set_color (EdgeHandle _eh, const Vec4uc &_color) override |
virtual void | set_color (EdgeHandle _eh, const Vec3uc &_color) override |
virtual void | set_color (EdgeHandle _eh, const Vec4f &_color) override |
virtual void | set_color (EdgeHandle _eh, const Vec3f &_color) override |
virtual void | set_status (EdgeHandle _eh, const OpenMesh::Attributes::StatusInfo &_status) override |
virtual void | set_normal (FaceHandle _fh, const Vec3f &_normal) override |
virtual void | set_normal (FaceHandle _fh, const Vec3d &_normal) override |
virtual void | set_color (FaceHandle _fh, const Vec3uc &_color) override |
virtual void | set_color (FaceHandle _fh, const Vec4uc &_color) override |
virtual void | set_color (FaceHandle _fh, const Vec3f &_color) override |
virtual void | set_color (FaceHandle _fh, const Vec4f &_color) override |
virtual void | set_status (FaceHandle _fh, const OpenMesh::Attributes::StatusInfo &_status) override |
virtual void | add_face_texcoords (FaceHandle _fh, VertexHandle _vh, const std::vector< Vec2f > &_face_texcoords) override |
virtual void | add_face_texcoords (FaceHandle _fh, VertexHandle _vh, const std::vector< Vec3f > &_face_texcoords) override |
virtual void | set_face_texindex (FaceHandle _fh, int _texId) override |
virtual void | add_texture_information (int _id, std::string _name) override |
virtual BaseKernel * | kernel () override |
bool | is_triangle_mesh () const override |
void | reserve (unsigned int nV, unsigned int nE, unsigned int nF) override |
size_t | n_vertices () const override |
size_t | n_faces () const override |
size_t | n_edges () const override |
void | prepare () override |
void | finish () override |
virtual VertexHandle | add_vertex (const Vec3f &_point)=0 |
virtual VertexHandle | add_vertex (const Vec3d &_point) |
virtual VertexHandle | add_vertex ()=0 |
virtual HalfedgeHandle | add_edge (VertexHandle _vh0, VertexHandle _vh1)=0 |
virtual FaceHandle | add_face (const VHandles &_indices)=0 |
virtual FaceHandle | add_face (HalfedgeHandle _heh)=0 |
virtual void | add_face_texcoords (FaceHandle _fh, VertexHandle _vh, const std::vector< Vec2f > &_face_texcoords)=0 |
virtual void | add_face_texcoords (FaceHandle _fh, VertexHandle _vh, const std::vector< Vec3f > &_face_texcoords)=0 |
virtual void | set_face_texindex (FaceHandle _fh, int _texId)=0 |
virtual void | set_point (VertexHandle _vh, const Vec3f &_point)=0 |
virtual void | set_halfedge (VertexHandle _vh, HalfedgeHandle _heh)=0 |
virtual void | set_normal (VertexHandle _vh, const Vec3f &_normal)=0 |
virtual void | set_normal (VertexHandle _vh, const Vec3d &_normal)=0 |
virtual void | set_color (VertexHandle _vh, const Vec3uc &_color)=0 |
virtual void | set_color (VertexHandle _vh, const Vec4uc &_color)=0 |
virtual void | set_color (VertexHandle _vh, const Vec3f &_color)=0 |
virtual void | set_color (VertexHandle _vh, const Vec4f &_color)=0 |
virtual void | set_texcoord (VertexHandle _vh, const Vec2f &_texcoord)=0 |
virtual void | set_status (VertexHandle _vh, const OpenMesh::Attributes::StatusInfo &_status)=0 |
virtual void | set_next (HalfedgeHandle _heh, HalfedgeHandle _next)=0 |
virtual void | set_face (HalfedgeHandle _heh, FaceHandle _fh)=0 |
virtual void | request_face_texcoords2D ()=0 |
virtual void | set_texcoord (HalfedgeHandle _heh, const Vec2f &_texcoord)=0 |
virtual void | set_texcoord (VertexHandle _vh, const Vec3f &_texcoord)=0 |
virtual void | set_texcoord (HalfedgeHandle _heh, const Vec3f &_texcoord)=0 |
virtual void | set_status (HalfedgeHandle _heh, const OpenMesh::Attributes::StatusInfo &_status)=0 |
virtual void | set_color (EdgeHandle _eh, const Vec3uc &_color)=0 |
virtual void | set_color (EdgeHandle _eh, const Vec4uc &_color)=0 |
virtual void | set_color (EdgeHandle _eh, const Vec3f &_color)=0 |
virtual void | set_color (EdgeHandle _eh, const Vec4f &_color)=0 |
virtual void | set_status (EdgeHandle _eh, const OpenMesh::Attributes::StatusInfo &_status)=0 |
virtual void | set_normal (FaceHandle _fh, const Vec3f &_normal)=0 |
virtual void | set_normal (FaceHandle _fh, const Vec3d &_normal)=0 |
virtual void | set_color (FaceHandle _fh, const Vec3uc &_color)=0 |
virtual void | set_color (FaceHandle _fh, const Vec4uc &_color)=0 |
virtual void | set_color (FaceHandle _fh, const Vec3f &_color)=0 |
virtual void | set_color (FaceHandle _fh, const Vec4f &_color)=0 |
virtual void | set_status (FaceHandle _fh, const OpenMesh::Attributes::StatusInfo &_status)=0 |
virtual void | add_texture_information (int _id, std::string _name)=0 |
virtual BaseKernel * | kernel () |
virtual bool | is_triangle_mesh () const |
virtual void | reserve (unsigned int, unsigned int, unsigned int) |
virtual size_t | n_vertices () const =0 |
virtual size_t | n_faces () const =0 |
virtual size_t | n_edges () const =0 |
virtual void | prepare () |
virtual void | finish () |
Private Attributes | |
Mesh & | mesh_ |
std::map< VertexHandle, Normal > | halfedgeNormals_ |
This class template provides an importer module for OpenMesh meshes.
Definition at line 80 of file ImporterT.hh.
typedef Mesh::Color OpenMesh::IO::ImporterT< Mesh >::Color |
Definition at line 86 of file ImporterT.hh.
typedef Mesh::Normal OpenMesh::IO::ImporterT< Mesh >::Normal |
Definition at line 85 of file ImporterT.hh.
typedef Mesh::Point OpenMesh::IO::ImporterT< Mesh >::Point |
Definition at line 84 of file ImporterT.hh.
typedef Mesh::TexCoord2D OpenMesh::IO::ImporterT< Mesh >::TexCoord2D |
Definition at line 87 of file ImporterT.hh.
typedef Mesh::TexCoord3D OpenMesh::IO::ImporterT< Mesh >::TexCoord3D |
Definition at line 88 of file ImporterT.hh.
typedef std::vector<VertexHandle> OpenMesh::IO::ImporterT< Mesh >::VHandles |
Definition at line 89 of file ImporterT.hh.
|
inlineexplicit |
Definition at line 92 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 110 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 115 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 198 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 395 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 412 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 436 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 105 of file ImporterT.hh.
|
inlineoverridevirtual |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 100 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 95 of file ImporterT.hh.
|
inlineoverridevirtual |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 470 of file ImporterT.hh.
|
inlineoverridevirtual |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 453 of file ImporterT.hh.
|
inlineoverridevirtual |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 451 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 464 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 463 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 462 of file ImporterT.hh.
|
inlineoverridevirtual |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 467 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 286 of file ImporterT.hh.
|
inlineoverridevirtual |
Reimplemented from OpenMesh::IO::BaseImporter.
Definition at line 456 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 337 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 325 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 331 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 319 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 376 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 364 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 382 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 370 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 257 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 245 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 251 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 239 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 281 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 429 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 212 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 276 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 358 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 352 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 228 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 217 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 207 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 343 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 388 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 310 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 269 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 292 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 304 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 263 of file ImporterT.hh.
|
inlineoverridevirtual |
Implements OpenMesh::IO::BaseImporter.
Definition at line 298 of file ImporterT.hh.
|
private |
Definition at line 477 of file ImporterT.hh.
|
private |
Definition at line 475 of file ImporterT.hh.