Commit 92572769 authored by Jan Möbius's avatar Jan Möbius
Browse files

comments

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8467 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 55911998
......@@ -66,7 +66,6 @@ template <class Mesh>
StripProcessorT<Mesh>::
StripProcessorT(Mesh& _mesh) :
mesh_(_mesh),
triangulated_(false),
updatePerEdgeBuffers_(true),
updatePerFaceBuffers_(true),
textureIndexProperty_(-1),
......@@ -217,6 +216,7 @@ buildStripsPolyMesh() {
best_idx = i;
}
// unset the used flag for the following experiments
for (fh_it=faces[i].begin(), fh_end=faces[i].end(); fh_it!=fh_end; ++fh_it)
used(*fh_it) = false;
}
......@@ -247,8 +247,6 @@ buildStripsTriMesh()
typename Mesh::FaceIter f_it, f_end=mesh_.faces_end();
for (f_it=mesh_.faces_begin(); true; )
{
// find start face
......
......@@ -149,8 +149,8 @@ private:
/// build a strip from a given halfedge (in both directions) of a triangle mesh
void buildStripTriMesh(typename Mesh::HalfedgeHandle _start_hh,
Strip& _strip,
FaceHandles& _faces);
Strip& _strip,
FaceHandles& _faces);
/// build a strip from a given halfedge (in both directions) of a polymesh
void buildStripPolyMesh(typename Mesh::HalfedgeHandle _start_hh,
......@@ -176,8 +176,7 @@ private:
Strips strips_;
OpenMesh::FPropHandleT<bool> processed_, used_;
// In case triangulation is needed
bool triangulated_;
// This map contains for each vertex in the strips a handle to the face it closes
std::vector<FaceMap> faceMaps_;
//===========================================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment