updated mesh reading (texture support)

This commit is contained in:
Anatoly Baksheev
2014-01-13 13:30:34 +04:00
parent 625c35a9f9
commit e472d45d99
5 changed files with 77 additions and 78 deletions

View File

@@ -99,9 +99,10 @@ namespace cv
CV_EXPORTS Mat readCloud (const String& file, OutputArray colors = noArray(), OutputArray normals = noArray());
///////////////////////////////////////////////////////////////////////////////////////////////
/// Read mesh. Only ply format is supported now
/// Reads mesh. Only ply format is supported now. The function tries to read texture from png-file,
/// and in case of faulure, just leaves the texture field empty.
CV_EXPORTS Mesh readMesh (const String& file);
CV_EXPORTS Mesh readMesh(const String& file);
///////////////////////////////////////////////////////////////////////////////////////////////
/// Read/write poses and trajectories