Skip to content
Snippets Groups Projects
Commit 82f202c0 authored by Alexis Girault's avatar Alexis Girault Committed by Ricardo Ortiz
Browse files

ENH: Update LaparoscopicCamera Example

1) Define values to automate the creation of the blocks
2) Use a texture to display the targets
3) Create a 2D overlay using a 2d actor image instead of charts
4) Rename ScreenCaptureKeyPressEvent to ScreenCaptureInteractorStyle
5) Restructure scene creation and viewer initialisation
parent 211499fe
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,8 @@ if(NOT EXISTS ${${APP}_DATA}) ...@@ -24,8 +24,8 @@ if(NOT EXISTS ${${APP}_DATA})
file(MAKE_DIRECTORY ${${APP}_DATA}) file(MAKE_DIRECTORY ${${APP}_DATA})
endif() endif()
set(FILE_URL http://midas3.kitware.com/midas/download/item/318830/CameraNavAppData.tar) set(FILE_URL http://midas3.kitware.com/midas/download/item/318840/CameraNavAppData.tar)
set(FILE_SHA1 ef20afc9043178a4b9e2245560702f82168261fa) set(FILE_SHA1 6032b3f2779f9fd479e67bf22b5a4fd6bbf13e11)
set(LOCAL_FILE ${EXAMPLES_DATA}/CameraNavAppData.tar) set(LOCAL_FILE ${EXAMPLES_DATA}/CameraNavAppData.tar)
...@@ -33,8 +33,8 @@ midas_download(${FILE_URL} ${FILE_SHA1} ${LOCAL_FILE}) ...@@ -33,8 +33,8 @@ midas_download(${FILE_URL} ${FILE_SHA1} ${LOCAL_FILE})
# Extract data # Extract data
set(DATA set(DATA
${${APP}_DATA}/Target-marker.vtk ${${APP}_DATA}/target.png
${${APP}_DATA}/Target.vtk ${${APP}_DATA}/viewfinder.png
) )
add_custom_command( add_custom_command(
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment