added vtkCloudMatSink, reworked cloud IO functions, added normals support

This commit is contained in:
Anatoly Baksheev
2013-12-31 21:50:38 +04:00
parent 1c4cfd8eaf
commit c1b41caa7c
7 changed files with 233 additions and 53 deletions

View File

@@ -93,10 +93,10 @@ namespace cv
///////////////////////////////////////////////////////////////////////////////////////////////
/// Read/write clouds. Supported formats: ply, stl, xyz, obj
/// Read/write clouds. Supported formats: ply, xyz, obj and stl (readonly)
CV_EXPORTS void writeCloud(const String& file, InputArray cloud, InputArray colors = noArray());
CV_EXPORTS Mat readCloud (const String& file, OutputArray colors = cv::noArray());
CV_EXPORTS void writeCloud(const String& file, InputArray cloud, InputArray colors = noArray(), InputArray normals = noArray(), bool binary = false);
CV_EXPORTS Mat readCloud (const String& file, OutputArray colors = noArray(), OutputArray normals = noArray());
///////////////////////////////////////////////////////////////////////////////////////////////
/// Read/write poses and trajectories