52 #ifndef OPENMESH_LAPLACE_SMOOTHERT_HH
53 #define OPENMESH_LAPLACE_SMOOTHERT_HH
78 typedef typename SmootherT<Mesh>::Continuity Continuity;
79 typedef typename SmootherT<Mesh>::Scalar Scalar;
80 typedef typename SmootherT<Mesh>::VertexHandle VertexHandle;
81 typedef typename SmootherT<Mesh>::EdgeHandle EdgeHandle;
95 Scalar weight(VertexHandle _vh)
const
96 {
return Base::mesh_.property(vertex_weights_, _vh); }
98 Scalar weight(EdgeHandle _eh)
const
99 {
return Base::mesh_.property(edge_weights_, _eh); }
104 enum LaplaceWeighting { UniformWeighting, CotWeighting };
105 void compute_weights(LaplaceWeighting _mode);
117 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_LAPLACE_SMOOTHERT_C)
118 #define OPENMESH_LAPLACE_SMOOTHERT_TEMPLATES
122 #endif // OPENMESH_LAPLACE_SMOOTHERT_HH defined