private void CalculateMesh() { try { ColorMesh m = volume.CalculateMesh(2); currentMesh = m; CVMesh mesh = CVMesh.ConvertToMesh(m); master.RetrieveMesh(mesh); reader = null; sensor.Close(); CaptureCurrent = false; } catch (Exception ex) { Debug.Write(ex.Message); } }
public void CaptureMeshNow() { CVMesh m = new CVMesh(); master.RetrieveMesh(m); }