52#ifndef __BASEEXPORTER_HH__
53#define __BASEEXPORTER_HH__
63#include <OpenMesh/Core/System/config.h>
64#include <OpenMesh/Core/Geometry/VectorT.hh>
65#include <OpenMesh/Core/Mesh/BaseKernel.hh>
94 virtual bool is_point_double()
const = 0;
97 virtual bool is_normal_double()
const = 0;
112 std::vector<VertexHandle>& _vhandles)
const=0;
123 get_face_texcoords(std::vector<Vec2f>& _hehandles)
const = 0;
145 virtual int get_halfedge_id(
FaceHandle _vh) = 0;
152 virtual const BaseKernel* kernel() {
return nullptr; }
156 virtual size_t n_vertices()
const = 0;
157 virtual size_t n_faces()
const = 0;
158 virtual size_t n_edges()
const = 0;
162 virtual bool is_triangle_mesh()
const {
return false; }
163 virtual bool has_vertex_normals()
const {
return false; }
164 virtual bool has_vertex_colors()
const {
return false; }
165 virtual bool has_vertex_status()
const {
return false; }
166 virtual bool has_vertex_texcoords()
const {
return false; }
167 virtual bool has_edge_colors()
const {
return false; }
168 virtual bool has_edge_status()
const {
return false; }
169 virtual bool has_halfedge_status()
const {
return false; }
170 virtual bool has_face_normals()
const {
return false; }
171 virtual bool has_face_colors()
const {
return false; }
172 virtual bool has_face_status()
const {
return false; }
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
Base class for exporter modules.
Definition: BaseExporter.hh:85
virtual HalfedgeHandle getHeh(FaceHandle _fh, VertexHandle _vh) const =0
getHeh returns the HalfEdgeHandle that belongs to the face specified by _fh and has a toVertexHandle ...
This class provides low-level property management like adding/removing properties and access to prope...
Definition: BaseKernel.hh:98
Handle for a vertex entity.
Definition: Handles.hh:121
Handle for a halfedge entity.
Definition: Handles.hh:128
Handle for a edge entity.
Definition: Handles.hh:135
Handle for a face entity.
Definition: Handles.hh:142
Add status information to a base class.
Definition: Status.hh:95