User Tools

Site Tools


blogtng:2010-06-17:imaris_-_java

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
blogtng:2010-06-17:imaris_-_java [2010/06/17 15:43] – created kotablogtng:2010-06-17:imaris_-_java [2010/06/17 23:12] kota
Line 1: Line 1:
 +~~NOTOC~~
 ===== Imaris - Java ===== ===== Imaris - Java =====
 +
 +Here is some notes on accessing Imaris contents from Java. Since this example uses COM interface via jacob.dll, platform is limited to windows. 
  
 ==== Setup ==== ==== Setup ====
Line 27: Line 30:
  
  
-Example java code by Volker Bäcker is available in the Bitplane linked above. I downloaded the java file made it testable in Eclipse (simply add jacob.jar file in the build path). +Example java code by Volker Bäcker is available in the Bitplane site linked above. I downloaded the java file and then made it testable in Eclipse (simply add jacob.jar file in the project build path). 
  
 === Start button: starts up Imaris === === Start button: starts up Imaris ===
Line 48: Line 51:
 "mVisible" is a property of IApplication Interface and details are in: "mVisible" is a property of IApplication Interface and details are in:
 http://www.bitplane.com/products/imarisxt/doc/interfaceIApplication.html#6dd1946c64e40cac3f7ca33fc85e520c http://www.bitplane.com/products/imarisxt/doc/interfaceIApplication.html#6dd1946c64e40cac3f7ca33fc85e520c
 +
 +ActiveXComponent is a class provided in Jacob package, and accessing Imaris functions are mostly done through the method of this class. Java doc is at:
 +http://www.jarvana.com/jarvana/view/net/sf/jacob-project/jacob/1.14.3/jacob-1.14.3-javadoc.jar!/api/com/jacob/activeX/ActiveXComponent.html
  
 === text field & "Load" button (first and second line) === === text field & "Load" button (first and second line) ===
Line 59: Line 65:
 </code> </code>
  
-imarisapplication is an instance of ActiveXComponent constructed above. "FileOpen" is a member funciton of IApplication Interface and details are in:+imarisapplication is an instance of ActiveXComponent constructed above. Class Variant is described in the Jacob Java doc: 
 + 
 +http://www.jarvana.com/jarvana/view/net/sf/jacob-project/jacob/1.14.3/jacob-1.14.3-javadoc.jar!/api/com/jacob/com/Variant.html 
 + 
 +"FileOpen" is a member funciton of IApplication Interface and details are in:
 http://www.bitplane.com/products/imarisxt/doc/interfaceIApplication.html#eef133819f46ccfb4af8a4483990436f http://www.bitplane.com/products/imarisxt/doc/interfaceIApplication.html#eef133819f46ccfb4af8a4483990436f
  
blogtng/2010-06-17/imaris_-_java.txt · Last modified: 2020/11/26 09:11 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki