diff --git a/stim/gl/gl_spider.h b/stim/gl/gl_spider.h index 73a5f37..7513b47 100644 --- a/stim/gl/gl_spider.h +++ b/stim/gl/gl_spider.h @@ -1442,10 +1442,11 @@ class gl_spider // : public virtual gl_texture // CHECK_OPENGL_ERROR // findOptimalDirection(); // Unbind(); - -// Bind(radius_texID, radius_buffID, numSamplesMag, n_pixels); -// findOptimalScale(); -// Unbind(); +//THIS IS EXPERIMENTAL + Bind(radius_texID, radius_buffID, numSamplesMag, n_pixels); + findOptimalScale(); + Unbind(); +//THIS IS EXPERIMENTAL // cL.push_back(curSeed); // cM.push_back(curSeedMag); @@ -1633,7 +1634,6 @@ class gl_spider // : public virtual gl_texture { std::cout << nt.sizeE() << " edges " << std::endl; std::cout << nt.sizeV() << " nodes " << std::endl; - } void @@ -1667,7 +1667,9 @@ class gl_spider // : public virtual gl_texture running = false; branchDetection2(); addToNetwork(cL, cM); + #ifdef DEBUG std::cerr << "the cost of " << cost << " > " << min_cost << std::endl; + #endif break; } else { //Have we found the edge of the map? @@ -1679,7 +1681,9 @@ class gl_spider // : public virtual gl_texture running = false; branchDetection2(); addToNetwork(cL, cM); + #ifdef DEBUG std::cerr << "I hit and edge" << std::endl; + #endif break; } //If this is the first step in the trace, @@ -1695,7 +1699,9 @@ class gl_spider // : public virtual gl_texture running = false; branchDetection2(); addToNetwork(cL, cM); + #ifdef DEBUG std::cerr << "The templates are too big" << std::endl; + #endif break; } else @@ -1703,7 +1709,9 @@ class gl_spider // : public virtual gl_texture h = selectObject(p, getDirection(), m); //Have we hit something previously traced? if(h != -1){ + #ifdef DEBUG std::cerr << "I hit the fiber " << h << std::endl; + #endif running = false; branchDetection2(); addToNetwork(cL, cM); -- libgit2 0.21.4