OpenMesh
Loading...
Searching...
No Matches
OpenMesh::IO::ExporterT< Mesh > Class Template Reference

This class template provides an exporter module for OpenMesh meshes. More...

#include <OpenMesh/Core/IO/exporter/ExporterT.hh>

Inheritance diagram for OpenMesh::IO::ExporterT< Mesh >:
Collaboration diagram for OpenMesh::IO::ExporterT< Mesh >:

Public Member Functions

 ExporterT (const Mesh &_mesh)
 
Vec3f point (VertexHandle _vh) const
 
Vec3f normal (VertexHandle _vh) const
 
Vec3uc color (VertexHandle _vh) const
 
Vec4uc colorA (VertexHandle _vh) const
 
Vec3ui colori (VertexHandle _vh) const
 
Vec4ui colorAi (VertexHandle _vh) const
 
Vec3f colorf (VertexHandle _vh) const
 
Vec4f colorAf (VertexHandle _vh) const
 
Vec2f texcoord (VertexHandle _vh) const
 
Vec3uc color (EdgeHandle _eh) const
 
Vec4uc colorA (EdgeHandle _eh) const
 
Vec3ui colori (EdgeHandle _eh) const
 
Vec4ui colorAi (EdgeHandle _eh) const
 
Vec3f colorf (EdgeHandle _eh) const
 
Vec4f colorAf (EdgeHandle _eh) const
 
unsigned int get_vhandles (FaceHandle _fh, std::vector< VertexHandle > &_vhandles) const
 
Vec3f normal (FaceHandle _fh) const
 
Vec3uc color (FaceHandle _fh) const
 
Vec4uc colorA (FaceHandle _fh) const
 
Vec3ui colori (FaceHandle _fh) const
 
Vec4ui colorAi (FaceHandle _fh) const
 
Vec3f colorf (FaceHandle _fh) const
 
Vec4f colorAf (FaceHandle _fh) const
 
virtual const BaseKernelkernel ()
 
size_t n_vertices () const
 
size_t n_faces () const
 
size_t n_edges () const
 
bool is_triangle_mesh () const
 
bool has_vertex_normals () const
 
bool has_vertex_colors () const
 
bool has_vertex_texcoords () const
 
bool has_edge_colors () const
 
bool has_face_normals () const
 
bool has_face_colors () const
 

Detailed Description

template<class Mesh>
class OpenMesh::IO::ExporterT< Mesh >

This class template provides an exporter module for OpenMesh meshes.

Member Function Documentation

◆ color() [1/3]

template<class Mesh >
Vec3uc OpenMesh::IO::ExporterT< Mesh >::color ( EdgeHandle _eh) const
inlinevirtual

◆ color() [2/3]

template<class Mesh >
Vec3uc OpenMesh::IO::ExporterT< Mesh >::color ( FaceHandle _fh) const
inlinevirtual

◆ color() [3/3]

template<class Mesh >
Vec3uc OpenMesh::IO::ExporterT< Mesh >::color ( VertexHandle _vh) const
inlinevirtual

◆ colorA() [1/3]

template<class Mesh >
Vec4uc OpenMesh::IO::ExporterT< Mesh >::colorA ( EdgeHandle _eh) const
inlinevirtual

◆ colorA() [2/3]

template<class Mesh >
Vec4uc OpenMesh::IO::ExporterT< Mesh >::colorA ( FaceHandle _fh) const
inlinevirtual

◆ colorA() [3/3]

template<class Mesh >
Vec4uc OpenMesh::IO::ExporterT< Mesh >::colorA ( VertexHandle _vh) const
inlinevirtual

◆ colorAf() [1/3]

template<class Mesh >
Vec4f OpenMesh::IO::ExporterT< Mesh >::colorAf ( EdgeHandle _eh) const
inlinevirtual

◆ colorAf() [2/3]

template<class Mesh >
Vec4f OpenMesh::IO::ExporterT< Mesh >::colorAf ( FaceHandle _fh) const
inlinevirtual

◆ colorAf() [3/3]

template<class Mesh >
Vec4f OpenMesh::IO::ExporterT< Mesh >::colorAf ( VertexHandle _vh) const
inlinevirtual

◆ colorAi() [1/3]

template<class Mesh >
Vec4ui OpenMesh::IO::ExporterT< Mesh >::colorAi ( EdgeHandle _eh) const
inlinevirtual

◆ colorAi() [2/3]

template<class Mesh >
Vec4ui OpenMesh::IO::ExporterT< Mesh >::colorAi ( FaceHandle _fh) const
inlinevirtual

◆ colorAi() [3/3]

