OMToolkit  1.0
The polygonal mesh processing tool.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Types | List of all members
osg::OMDirectionsGeometry< Mesh, Vector > Class Template Reference

#include <OMDirectionsGeo.h>

Inheritance diagram for osg::OMDirectionsGeometry< Mesh, Vector >:

Public Member Functions

 OMDirectionsGeometry (Mesh &mesh, OpenMesh::VPropHandleT< Vector > handle, ScalarT norm=1.0, Vec4f defaultColor=Vec4f(1.0, 1.0, 1.0, 1.0))
 
 OMDirectionsGeometry (Mesh &mesh, OpenMesh::FPropHandleT< Vector > handle, ScalarT norm=1.0, Vec4f defaultColor=Vec4f(1.0, 1.0, 1.0, 1.0))
 

Protected Types

typedef Mesh::Normal VectorT
 
typedef VectorT::value_type ScalarT
 

Detailed Description

template<class Mesh, class Vector>
class osg::OMDirectionsGeometry< Mesh, Vector >

Class which visualises vectors associed with vertices or faces

Template Parameters
MeshClass of OpenMesh mesh to work with
VectorVector type of visualised vector

Member Typedef Documentation

template<class Mesh , class Vector >
typedef VectorT::value_type osg::OMDirectionsGeometry< Mesh, Vector >::ScalarT
protected

Mesh vector scalar type

template<class Mesh , class Vector >
typedef Mesh::Normal osg::OMDirectionsGeometry< Mesh, Vector >::VectorT
protected

Mesh vector type

Constructor & Destructor Documentation

template<class Mesh , class Vector >
osg::OMDirectionsGeometry< Mesh, Vector >::OMDirectionsGeometry ( Mesh &  mesh,
OpenMesh::VPropHandleT< Vector >  handle,
ScalarT  norm = 1.0,
Vec4f  defaultColor = Vec4f(1.0, 1.0, 1.0, 1.0) 
)

Constructor Creates an instance of this class by drawing vectors specified by handle from each vertex

Parameters
meshMesh to work with
handleHandle to vector vertex property
normLenght of showed distances
defaultColorDefault color of visualised normal
template<class Mesh , class Vector >
osg::OMDirectionsGeometry< Mesh, Vector >::OMDirectionsGeometry ( Mesh &  mesh,
OpenMesh::FPropHandleT< Vector >  handle,
ScalarT  norm = 1.0,
Vec4f  defaultColor = Vec4f(1.0, 1.0, 1.0, 1.0) 
)

Constructor Creates an instance of this class by drawing vectors specified by handle from each face

Parameters
meshMesh to work with
handleHandle to vector vertex property
normLenght of showed distances
defaultColorDefault color of visualised normal

The documentation for this class was generated from the following file: