OMToolkit  1.0
The polygonal mesh processing tool.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
OMMatrixDescriptors.h
Go to the documentation of this file.
1 //==============================================================================
13 #ifndef _COMPUTE_DESCRIPTORS_H_
14 #define _COMPUTE_DESCRIPTORS_H_
15 
16 #include <OMToolkit\OMTypes.h>
17 
18 namespace OMToolkit
19 {
24  {
25  public:
30 
34  typedef MeshT::Scalar ScalarT;
35 
39  typedef MeshT::Normal NormalT;
40 
45 
50 
56 
63  bool ComputePoints(OpenMesh::VPropHandleT<MatrixT> matrixH, OpenMesh::VPropHandleT<AScalarT> curvatureMagH, int finalNum);
64 
77  std::vector<std::vector<float>> ComputeDescriptors(OpenMesh::VPropHandleT<MatrixT> matrixH, OpenMesh::VPropHandleT<AScalarT> curvatureMagH, float matrix_size, int matrix_resolution, float desc_diameter);
78 
79  private:
83  MeshT *m_mesh;
84  };
85 }
86 
87 #endif