Commit 1c6b1897 authored by Andrey Filippov's avatar Andrey Filippov

Extracted parameters, before trying to fix buildTileCluster()

parent a7c6fce6
...@@ -8507,6 +8507,7 @@ if (debugLevel > -100) return true; // temporarily ! ...@@ -8507,6 +8507,7 @@ if (debugLevel > -100) return true; // temporarily !
if (pathFirstLast != null) { if (pathFirstLast != null) {
num_seq = pathFirstLast.length; num_seq = pathFirstLast.length;
} }
clt_parameters.multiseq_run = true; // running from the source list - disable debug images
} }
class VideoSet { class VideoSet {
......
...@@ -2315,7 +2315,10 @@ public class TriMesh { ...@@ -2315,7 +2315,10 @@ public class TriMesh {
double maxZ, // far clip (0 - do not clip). Negative - limit by max double maxZ, // far clip (0 - do not clip). Negative - limit by max
boolean limitZ, boolean limitZ,
// double [][] dbg_disp_tri_slice, // double [][] dbg_disp_tri_slice,
int debug_level int debug_level,
boolean dbg_plot_center, // = true;
double dbg_line_color, // = 1.0;
double dbg_center_color// = 3.0;
) throws IOException ) throws IOException
{ {
// boolean show_triangles = tri_img != null; // boolean show_triangles = tri_img != null;
...@@ -2460,18 +2463,15 @@ public class TriMesh { ...@@ -2460,18 +2463,15 @@ public class TriMesh {
} }
final boolean plot_center = true;
final double line_color = 1.0;
final double center_color = 3.0;
if (tri_img != null) { if (tri_img != null) {
plotMesh( plotMesh(
tri_img, // final double [] canvas, tri_img, // final double [] canvas,
tri_img_width, // final int width, tri_img_width, // final int width,
texCoord, // final double [][] tex_coord, texCoord, // final double [][] tex_coord,
triangles, // final int [][] triangles, triangles, // final int [][] triangles,
plot_center, // final boolean plot_center, dbg_plot_center, // final boolean plot_center,
line_color, // final double line_color, dbg_line_color, // final double line_color,
center_color); // final double center_color) dbg_center_color); // final double center_color)
if (display_triangles) { if (display_triangles) {
if (d_for_mesh != null) { if (d_for_mesh != null) {
ShowDoubleFloatArrays.showArrays( ShowDoubleFloatArrays.showArrays(
......
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