|
@@ -202,12 +202,12 @@ namespace igl {
|
|
|
const Eigen::PlainObjectBase<DerivedF> &F;
|
|
|
const Eigen::PlainObjectBase<DerivedF> &TT;
|
|
|
const Eigen::PlainObjectBase<DerivedF> &TTi;
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &PD1;
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &PD2;
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &PD1;
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &PD2;
|
|
|
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &Handle_MMatch;
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_Singular; // bool
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_SingularDegree; // vertex;
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_Singular; // bool
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_SingularDegree; // vertex;
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &Handle_Seams; // 3 bool
|
|
|
|
|
|
|
|
@@ -232,11 +232,11 @@ namespace igl {
|
|
|
const Eigen::PlainObjectBase<DerivedF> &_F,
|
|
|
const Eigen::PlainObjectBase<DerivedF> &_TT,
|
|
|
const Eigen::PlainObjectBase<DerivedF> &_TTi,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &_PD1,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &_PD2,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &_PD1,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &_PD2,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &_Handle_MMatch,
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &_Handle_Singular,
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &_Handle_SingularDegree,
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &_Handle_Singular,
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &_Handle_SingularDegree,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &_Handle_Seams
|
|
|
);
|
|
|
|
|
@@ -543,11 +543,11 @@ namespace igl {
|
|
|
const Eigen::PlainObjectBase<DerivedF> &F_,
|
|
|
const Eigen::PlainObjectBase<DerivedV> &PD1_combed,
|
|
|
const Eigen::PlainObjectBase<DerivedV> &PD2_combed,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &BIS1_combed,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &BIS2_combed,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &BIS1_combed,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &BIS2_combed,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &Handle_MMatch,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_Singular,
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_SingularDegree,
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_SingularDegree,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &Handle_Seams,
|
|
|
Eigen::PlainObjectBase<DerivedU> &UV,
|
|
|
Eigen::PlainObjectBase<DerivedF> &FUV,
|
|
@@ -613,11 +613,11 @@ IGL_INLINE igl::VertexIndexing<DerivedV, DerivedF>::VertexIndexing(const Eigen::
|
|
|
const Eigen::PlainObjectBase<DerivedF> &_F,
|
|
|
const Eigen::PlainObjectBase<DerivedF> &_TT,
|
|
|
const Eigen::PlainObjectBase<DerivedF> &_TTi,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &_PD1,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &_PD2,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &_PD1,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &_PD2,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &_Handle_MMatch,
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &_Handle_Singular,
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &_Handle_SingularDegree,
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &_Handle_Singular,
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &_Handle_SingularDegree,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &_Handle_Seams
|
|
|
|
|
|
):
|
|
@@ -625,11 +625,11 @@ V(_V),
|
|
|
F(_F),
|
|
|
TT(_TT),
|
|
|
TTi(_TTi),
|
|
|
-PD1(_PD1),
|
|
|
-PD2(_PD2),
|
|
|
+// PD1(_PD1),
|
|
|
+// PD2(_PD2),
|
|
|
Handle_MMatch(_Handle_MMatch),
|
|
|
-Handle_Singular(_Handle_Singular),
|
|
|
-Handle_SingularDegree(_Handle_SingularDegree),
|
|
|
+// Handle_Singular(_Handle_Singular),
|
|
|
+// Handle_SingularDegree(_Handle_SingularDegree),
|
|
|
Handle_Seams(_Handle_Seams)
|
|
|
{
|
|
|
|
|
@@ -747,9 +747,9 @@ IGL_INLINE void igl::VertexIndexing<DerivedV, DerivedF>::FindInitialPos(const in
|
|
|
if (!vertexB)
|
|
|
//seam=curr_f->IsSeam(next_f);
|
|
|
seam=IsSeam(curr_f,next_f);
|
|
|
- if (vertexB)
|
|
|
- assert(!Handle_Singular(vert));
|
|
|
- ;
|
|
|
+ // if (vertexB)
|
|
|
+ // assert(!Handle_Singular(vert));
|
|
|
+ // ;
|
|
|
//assert(!vert->IsSingular());
|
|
|
possible_split=((on_border)||(seam));
|
|
|
complete_turn = next_f == f_init;
|
|
@@ -1831,11 +1831,11 @@ IGL_INLINE igl::MIQ_class<DerivedV, DerivedF, DerivedU>::MIQ_class(const Eigen::
|
|
|
const Eigen::PlainObjectBase<DerivedF> &F_,
|
|
|
const Eigen::PlainObjectBase<DerivedV> &PD1_combed,
|
|
|
const Eigen::PlainObjectBase<DerivedV> &PD2_combed,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &BIS1_combed,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &BIS2_combed,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &BIS1_combed,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &BIS2_combed,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &Handle_MMatch,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_Singular,
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_SingularDegree,
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_SingularDegree,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &Handle_Seams,
|
|
|
Eigen::PlainObjectBase<DerivedU> &UV,
|
|
|
Eigen::PlainObjectBase<DerivedF> &FUV,
|
|
@@ -1854,7 +1854,7 @@ F(F_)
|
|
|
igl::triangle_triangle_adjacency(V,F,TT,TTi);
|
|
|
|
|
|
// Prepare indexing for the linear system
|
|
|
- VertexIndexing<DerivedV, DerivedF> VInd(V, F, TT, TTi, BIS1_combed, BIS2_combed, Handle_MMatch, Handle_Singular, Handle_SingularDegree, Handle_Seams);
|
|
|
+ VertexIndexing<DerivedV, DerivedF> VInd(V, F, TT, TTi, /*BIS1_combed, BIS2_combed,*/ Handle_MMatch, /*Handle_Singular, Handle_SingularDegree,*/ Handle_Seams);
|
|
|
|
|
|
VInd.InitMapping();
|
|
|
VInd.InitFaceIntegerVal();
|
|
@@ -1862,8 +1862,8 @@ F(F_)
|
|
|
|
|
|
Eigen::PlainObjectBase<DerivedV> PD1_combed_for_poisson, PD2_combed_for_poisson;
|
|
|
// Rotate by 90 degrees CCW
|
|
|
- PD1_combed_for_poisson.setZero(BIS1_combed.rows(),3);
|
|
|
- PD2_combed_for_poisson.setZero(BIS2_combed.rows(),3);
|
|
|
+ PD1_combed_for_poisson.setZero(PD1_combed.rows(),3);
|
|
|
+ PD2_combed_for_poisson.setZero(PD2_combed.rows(),3);
|
|
|
for (unsigned i=0; i<PD1_combed.rows();++i)
|
|
|
{
|
|
|
double n1 = PD1_combed.row(i).norm();
|
|
@@ -1892,7 +1892,7 @@ F(F_)
|
|
|
PD1_combed_for_poisson,
|
|
|
PD2_combed_for_poisson,
|
|
|
VInd.HandleS_Index,
|
|
|
- VInd.Handle_Singular,
|
|
|
+ /*VInd.Handle_Singular*/Handle_Singular,
|
|
|
VInd.Handle_SystemInfo);
|
|
|
Handle_Stiffness = Eigen::VectorXd::Constant(F.rows(),1);
|
|
|
|
|
@@ -2170,11 +2170,11 @@ IGL_INLINE void igl::miq(const Eigen::PlainObjectBase<DerivedV> &V,
|
|
|
const Eigen::PlainObjectBase<DerivedF> &F,
|
|
|
const Eigen::PlainObjectBase<DerivedV> &PD1_combed,
|
|
|
const Eigen::PlainObjectBase<DerivedV> &PD2_combed,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &BIS1_combed,
|
|
|
- const Eigen::PlainObjectBase<DerivedV> &BIS2_combed,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &BIS1_combed,
|
|
|
+ // const Eigen::PlainObjectBase<DerivedV> &BIS2_combed,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &Handle_MMatch,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_Singular,
|
|
|
- const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_SingularDegree,
|
|
|
+ // const Eigen::Matrix<int, Eigen::Dynamic, 1> &Handle_SingularDegree,
|
|
|
const Eigen::Matrix<int, Eigen::Dynamic, 3> &Handle_Seams,
|
|
|
Eigen::PlainObjectBase<DerivedU> &UV,
|
|
|
Eigen::PlainObjectBase<DerivedF> &FUV,
|
|
@@ -2193,11 +2193,11 @@ IGL_INLINE void igl::miq(const Eigen::PlainObjectBase<DerivedV> &V,
|
|
|
F,
|
|
|
PD1_combed,
|
|
|
PD2_combed,
|
|
|
- BIS1_combed,
|
|
|
- BIS2_combed,
|
|
|
+ // BIS1_combed,
|
|
|
+ // BIS2_combed,
|
|
|
Handle_MMatch,
|
|
|
Handle_Singular,
|
|
|
- Handle_SingularDegree,
|
|
|
+ // Handle_SingularDegree,
|
|
|
Handle_Seams,
|
|
|
UV,
|
|
|
FUV,
|
|
@@ -2259,11 +2259,11 @@ IGL_INLINE void igl::miq(const Eigen::PlainObjectBase<DerivedV> &V,
|
|
|
F,
|
|
|
PD1_combed,
|
|
|
PD2_combed,
|
|
|
- BIS1_combed,
|
|
|
- BIS2_combed,
|
|
|
+ // BIS1_combed,
|
|
|
+ // BIS2_combed,
|
|
|
Handle_MMatch,
|
|
|
isSingularity,
|
|
|
- singularityIndex,
|
|
|
+ // singularityIndex,
|
|
|
Handle_Seams,
|
|
|
UV,
|
|
|
FUV,
|
|
@@ -2280,5 +2280,7 @@ IGL_INLINE void igl::miq(const Eigen::PlainObjectBase<DerivedV> &V,
|
|
|
|
|
|
#ifdef IGL_STATIC_LIBRARY
|
|
|
// Explicit template specialization
|
|
|
-template void igl::miq<Eigen::Matrix<double, -1, 3, 0, -1, 3>, Eigen::Matrix<int, -1, 3, 0, -1, 3>, Eigen::Matrix<double, -1, 2, 0, -1, 2> >(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 2, 0, -1, 2> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> >&, double, double, bool, int, int, bool, std::__1::vector<int, std::__1::allocator<int> >, std::__1::vector<std::__1::vector<int, std::__1::allocator<int> >, std::__1::allocator<std::__1::vector<int, std::__1::allocator<int> > > >);
|
|
|
+// template void igl::miq<Eigen::Matrix<double, -1, 3, 0, -1, 3>, Eigen::Matrix<int, -1, 3, 0, -1, 3>, Eigen::Matrix<double, -1, 2, 0, -1, 2> >(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 2, 0, -1, 2> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> >&, double, double, bool, int, int, bool, std::__1::vector<int, std::__1::allocator<int> >, std::__1::vector<std::__1::vector<int, std::__1::allocator<int> >, std::__1::allocator<std::__1::vector<int, std::__1::allocator<int> > > >);
|
|
|
+// template void igl::miq<Eigen::Matrix<double, -1, 3, 0, -1, 3>, Eigen::Matrix<int, -1, 3, 0, -1, 3>, Eigen::Matrix<double, -1, 2, 0, -1, 2> >(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::Matrix<int, -1, 3, 0, -1, 3> const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 2, 0, -1, 2> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> >&, double, double, bool, int, int, bool, std::__1::vector<int, std::__1::allocator<int> >, std::__1::vector<std::__1::vector<int, std::__1::allocator<int> >, std::__1::allocator<std::__1::vector<int, std::__1::allocator<int> > > >);
|
|
|
+template void igl::miq<Eigen::Matrix<double, -1, 3, 0, -1, 3>, Eigen::Matrix<int, -1, 3, 0, -1, 3>, Eigen::Matrix<double, -1, 2, 0, -1, 2> >(Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 3, 0, -1, 3> > const&, Eigen::Matrix<int, -1, 3, 0, -1, 3> const&, Eigen::Matrix<int, -1, 1, 0, -1, 1> const&, Eigen::Matrix<int, -1, 3, 0, -1, 3> const&, Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 2, 0, -1, 2> >&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 3, 0, -1, 3> >&, double, double, bool, int, int, bool, std::__1::vector<int, std::__1::allocator<int> >, std::__1::vector<std::__1::vector<int, std::__1::allocator<int> >, std::__1::allocator<std::__1::vector<int, std::__1::allocator<int> > > >);
|
|
|
#endif
|