示例#1
0
        private void saveFile(PointCloud pcl)
        {
            PointCloudFormatter pcf = new PointCloudFormatter(PointCloudFormatter.Format.VRML); // Choosing the VRML (.wrl) format to save the pointCloud
            FileManager         fm  = new FileManager(pcf);

            fm.savePointCloudFile(pcl);
        }
示例#2
0
 public FileManager(PointCloudFormatter pointCloudFormatter)
 {
     if (pointCloudFormatter != null)
     {
         this.pointCloudFormatter = pointCloudFormatter;
     }
     else
     {
         //Log.Write(Log.Tag.INFO, "Point Cloud Formatter is NULL. Creating new with XYZ"); Not helpful if we're using it to get XML document as well
         this.pointCloudFormatter = new PointCloudFormatter(PointCloudFormatter.Format.VRML);
     }
 }
示例#3
0
        public static String getPointCloudPath(PointCloudFormatter.Format format)
        {
            String path = BodyScannerConstants.POINT_CLOUD_PATH + "\\" + pointCloudFileName + "." + PointCloudFormatter.getFormatExtension(format);

            return(path);
        }