1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 11:21:39 +08:00

ovis: add updateTexture function and allow grayscale texture format

This commit is contained in:
Pavel Rojtberg
2018-08-08 15:51:54 +02:00
parent a83b78e29a
commit f7e522a1cb
2 changed files with 36 additions and 2 deletions

View File

@@ -281,6 +281,15 @@ CV_EXPORTS_W void createPointCloudMesh(const String& name, InputArray vertices,
* @param segments number of segments per side
*/
CV_EXPORTS_W void createGridMesh(const String& name, const Size2f& size, const Size& segments = Size(1, 1));
/**
* updates an existing texture
*
* A new texture can be created with @ref createPlaneMesh
* @param name name of the texture
* @param image the image data
*/
CV_EXPORTS_W void updateTexture(const String& name, InputArray image);
//! @}
}
}