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> 112 std::vector<VertexHandle>& _vhandles)
const=0;
122 get_face_texcoords(std::vector<Vec2f>& _hehandles)
const = 0;
140 virtual const BaseKernel* kernel() {
return 0; }
144 virtual size_t n_vertices()
const = 0;
145 virtual size_t n_faces()
const = 0;
146 virtual size_t n_edges()
const = 0;
150 virtual bool is_triangle_mesh()
const {
return false; }
151 virtual bool has_vertex_normals()
const {
return false; }
152 virtual bool has_vertex_colors()
const {
return false; }
153 virtual bool has_vertex_texcoords()
const {
return false; }
154 virtual bool has_edge_colors()
const {
return false; }
155 virtual bool has_face_normals()
const {
return false; }
156 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
Handle for a halfedge entity.
Definition: Handles.hh:132
This class provides low-level property management like adding/removing properties and access to prope...
Definition: BaseKernel.hh:102
Handle for a face entity.
Definition: Handles.hh:146
Base class for exporter modules.
Definition: BaseExporter.hh:89
Handle for a vertex entity.
Definition: Handles.hh:125
Handle for a edge entity.
Definition: Handles.hh:139