TubeTK/OsiriX: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTITLE__
__NOTOC__
{| border="1" cellpadding="10" cellspacing="0"
|+ [[image:TubeTK_Header.jpg|1000px]]
|-
| style="background:#efefef;" align="left" valign="top" width="150px" |
'''[[TubeTK|Home]]'''
*[[TubeTK/About|About]]
*[[TubeTK/Images|Image Gallery]]
*[[TubeTK/Data|Data and Publications]]
<br>
----
<br>
'''For Users'''
* [[TubeTK/Installation|Installation]]
* [[TubeTK/Documentation|Methods & Apps]]
* [[TubeTK/Slicer|TubeTK with 3D Slicer]]
* [[TubeTK/OsiriX|TubeTK with OsiriX]]
<br>
----
<br>
'''For Developers'''
* [[TubeTK/Development|Development Docs]]
<br>
----
<br>
'''[https://github.com/TubeTK/TubeTK/issues Report Bugs<br>Request Features]'''
<br>
<br>
----
<br>
'''[[TubeTK/Contact|Contact Us]]'''
| align="left" width="800px" |
= Building OsiriX =
= Building OsiriX =


Line 40: Line 76:
# Copy  plugin generator Apple Script zip file ( Osirix Plugin Generator.zip )  from the "_help" directory.  
# Copy  plugin generator Apple Script zip file ( Osirix Plugin Generator.zip )  from the "_help" directory.  
# Unzip the zip file
# Unzip the zip file
# Run the script. Follow the wizard's instructions. The basic project will be created automatically.
# Run the script ( From the terminal, do "open ./Osirix\ Plugin\ Generator.app" . Follow the wizard's instructions. The basic project will be created automatically.
# Add functionalities to the plugin code: Two segments i.e Plugin initialization ( when OsiriX is launched) and Main process ( when plugin is invoked from the menu )
# Add functionalities to the plugin code: Two segments i.e Plugin initialization ( when OsiriX is launched) and Main process ( when plugin is invoked from the menu )
# Compile the code
# Compile the code
Line 46: Line 82:
== Plugin installation ==
== Plugin installation ==


Copy the plugin  (example "MyNewPlugin.osirixplugin" ) to  "Library/Application\ Support/OsiriX/Plugins/"
Copy the plugin  (example "MyNewPlugin.osirixplugin" from "DerivedData/MyNewPlugin/Products/Development/" folder ) to  "Library/Application\ Support/OsiriX/Plugins/"


== Useful Links ==
== Useful Links ==


http://osirixpluginbasics.wordpress.com/
http://osirixpluginbasics.wordpress.com/
= Building ITK to build OsiriX ITK plugin =
http://osirixpluginwithitk320.wikispaces.com/
# Download ITK and change the namespace so that it does not conflict with the version that comes with OsiriX
|-
|}
[[Category:TubeTK|OsiriX]]

Latest revision as of 18:31, 26 July 2013

__NOTITLE__


TubeTK Header.jpg

Home




For Users




For Developers




Report Bugs
Request Features




Contact Us

Building OsiriX

Requirements

  1. Mac OS X 10.7 or better
  2. Xcode 4.2 or better

Repository

  1. Main application

svn co https://osirix.svn.sourceforge.net/svnroot/osirix osirix

Build steps

  1. Open the Osirix.xcodeproj (in osirix/) and select & run the 'Unzip Binaries' target
  2. Select & run the 'Development' target to build OsiriX

Build FAQs

  1. Building plugin: Error message "The run destination My Mac 64-bit is no valid for Running the Scheme"
    1. Set Base SDK to MacOS X 10.6.

http://stackoverflow.com/questions/5319251/xcode-4-the-selected-run-destination-is-not-valid-for-this-action

  1. Building output directory: Some weird path in Xcode 4. How to change it ?

http://stackoverflow.com/questions/4233581/xcode-4-build-output-directory

How to launch OsiriX

There are multiple ways one can launch OsiriX

  1. Open a terminal. Go to Applications folder. Type open OsiriX.app
  2. If the applications is on the Dock, you can double click the icon.

Useful Links

  1. OsiriX Development Guide

http://osirix.svn.sourceforge.net/viewvc/osirix/Documentation/Guides/Development/index.html

Developing Plugins

Repository

svn co https://osirixplugins.svn.sourceforge.net/svnroot/osirixplugins osirixplugins

Build steps

  1. Copy plugin generator Apple Script zip file ( Osirix Plugin Generator.zip ) from the "_help" directory.
  2. Unzip the zip file
  3. Run the script ( From the terminal, do "open ./Osirix\ Plugin\ Generator.app" . Follow the wizard's instructions. The basic project will be created automatically.
  4. Add functionalities to the plugin code: Two segments i.e Plugin initialization ( when OsiriX is launched) and Main process ( when plugin is invoked from the menu )
  5. Compile the code

Plugin installation

Copy the plugin (example "MyNewPlugin.osirixplugin" from "DerivedData/MyNewPlugin/Products/Development/" folder ) to "Library/Application\ Support/OsiriX/Plugins/"

Useful Links

http://osirixpluginbasics.wordpress.com/

Building ITK to build OsiriX ITK plugin

http://osirixpluginwithitk320.wikispaces.com/

  1. Download ITK and change the namespace so that it does not conflict with the version that comes with OsiriX