14 #ifndef _OM_DIRECTIONS_GEO_H_
15 #define _OM_DIRECTIONS_GEO_H_
17 #include <osg/MatrixTransform>
18 #include <osg/Projection>
21 #include <OpenMesh\Core\Utils\Property.hh>
22 #include <osg/Geometry>
31 template <
class Mesh,
class Vector>
43 typedef typename VectorT::value_type
ScalarT;
55 OMDirectionsGeometry(Mesh &mesh, OpenMesh::VPropHandleT<Vector> handle,
ScalarT norm = 1.0, Vec4f defaultColor = Vec4f(1.0, 1.0, 1.0, 1.0));
64 OMDirectionsGeometry(Mesh &mesh, OpenMesh::FPropHandleT<Vector> handle,
ScalarT norm = 1.0, Vec4f defaultColor = Vec4f(1.0, 1.0, 1.0, 1.0));