57#ifndef __BASEEXPORTER_HH__
58#define __BASEEXPORTER_HH__
68#include <OpenMesh/Core/System/config.h>
69#include <OpenMesh/Core/Geometry/VectorT.hh>
70#include <OpenMesh/Core/Mesh/BaseKernel.hh>
111 std::vector<VertexHandle>& _vhandles)
const=0;
129 virtual const BaseKernel* kernel() {
return 0; }
133 virtual size_t n_vertices()
const = 0;
134 virtual size_t n_faces()
const = 0;
135 virtual size_t n_edges()
const = 0;
139 virtual bool is_triangle_mesh()
const {
return false; }
140 virtual bool has_vertex_normals()
const {
return false; }
141 virtual bool has_vertex_colors()
const {
return false; }
142 virtual bool has_vertex_texcoords()
const {
return false; }
143 virtual bool has_edge_colors()
const {
return false; }
144 virtual bool has_face_normals()
const {
return false; }
145 virtual bool has_face_colors()
const {
return false; }
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition MeshItems.hh:64
VectorT< float, 2 > Vec2f
2-float vector
Definition Vector11T.hh:752
VectorT< unsigned int, 4 > Vec4ui
4-int unsigned vector
Definition Vector11T.hh:786
VectorT< unsigned char, 3 > Vec3uc
3-byte unsigned vector
Definition Vector11T.hh:759
VectorT< float, 4 > Vec4f
4-float vector
Definition Vector11T.hh:788
VectorT< unsigned char, 4 > Vec4uc
4-byte unsigned vector
Definition Vector11T.hh:778
VectorT< unsigned int, 3 > Vec3ui
3-int unsigned vector
Definition Vector11T.hh:767
VectorT< float, 3 > Vec3f
3-float vector
Definition Vector11T.hh:769
This namespace contains functions for reading and writing polygonal meshes and a list of supported fi...
Base class for exporter modules.
Definition BaseExporter.hh:90
This class provides low-level property management like adding/removing properties and access to prope...
Definition BaseKernel.hh:103
Handle for a vertex entity.
Definition Handles.hh:126
Handle for a edge entity.
Definition Handles.hh:140
Handle for a face entity.
Definition Handles.hh:147