Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
iMSTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ruiliang Gao
iMSTK
Commits
d60efbb1
Commit
d60efbb1
authored
9 years ago
by
Sreekanth Arikatla
Committed by
Ricardo Ortiz
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adds 2D overlay on the 3D scene.
parent
340dc894
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
VTKRendering/VTKViewer.h
+9
-0
9 additions, 0 deletions
VTKRendering/VTKViewer.h
VirtualTools/LaparoscopicCameraCoupler.cpp
+1
-1
1 addition, 1 deletion
VirtualTools/LaparoscopicCameraCoupler.cpp
with
10 additions
and
1 deletion
VTKRendering/VTKViewer.h
+
9
−
0
View file @
d60efbb1
...
...
@@ -26,6 +26,8 @@
#include
"Core/ViewerBase.h"
#include
"VirtualTools/LaparoscopicCameraCoupler.h"
#include
"vtkContextActor.h"
#include
"vtkContextScene.h"
class
vtkCamera
;
...
...
@@ -95,6 +97,13 @@ public:
///
void
setScreenCaptureData
(
std
::
shared_ptr
<
screenShotData
>
data
);
///
/// \brief Add chart actor to the renderer
///
void
addChartActor
(
std
::
shared_ptr
<
vtkContextActor
>
chartActor
,
std
::
shared_ptr
<
vtkContextScene
>
chartScene
);
protected
:
///
/// \brief Renders the render operation to screen
...
...
This diff is collapsed.
Click to expand it.
VirtualTools/LaparoscopicCameraCoupler.cpp
+
1
−
1
View file @
d60efbb1
...
...
@@ -254,7 +254,7 @@ void LaparoscopicCameraCoupler::setBendingRadius(const double val)
std
::
shared_ptr
<
screenShotData
>
LaparoscopicCameraCoupler
::
getScreenCaptureData
()
{
return
screenCaptureData
;
}
;
}
void
LaparoscopicCameraCoupler
::
enableScreenCapture
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment