minor modification
This commit is contained in:
parent
a743e93a70
commit
c74af00fdf
|
@ -5,8 +5,13 @@
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include "mesh_to_matrix.h"
|
#include "mesh_to_matrix.h"
|
||||||
|
#include <Eigen/Core>
|
||||||
#include <Eigen/Dense>
|
#include <Eigen/Dense>
|
||||||
#include "NRosyField.h"
|
#include <Eigen/Sparse>
|
||||||
|
#include <vcg/complex/algorithms/update/color.h>
|
||||||
|
#include <vcg/complex/algorithms/update/curvature_fitting.h>
|
||||||
|
|
||||||
|
//#include "NRosyField.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
#define Delta 10e-6
|
#define Delta 10e-6
|
||||||
|
@ -831,7 +836,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
template <class MeshType>
|
template <class MeshType>
|
||||||
class FieldSmoother0
|
class FieldSmoother
|
||||||
{
|
{
|
||||||
typedef typename MeshType::FaceType FaceType;
|
typedef typename MeshType::FaceType FaceType;
|
||||||
typedef typename MeshType::VertexType VertexType;
|
typedef typename MeshType::VertexType VertexType;
|
||||||
|
@ -952,7 +957,6 @@ public:
|
||||||
|
|
||||||
static void InitByCurvature(MeshType & mesh)
|
static void InitByCurvature(MeshType & mesh)
|
||||||
{
|
{
|
||||||
|
|
||||||
vcg::tri::UpdateCurvatureFitting<MeshType>::computeCurvature(mesh);
|
vcg::tri::UpdateCurvatureFitting<MeshType>::computeCurvature(mesh);
|
||||||
vcg::tri::CrossField<MeshType>::SetFaceCrossVectorFromVert(mesh);
|
vcg::tri::CrossField<MeshType>::SetFaceCrossVectorFromVert(mesh);
|
||||||
InitQualityByAnisotropyDir(mesh);
|
InitQualityByAnisotropyDir(mesh);
|
||||||
|
|
Loading…
Reference in New Issue