Difference between revisions of "Creating your own application"

From NAMIC Wiki
Jump to: navigation, search
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The SPLOT and Slicer3 communicate through network. The SPLOT server broadcasts tracking data and Slicer3 receives them periodically. Here is the procedure to set up the communication.
+
* After NaviTrack is compiled, you will find an application '''middleware''' in your NaviTrack-build/bin directory. In most cases, you can just use '''middleware''' to pull data from a tracking device, broadcast the tracking data to network, and also receive data from the same network.
 
+
* If you need to build your own application, follow these steps:
* Change to the directory '''SPLOT/bin'''
+
** Look at NaviTrack/src/standalones/middleware.cxx
* Run SPLOT server
+
** Modify the source code as needed
  ./opentracker_spl splotConfig.xml
+
** Re-build
* Start Slicer3
 
* Go to '''IGT Demo''' module
 
* Click '''Server''' tab
 
* Load the configuration file
 
* Press '''Connect''' button
 

Latest revision as of 18:25, 15 May 2007

Home < Creating your own application
  • After NaviTrack is compiled, you will find an application middleware in your NaviTrack-build/bin directory. In most cases, you can just use middleware to pull data from a tracking device, broadcast the tracking data to network, and also receive data from the same network.
  • If you need to build your own application, follow these steps:
    • Look at NaviTrack/src/standalones/middleware.cxx
    • Modify the source code as needed
    • Re-build