Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2822845b
Commit
2822845b
authored
Sep 01, 2013
by
Ozan Tonkal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set get RenderingProperty id comes first
parent
9d4fe698
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
viz3d.hpp
modules/viz/include/opencv2/viz/viz3d.hpp
+2
-2
viz3d.cpp
modules/viz/src/viz3d.cpp
+2
-2
No files found.
modules/viz/include/opencv2/viz/viz3d.hpp
View file @
2822845b
...
...
@@ -59,8 +59,8 @@ namespace cv
void
registerKeyboardCallback
(
KeyboardCallback
callback
,
void
*
cookie
=
0
);
void
registerMouseCallback
(
MouseCallback
callback
,
void
*
cookie
=
0
);
void
setRenderingProperty
(
int
property
,
double
value
,
const
String
&
id
);
double
getRenderingProperty
(
int
property
,
const
String
&
id
);
void
setRenderingProperty
(
const
String
&
id
,
int
property
,
double
value
);
double
getRenderingProperty
(
const
String
&
id
,
int
property
);
void
setDesiredUpdateRate
(
double
time
);
double
getDesiredUpdateRate
();
...
...
modules/viz/src/viz3d.cpp
View file @
2822845b
...
...
@@ -81,8 +81,8 @@ void cv::viz::Viz3d::setWindowPosition (int x, int y) { impl_->setWindowPosition
void
cv
::
viz
::
Viz3d
::
setFullScreen
(
bool
mode
)
{
impl_
->
setFullScreen
(
mode
);
}
void
cv
::
viz
::
Viz3d
::
setBackgroundColor
(
const
Color
&
color
)
{
impl_
->
setBackgroundColor
(
color
);
}
void
cv
::
viz
::
Viz3d
::
setRenderingProperty
(
int
property
,
double
value
,
const
String
&
id
)
{
getWidget
(
id
).
setRenderingProperty
(
property
,
value
);
}
double
cv
::
viz
::
Viz3d
::
getRenderingProperty
(
int
property
,
const
String
&
id
)
{
return
getWidget
(
id
).
getRenderingProperty
(
property
);
}
void
cv
::
viz
::
Viz3d
::
setRenderingProperty
(
const
String
&
id
,
int
property
,
double
value
)
{
getWidget
(
id
).
setRenderingProperty
(
property
,
value
);
}
double
cv
::
viz
::
Viz3d
::
getRenderingProperty
(
const
String
&
id
,
int
property
)
{
return
getWidget
(
id
).
getRenderingProperty
(
property
);
}
void
cv
::
viz
::
Viz3d
::
setDesiredUpdateRate
(
double
time
)
{
impl_
->
setDesiredUpdateRate
(
time
);
}
double
cv
::
viz
::
Viz3d
::
getDesiredUpdateRate
()
{
return
impl_
->
getDesiredUpdateRate
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment