mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-09 00:09:58 +00:00
Data streaming is now much faster (up to 40%). Also added the option to save to binary PLY which is faster than ASCII.
This commit is contained in:
@@ -56,6 +56,16 @@ namespace KinectServer
|
||||
chMerge.Checked = oSettings.bMergeScansForSave;
|
||||
txtICPIters.Text = oSettings.nNumICPIterations.ToString();
|
||||
txtRefinIters.Text = oSettings.nNumRefineIters.ToString();
|
||||
if (oSettings.bSaveAsBinaryPLY)
|
||||
{
|
||||
rBinaryPly.Checked = true;
|
||||
rAsciiPly.Checked = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
rBinaryPly.Checked = false;
|
||||
rAsciiPly.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
void UpdateClients()
|
||||
@@ -288,5 +298,17 @@ namespace KinectServer
|
||||
oSettings.bStreamOnlyBodies = chBodyData.Checked;
|
||||
UpdateClients();
|
||||
}
|
||||
|
||||
private void PlyFormat_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (rAsciiPly.Checked)
|
||||
{
|
||||
oSettings.bSaveAsBinaryPLY = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
oSettings.bSaveAsBinaryPLY = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user