template<class Mesh >
Vec4ui OpenMesh::IO::ExporterT< Mesh >::colorAi ( VertexHandle _vh) const
inlinevirtual

◆ colorf() [1/3]

template<class Mesh >
Vec3f OpenMesh::IO::ExporterT< Mesh >::colorf ( EdgeHandle _eh) const
inlinevirtual

◆ colorf() [2/3]

template<class Mesh >
Vec3f OpenMesh::IO::ExporterT< Mesh >::colorf ( FaceHandle _fh) const
inlinevirtual

◆ colorf() [3/3]

template<class Mesh >
Vec3f OpenMesh::IO::ExporterT< Mesh >::colorf ( VertexHandle _vh) const
inlinevirtual

◆ colori() [1/3]

template<class Mesh >
Vec3ui OpenMesh::IO::ExporterT< Mesh >::colori ( EdgeHandle _eh) const
inlinevirtual

◆ colori() [2/3]

template<class Mesh >
Vec3ui OpenMesh::IO::ExporterT< Mesh >::colori ( FaceHandle _fh) const
inlinevirtual

◆ colori() [3/3]

template<class Mesh >
Vec3ui OpenMesh::IO::ExporterT< Mesh >::colori ( VertexHandle _vh) const
inlinevirtual

◆ get_vhandles()

template<class Mesh >
unsigned int OpenMesh::IO::ExporterT< Mesh >::get_vhandles ( FaceHandle _fh,
std::vector< VertexHandle > & _vhandles ) const
inlinevirtual

◆ has_edge_colors()

template<class Mesh >
bool OpenMesh::IO::ExporterT< Mesh >::has_edge_colors ( ) const
inlinevirtual

Reimplemented from OpenMesh::IO::BaseExporter.

◆ has_face_colors()

template<class Mesh >
bool OpenMesh::IO::ExporterT< Mesh >::has_face_colors ( ) const
inlinevirtual

Reimplemented from OpenMesh::IO::BaseExporter.

◆ has_face_normals()

template<class Mesh >
bool OpenMesh::IO::ExporterT< Mesh >::has_face_normals ( ) const
inlinevirtual

Reimplemented from OpenMesh::IO::BaseExporter.

◆ has_vertex_colors()

template<class Mesh >
bool OpenMesh::IO::ExporterT< Mesh >::has_vertex_colors ( ) const
inlinevirtual

Reimplemented from OpenMesh::IO::BaseExporter.

◆ has_vertex_normals()

template<class Mesh >
bool OpenMesh::IO::ExporterT< Mesh >::has_vertex_normals ( ) const
inlinevirtual

Reimplemented from OpenMesh::IO::BaseExporter.

◆ has_vertex_texcoords()

template<class Mesh >
bool OpenMesh::IO::ExporterT< Mesh >::has_vertex_texcoords ( ) const
inlinevirtual

Reimplemented from OpenMesh::IO::BaseExporter.

◆ is_triangle_mesh()

template<class Mesh >
bool OpenMesh::IO::ExporterT< Mesh >::is_triangle_mesh ( ) const
inlinevirtual

Reimplemented from OpenMesh::IO::BaseExporter.

◆ kernel()

template<class Mesh >
virtual const BaseKernel * OpenMesh::IO::ExporterT< Mesh >::kernel ( )
inlinevirtual

Reimplemented from OpenMesh::IO::BaseExporter.

◆ n_edges()

template<class Mesh >
size_t OpenMesh::IO::ExporterT< Mesh >::n_edges ( ) const
inlinevirtual

◆ n_faces()

template<class Mesh >
size_t OpenMesh::IO::ExporterT< Mesh >::n_faces ( ) const
inlinevirtual

◆ n_vertices()

template<class Mesh >
size_t OpenMesh::IO::ExporterT< Mesh >::n_vertices ( ) const
inlinevirtual

◆ normal() [1/2]

template<class Mesh >
Vec3f OpenMesh::IO::ExporterT< Mesh >::normal ( FaceHandle _fh) const
inlinevirtual

◆ normal() [2/2]

template<class Mesh >
Vec3f OpenMesh::IO::ExporterT< Mesh >::normal ( VertexHandle _vh) const
inlinevirtual

◆ point()

template<class Mesh >
Vec3f OpenMesh::IO::ExporterT< Mesh >::point ( VertexHandle _vh) const
inlinevirtual

◆ texcoord()

template<class Mesh >
Vec2f OpenMesh::IO::ExporterT< Mesh >::texcoord ( VertexHandle _vh) const
inlinevirtual

The documentation for this class was generated from the following file:

Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .