function uiStringCindyGL(meshFilename, updatepreviewcdyglArguments) {
	let imageFolder = CindyJS.getBaseDir() + "images/cindyprint/";
	return "<input type=\"checkbox\" id=\"extrudeSurfaces\" onclick=\"cindyPrintUpdateExtrudeSurfaces()\" checked> Extrude the triangle surfaces" +
		"<table>" +
		"    <tr><th>Extrusion radius</th><th><image src='" + imageFolder + "ExtrudeSurfaceSmall.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"0\" max=\"100\" value=\"10\" class=\"slider\" id=\"extrusionRadius\" oninput=\"cindyPrintUpdateExtrusionRadius()\"></th><th><image src='" + imageFolder + "ExtrudeSurfaceLarge.png'/></th></tr>" +
		"</table>" +
		"<input type=\"checkbox\" id=\"smoothEdges\" onclick=\"cindyPrintUpdateSmoothEdges()\" checked> Smooth extrusion edges" +
		"<input type=\"checkbox\" id=\"clipToSphere\" onclick=\"cindyPrintUpdateClipToSphere()\"> Clip geometry to sphere" +
		"<table>" +
		"    <tr><th>Sphere quality</th><th><image src='" + imageFolder + "SphereLowRes.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"8\" max=\"32\" value=\"16\" class=\"slider\" id=\"sphereQuality\" oninput=\"cindyPrintUpdateSphereQuality()\"></th><th><image src='" + imageFolder + "SphereHighRes.png'/></th></tr>" +
		"    <tr><th>Model scale</th><th><image src='" + imageFolder + "SizeSmall.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"1\" max=\"100\" value=\"10\" class=\"slider\" id=\"modelScale\" oninput=\"cindyPrintUpdateModelScale()\"></th><th><image src='" + imageFolder + "SizeLarge.png'/></th></tr>" +
		"    <tr><th>Iso offset</th><th><image src='" + imageFolder + "IsoA.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"0\" max=\"100\" value=\"0\" class=\"slider\" id=\"isoOffset\" oninput=\"cindyPrintUpdateIsoOffset()\"></th><th><image src='" + imageFolder + "IsoB.png'/></tr>" +
		"    <tr><th>Grid resolution</th><th><image src='" + imageFolder + "GridResLow.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"16\" max=\"128\" value=\"50\" class=\"slider\" id=\"gridResolution\" oninput=\"cindyPrintUpdateGridResolution()\"></th><th><image src='" + imageFolder + "ExtrudeSurfaceSmall.png'/></th></tr>" +
		"</table>" +
		"Implicit surface reconstruction algorithm <select name=\"reconstructionAlgorithm\" id=\"reconstructionAlgorithm\" onchange=\"cindyPrintUpdateReconstructionAlgorithm()\"> <option value=\"marchingCubes\">Marching Cubes</option><option value=\"snapmc0.0\">SnapMC (&gamma;=0.0)</option><option selected value=\"snapmc0.1\">SnapMC (&gamma;=0.1)</option><option value=\"snapmc0.2\">SnapMC (&gamma;=0.2)</option><option value=\"snapmc0.3\">SnapMC (&gamma;=0.3)</option><option value=\"snapmc0.4\">SnapMC (&gamma;=0.4)</option><option value=\"snapmc0.5\">SnapMC (&gamma;=0.5)</option></select><br>" +
		"<button onclick=\"cdy.evokeCS('saveisomeshtofile(&quot;" + meshFilename + "&quot;, " + updatepreviewcdyglArguments + ");');\">Export Mesh</button>" +
		"<button onclick=\"cdy.evokeCS('updatepreviewcdygl(" + updatepreviewcdyglArguments + ")');\">Update Preview</button>";
}
/**
 * Print preview UI HTML code for use with CindyGL/iso surface generation from scalar functions.
 */
Print preview UI HTML code for use with CindyGL/iso surface generation from scalar functions.
Print preview UI HTML code for use with CindyGL / iso surface generation from scalar functions .
function uiStringCindyGL(meshFilename, updatepreviewcdyglArguments) {
	let imageFolder = CindyJS.getBaseDir() + "images/cindyprint/";
	return "<input type=\"checkbox\" id=\"extrudeSurfaces\" onclick=\"cindyPrintUpdateExtrudeSurfaces()\" checked> Extrude the triangle surfaces" +
		"<table>" +
		"    <tr><th>Extrusion radius</th><th><image src='" + imageFolder + "ExtrudeSurfaceSmall.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"0\" max=\"100\" value=\"10\" class=\"slider\" id=\"extrusionRadius\" oninput=\"cindyPrintUpdateExtrusionRadius()\"></th><th><image src='" + imageFolder + "ExtrudeSurfaceLarge.png'/></th></tr>" +
		"</table>" +
		"<input type=\"checkbox\" id=\"smoothEdges\" onclick=\"cindyPrintUpdateSmoothEdges()\" checked> Smooth extrusion edges" +
		"<input type=\"checkbox\" id=\"clipToSphere\" onclick=\"cindyPrintUpdateClipToSphere()\"> Clip geometry to sphere" +
		"<table>" +
		"    <tr><th>Sphere quality</th><th><image src='" + imageFolder + "SphereLowRes.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"8\" max=\"32\" value=\"16\" class=\"slider\" id=\"sphereQuality\" oninput=\"cindyPrintUpdateSphereQuality()\"></th><th><image src='" + imageFolder + "SphereHighRes.png'/></th></tr>" +
		"    <tr><th>Model scale</th><th><image src='" + imageFolder + "SizeSmall.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"1\" max=\"100\" value=\"10\" class=\"slider\" id=\"modelScale\" oninput=\"cindyPrintUpdateModelScale()\"></th><th><image src='" + imageFolder + "SizeLarge.png'/></th></tr>" +
		"    <tr><th>Iso offset</th><th><image src='" + imageFolder + "IsoA.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"0\" max=\"100\" value=\"0\" class=\"slider\" id=\"isoOffset\" oninput=\"cindyPrintUpdateIsoOffset()\"></th><th><image src='" + imageFolder + "IsoB.png'/></tr>" +
		"    <tr><th>Grid resolution</th><th><image src='" + imageFolder + "GridResLow.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"16\" max=\"128\" value=\"50\" class=\"slider\" id=\"gridResolution\" oninput=\"cindyPrintUpdateGridResolution()\"></th><th><image src='" + imageFolder + "ExtrudeSurfaceSmall.png'/></th></tr>" +
		"</table>" +
		"Implicit surface reconstruction algorithm <select name=\"reconstructionAlgorithm\" id=\"reconstructionAlgorithm\" onchange=\"cindyPrintUpdateReconstructionAlgorithm()\"> <option value=\"marchingCubes\">Marching Cubes</option><option value=\"snapmc0.0\">SnapMC (&gamma;=0.0)</option><option selected value=\"snapmc0.1\">SnapMC (&gamma;=0.1)</option><option value=\"snapmc0.2\">SnapMC (&gamma;=0.2)</option><option value=\"snapmc0.3\">SnapMC (&gamma;=0.3)</option><option value=\"snapmc0.4\">SnapMC (&gamma;=0.4)</option><option value=\"snapmc0.5\">SnapMC (&gamma;=0.5)</option></select><br>" +
		"<button onclick=\"cdy.evokeCS('saveisomeshtofile(&quot;" + meshFilename + "&quot;, " + updatepreviewcdyglArguments + ");');\">Export Mesh</button>" +
		"<button onclick=\"cdy.evokeCS('updatepreviewcdygl(" + updatepreviewcdyglArguments + ")');\">Update Preview</button>";
}
function uiStringCindyGL ( meshFilename , updatepreviewcdyglArguments ) { let imageFolder = CindyJS . getBaseDir ( ) + "images/cindyprint/" ; return "<input type=\"checkbox\" id=\"extrudeSurfaces\" onclick=\"cindyPrintUpdateExtrudeSurfaces()\" checked> Extrude the triangle surfaces" + "<table>" + "    <tr><th>Extrusion radius</th><th><image src='" + imageFolder + "ExtrudeSurfaceSmall.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"0\" max=\"100\" value=\"10\" class=\"slider\" id=\"extrusionRadius\" oninput=\"cindyPrintUpdateExtrusionRadius()\"></th><th><image src='" + imageFolder + "ExtrudeSurfaceLarge.png'/></th></tr>" + "</table>" + "<input type=\"checkbox\" id=\"smoothEdges\" onclick=\"cindyPrintUpdateSmoothEdges()\" checked> Smooth extrusion edges" + "<input type=\"checkbox\" id=\"clipToSphere\" onclick=\"cindyPrintUpdateClipToSphere()\"> Clip geometry to sphere" + "<table>" + "    <tr><th>Sphere quality</th><th><image src='" + imageFolder + "SphereLowRes.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"8\" max=\"32\" value=\"16\" class=\"slider\" id=\"sphereQuality\" oninput=\"cindyPrintUpdateSphereQuality()\"></th><th><image src='" + imageFolder + "SphereHighRes.png'/></th></tr>" + "    <tr><th>Model scale</th><th><image src='" + imageFolder + "SizeSmall.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"1\" max=\"100\" value=\"10\" class=\"slider\" id=\"modelScale\" oninput=\"cindyPrintUpdateModelScale()\"></th><th><image src='" + imageFolder + "SizeLarge.png'/></th></tr>" + "    <tr><th>Iso offset</th><th><image src='" + imageFolder + "IsoA.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"0\" max=\"100\" value=\"0\" class=\"slider\" id=\"isoOffset\" oninput=\"cindyPrintUpdateIsoOffset()\"></th><th><image src='" + imageFolder + "IsoB.png'/></tr>" + "    <tr><th>Grid resolution</th><th><image src='" + imageFolder + "GridResLow.png'/></th><th><div class=\"slidecontainer\"><input type=\"range\" min=\"16\" max=\"128\" value=\"50\" class=\"slider\" id=\"gridResolution\" oninput=\"cindyPrintUpdateGridResolution()\"></th><th><image src='" + imageFolder + "ExtrudeSurfaceSmall.png'/></th></tr>" + "</table>" + "Implicit surface reconstruction algorithm <select name=\"reconstructionAlgorithm\" id=\"reconstructionAlgorithm\" onchange=\"cindyPrintUpdateReconstructionAlgorithm()\"> <option value=\"marchingCubes\">Marching Cubes</option><option value=\"snapmc0.0\">SnapMC (&gamma;=0.0)</option><option selected value=\"snapmc0.1\">SnapMC (&gamma;=0.1)</option><option value=\"snapmc0.2\">SnapMC (&gamma;=0.2)</option><option value=\"snapmc0.3\">SnapMC (&gamma;=0.3)</option><option value=\"snapmc0.4\">SnapMC (&gamma;=0.4)</option><option value=\"snapmc0.5\">SnapMC (&gamma;=0.5)</option></select><br>" + "<button onclick=\"cdy.evokeCS('saveisomeshtofile(&quot;" + meshFilename + "&quot;, " + updatepreviewcdyglArguments + ");');\">Export Mesh</button>" + "<button onclick=\"cdy.evokeCS('updatepreviewcdygl(" + updatepreviewcdyglArguments + ")');\">Update Preview</button>" ; }
Print preview UI HTML code for use with CindyGL/iso surface generation from scalar functions.
Print preview UI HTML code for use with CindyGL / iso surface generation from scalar functions .