NeuroSurgSim/Demos: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Created page with "__NOTITLE__ __NOTOC__ {| border="1" cellpadding="10" cellspacing="0" | style="background:#efefef;" align="left" valign="top" width="150px" | '''Home''' *[[Neu...")
 
No edit summary
Line 36: Line 36:
Video link: [https://drive.google.com/file/d/0B5C_y6Y3RlVnYk44Y0tHLTBNYWc/edit?usp=sharing NeuroSim.mp4]
Video link: [https://drive.google.com/file/d/0B5C_y6Y3RlVnYk44Y0tHLTBNYWc/edit?usp=sharing NeuroSim.mp4]
Tag link: [https://github.com/andinet/SOFA/tree/v0.0.1.1 v0.0.1.1]
Tag link: [https://github.com/andinet/SOFA/tree/v0.0.1.1 v0.0.1.1]
=== Build Instructions ===
First pull changes from master (Andinet's) repository, follow the [[Surgical-Simulator-Building-Instructions|Building Sofa]] instructions to get Andinet's master repository and to prepare the directory for build.
Checkout revision tag:
<pre>git checkout v0.0.0.1</pre>
Build with the following command from the out of source build directory:
<pre>cmake -DSOFA-PLUGIN_SOFACUDA:BOOL=OFF -DSOFA-PLUGIN_SENSABLE:BOOL=ON /path/to/source</pre>
After the configuration is done you might need to re-run it again so that SOFA's build system capture the options.
After that's done run:
<pre>make</pre>
You need to have a [http://geomagic.com/en/products/phantom-omni/overview Sensable Omni] haptic device working on your computer in order for this demo to work properly.
You should be able to build in Visual Studio as well, follow the [[Surgical-Simulator-Building-Instructions|Building Sofa]] instructions and set the cmake variables in the cmake gui:
<pre>SOFA-PLUGIN_SOFACUDA to OFF and SOFA-PLUGIN_SENSABLE to ON</pre>




|}
|}

Revision as of 13:31, 10 September 2014

__NOTITLE__


Home




Instructions




Report Problems




Contact Us

Demos

This is the first demo in a series of upcoming demos to show the incremental improvements of our simulator. The scene consist of a single instrument, controlled by a haptic device (Omni from Sensable), interacting with an elastic model of an AVM nidus.

Video link: NeuroSim.mp4 Tag link: v0.0.1.1

Build Instructions

First pull changes from master (Andinet's) repository, follow the Building Sofa instructions to get Andinet's master repository and to prepare the directory for build.

Checkout revision tag:

git checkout v0.0.0.1

Build with the following command from the out of source build directory:

cmake -DSOFA-PLUGIN_SOFACUDA:BOOL=OFF -DSOFA-PLUGIN_SENSABLE:BOOL=ON /path/to/source

After the configuration is done you might need to re-run it again so that SOFA's build system capture the options. After that's done run:

make

You need to have a Sensable Omni haptic device working on your computer in order for this demo to work properly.

You should be able to build in Visual Studio as well, follow the Building Sofa instructions and set the cmake variables in the cmake gui:

SOFA-PLUGIN_SOFACUDA to OFF and SOFA-PLUGIN_SENSABLE to ON