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; }
Handle for a vertex entity.
Definition: Handles.hh:125
This class provides low-level property management like adding/removing properties and access to prope...
Definition: BaseKernel.hh:102
Base class for exporter modules.
Definition: BaseExporter.hh:89
Handle for a face entity.
Definition: Handles.hh:146
Handle for a edge entity.
Definition: Handles.hh:139
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64