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); }
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); } }
public static String getPointCloudPath(PointCloudFormatter.Format format) { String path = BodyScannerConstants.POINT_CLOUD_PATH + "\\" + pointCloudFileName + "." + PointCloudFormatter.getFormatExtension(format); return(path); }