parent
cd2e6af09e
commit
2da7a93146
|
|
@ -44,35 +44,16 @@ class ExtrinsicPlaneSymmetry
|
||||||
typedef typename TriMeshType::CoordType CoordType;
|
typedef typename TriMeshType::CoordType CoordType;
|
||||||
typedef typename TriMeshType::ScalarType ScalarType;
|
typedef typename TriMeshType::ScalarType ScalarType;
|
||||||
|
|
||||||
// struct SphereUsedTypes : public vcg::UsedTypes< vcg::Use<SphereVertex>::AsVertexType,
|
|
||||||
// vcg::Use<SphereFace>::AsFaceType>{};
|
|
||||||
|
|
||||||
// class SphereVertex : public vcg::Vertex< SphereUsedTypes,
|
|
||||||
// vcg::vertex::Coord<CoordType,ScalarType>,
|
|
||||||
// vcg::vertex::Normal<CoordType,ScalarType>,
|
|
||||||
// vcg::vertex::BitFlags>{};
|
|
||||||
|
|
||||||
// class SphereFace : public vcg::Face< SphereUsedTypes, vcg::face::VertexRef,
|
|
||||||
// vcg::vertex::Normal<vcg::Point3<ScalarType>,ScalarType>,
|
|
||||||
// vcg::face::Mark,
|
|
||||||
// vcg::face::BitFlags,vcg::face::FFAdj> {};
|
|
||||||
|
|
||||||
// class SphereMesh : public vcg::tri::TriMesh< std::vector<SphereVertex>, std::vector<SphereFace> > {};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TriMeshType &tri_mesh;
|
TriMeshType &tri_mesh;
|
||||||
|
|
||||||
CoordType AlignZeroTr;
|
CoordType AlignZeroTr;
|
||||||
|
|
||||||
std::vector<std::vector< ScalarType > > Weight;
|
std::vector<std::vector< ScalarType > > Weight;
|
||||||
//std::vector<std::vector<std::pair<VertexType*,VertexType*> > > VotingVertx;
|
|
||||||
std::vector<std::vector<std::pair<CoordType,CoordType> > > VotingPos;
|
std::vector<std::vector<std::pair<CoordType,CoordType> > > VotingPos;
|
||||||
|
|
||||||
std::vector<ScalarType> Votes;
|
std::vector<ScalarType> Votes;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TriMeshType *sphere;
|
TriMeshType *sphere;
|
||||||
|
|
||||||
typename vcg::GridStaticPtr<FaceType,ScalarType> GridSph;
|
typename vcg::GridStaticPtr<FaceType,ScalarType> GridSph;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue