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
4cc8f701
Commit
4cc8f701
authored
Jan 19, 2014
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
closing window
parent
4e180070
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
viz3d.hpp
modules/viz/include/opencv2/viz/viz3d.hpp
+1
-0
viz3d.cpp
modules/viz/src/viz3d.cpp
+1
-0
vizimpl.cpp
modules/viz/src/vizimpl.cpp
+1
-0
No files found.
modules/viz/include/opencv2/viz/viz3d.hpp
View file @
4cc8f701
...
...
@@ -105,6 +105,7 @@ namespace cv
void
spin
();
void
spinOnce
(
int
time
=
1
,
bool
force_redraw
=
false
);
bool
wasStopped
()
const
;
void
close
();
void
registerKeyboardCallback
(
KeyboardCallback
callback
,
void
*
cookie
=
0
);
void
registerMouseCallback
(
MouseCallback
callback
,
void
*
cookie
=
0
);
...
...
modules/viz/src/viz3d.cpp
View file @
4cc8f701
...
...
@@ -101,6 +101,7 @@ void cv::viz::Viz3d::release()
void
cv
::
viz
::
Viz3d
::
spin
()
{
impl_
->
spin
();
}
void
cv
::
viz
::
Viz3d
::
spinOnce
(
int
time
,
bool
force_redraw
)
{
impl_
->
spinOnce
(
time
,
force_redraw
);
}
bool
cv
::
viz
::
Viz3d
::
wasStopped
()
const
{
return
impl_
->
wasStopped
();
}
void
cv
::
viz
::
Viz3d
::
close
()
{
impl_
->
close
();
}
void
cv
::
viz
::
Viz3d
::
registerKeyboardCallback
(
KeyboardCallback
callback
,
void
*
cookie
)
{
impl_
->
registerKeyboardCallback
(
callback
,
cookie
);
}
...
...
modules/viz/src/vizimpl.cpp
View file @
4cc8f701
...
...
@@ -104,6 +104,7 @@ void cv::viz::Viz3d::VizImpl::close()
return
;
interactor_
->
GetRenderWindow
()
->
Finalize
();
interactor_
->
TerminateApp
();
// This tends to close the window...
interactor_
=
0
;
}
void
cv
::
viz
::
Viz3d
::
VizImpl
::
recreateRenderWindow
()
...
...
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