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:
@@ -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);
|
||||
//! @}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user