Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenCV
opencv_contrib
提交
e223e156
O
opencv_contrib
项目概览
OpenCV
/
opencv_contrib
10 个月 前同步成功
通知
752
Star
8664
Fork
5663
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
opencv_contrib
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
e223e156
编写于
1月 28, 2022
作者:
A
Alexander Alekhin
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #3148 from paroj:ovisup
上级
82bd0c69
a3a2eedf
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
14 addition
and
13 deletion
+14
-13
modules/ovis/include/opencv2/ovis.hpp
modules/ovis/include/opencv2/ovis.hpp
+14
-13
未找到文件。
modules/ovis/include/opencv2/ovis.hpp
浏览文件 @
e223e156
...
...
@@ -88,7 +88,7 @@ public:
virtual
~
WindowScene
();
/**
* set window background to custom image
* set window background to custom image
/ color
* @param image
*/
CV_WRAP
virtual
void
setBackground
(
InputArray
image
)
=
0
;
...
...
@@ -101,8 +101,8 @@ public:
*
* this way you can add distortion or SSAO effects.
* The effects themselves must be defined inside Ogre .compositor scripts.
* @see addResourceLocation
* @param names compositor names that will be applied in order of appearance
* @see addResourceLocation
*/
CV_WRAP
virtual
void
setCompositors
(
const
std
::
vector
<
String
>&
names
)
=
0
;
...
...
@@ -110,12 +110,12 @@ public:
* place an entity of a mesh in the scene
*
* the mesh needs to be created beforehand. Either programmatically
* by e.g. @ref createPointCloudMesh or by placing an Ogre .mesh file in a resource location.
* @see addResourceLocation
* by e.g. @ref createPointCloudMesh or by placing the respective file in a resource location.
* @param name entity name
* @param meshname mesh name
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param tvec translation
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @see addResourceLocation
*/
CV_WRAP
virtual
void
createEntity
(
const
String
&
name
,
const
String
&
meshname
,
InputArray
tvec
=
noArray
(),
InputArray
rot
=
noArray
())
=
0
;
...
...
@@ -131,13 +131,14 @@ public:
* @param name entity name
* @param prop @ref EntityProperty
* @param value the value
* @param subEntityIdx index of the sub-entity (default: all)
*/
CV_WRAP
virtual
void
setEntityProperty
(
const
String
&
name
,
int
prop
,
const
Scalar
&
value
)
=
0
;
/// @overload
CV_WRAP
virtual
void
setEntityProperty
(
const
String
&
name
,
int
prop
,
const
String
&
value
,
int
subEntityIdx
=
-
1
)
=
0
;
/// @overload
CV_WRAP
virtual
void
setEntityProperty
(
const
String
&
name
,
int
prop
,
const
Scalar
&
value
)
=
0
;
/**
* get the property of an entity
* @param name entity name
...
...
@@ -153,8 +154,8 @@ public:
* @param K intrinsic matrix
* @param imsize image size
* @param zFar far plane in camera coordinates
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param tvec translation
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param color line color
* @return the extents of the Frustum at far plane, where the top left corner denotes the principal
* point offset
...
...
@@ -167,8 +168,8 @@ public:
/**
* creates a point light in the scene
* @param name entity name
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param tvec translation
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param diffuseColor
* @param specularColor
*/
...
...
@@ -180,8 +181,8 @@ public:
/**
* update entity pose by transformation in the parent coordinate space. (pre-rotation)
* @param name entity name
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param tvec translation
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
*/
CV_WRAP
virtual
void
updateEntityPose
(
const
String
&
name
,
InputArray
tvec
=
noArray
(),
InputArray
rot
=
noArray
())
=
0
;
...
...
@@ -189,8 +190,8 @@ public:
/**
* set entity pose in the world coordinate space.
* @param name enitity name
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param tvec translation
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param invert use the inverse of the given pose
*/
CV_WRAP
virtual
void
setEntityPose
(
const
String
&
name
,
InputArray
tvec
=
noArray
(),
...
...
@@ -263,8 +264,8 @@ public:
/**
* Sets the current camera pose
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param tvec translation
* @param rot @ref Rodrigues vector or 3x3 rotation matrix
* @param invert use the inverse of the given pose
*/
CV_WRAP
virtual
void
setCameraPose
(
InputArray
tvec
=
noArray
(),
InputArray
rot
=
noArray
(),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录