|
OMToolkit
1.0
The polygonal mesh processing tool.
|
#include <OMDirectionsGeo.h>
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 |
Class which visualises vectors associed with vertices or faces
| Mesh | Class of OpenMesh mesh to work with |
| Vector | Vector type of visualised vector |
|
protected |
Mesh vector scalar type
|
protected |
Mesh vector type
| 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
| mesh | Mesh to work with |
| handle | Handle to vector vertex property |
| norm | Lenght of showed distances |
| defaultColor | Default color of visualised normal |
| 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
| mesh | Mesh to work with |
| handle | Handle to vector vertex property |
| norm | Lenght of showed distances |
| defaultColor | Default color of visualised normal |
1.8.3.1