private void SaveResultCloudAndShow(PointCloudVertices pointCloudResult) { //------------------------------------- //save if (pointCloudResult != null) { string path = string.Empty; string fileNameShort = string.Empty; IOUtils.ExtractDirectoryAndNameFromFileName(pSource.FileNameLong, ref fileNameShort, ref path); pointCloudResult.Save(this.pSource.Path, "Result.obj"); this.pResult = pointCloudResult.ToPointCloud(); //pResult.SetColor(new OpenTK.Vector3(1, 0, 0)); DisplayResultPointCloud(); } }