<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Slicer3%3ALoadable_Modules%3APhase1</id>
	<title>Slicer3:Loadable Modules:Phase1 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Slicer3%3ALoadable_Modules%3APhase1"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;action=history"/>
	<updated>2026-04-29T19:18:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;diff=4501&amp;oldid=prev</id>
		<title>Tgl: /* References */</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;diff=4501&amp;oldid=prev"/>
		<updated>2008-05-19T23:41:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;References&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:41, 19 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l95&quot; &gt;Line 95:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 95:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Slicer3:How_to_implement_an_Interactive_Module_GUI]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Slicer3:How_to_implement_an_Interactive_Module_GUI]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Slicer3&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/del&gt;:Loadable_Modules:HOWTO]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Slicer3:Loadable_Modules:HOWTO]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tgl</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;diff=4499&amp;oldid=prev</id>
		<title>Tgl: /* References */</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;diff=4499&amp;oldid=prev"/>
		<updated>2008-05-19T23:39:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;References&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:39, 19 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l94&quot; &gt;Line 94:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 94:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Slicer3:How_to_implement_an_Interactive_Module_GUI]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Slicer3:How_to_implement_an_Interactive_Module_GUI]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Slicer3::Loadable_Modules:HOWTO]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tgl</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;diff=3895&amp;oldid=prev</id>
		<title>Marianna: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;diff=3895&amp;oldid=prev"/>
		<updated>2008-05-15T18:02:37Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:02, 15 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Marianna</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;diff=3894&amp;oldid=prev</id>
		<title>TerryLorber: /* example XML loadable module description */</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Loadable_Modules:Phase1&amp;diff=3894&amp;oldid=prev"/>
		<updated>2008-04-11T13:43:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;example XML loadable module description&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;From [[Slicer3:Loadable_Modules]]:&lt;br /&gt;
    * runtime module discovery&lt;br /&gt;
    * module template&lt;br /&gt;
    * like CommandLineModuleFactory &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting at ~900 in Applications/GUI/Slicer3.cxx, static modules load occurs.&lt;br /&gt;
&lt;br /&gt;
Using vtkSys tools to list shared libraries present.  Use itk::DyanmicLoader to open libraries and call our specified entry points.&lt;br /&gt;
&lt;br /&gt;
The actions taken for each module to be added could be queried from the found shared library using a LoadableModuleInfo class. Some of the information a library should provide:&lt;br /&gt;
&lt;br /&gt;
* vtkSlicerLogic pointer (maybe this is one of the defined entry points for a loadable module)&lt;br /&gt;
* methods to call on the Logic pointer&lt;br /&gt;
* vtkSlicerModulesGUI pointer (ditto)&lt;br /&gt;
* methods to call on the GUI pointer&lt;br /&gt;
* module name&lt;br /&gt;
&lt;br /&gt;
LoadableModuleFactory (dervie from? Libs/ModuleDescriptionParser/ModuleFactory.cxx) handles this.  Looks like ModuleFactory::ScanForSharedObjectModules does something very similar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create shared libraries for each of the static modules listed in Slicer3.cxx&lt;br /&gt;
&lt;br /&gt;
==== loadable modules entry points ====&lt;br /&gt;
&lt;br /&gt;
 void* GetLoadableModuleGUI&lt;br /&gt;
 void* GetLoadableModuleLogic&lt;br /&gt;
 char* GetLoadableModuleDescription&lt;br /&gt;
&lt;br /&gt;
That might be it, it'd be nice to have the module describe the necessary methods to call on the GUI and Logic pointer, but that might be Phase I-A.  Within Slicer3_main, there doesn't seem to be much variation.&lt;br /&gt;
&lt;br /&gt;
Slicer3.cxx also defines [modulename]_Init(Tcl_Interp* interp) functions and calls them for each module.  Should this also be conditional for loadable modules?  Does it require an additional entry point?&lt;br /&gt;
&lt;br /&gt;
==== loadable module support ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Is there a header/source file that should be added to every module?  Can we follow the CLP methodology and use an XML source and CMake driven tool to generate the necessary files?&lt;br /&gt;
&lt;br /&gt;
==== example loadable module description, named SlicerTractographyDisplayModule.txt ====&lt;br /&gt;
&lt;br /&gt;
 Name: Slicer Tractography Display&lt;br /&gt;
 GUIName: LoadDisplaySave&lt;br /&gt;
&lt;br /&gt;
===== result of tele-conference 28jan2008 =====&lt;br /&gt;
&lt;br /&gt;
Things that the module's XML description should be able to tell:&lt;br /&gt;
 Name&lt;br /&gt;
 Group&lt;br /&gt;
 Description&lt;br /&gt;
 Home Page&lt;br /&gt;
 Dependencies (on other Groups or Modules and what versions)&lt;br /&gt;
 Version #&lt;br /&gt;
[and maybe:]&lt;br /&gt;
 icon&lt;br /&gt;
 Author(s)&lt;br /&gt;
 Acknowledgment(s)&lt;br /&gt;
&lt;br /&gt;
Module Groups for Slicer3:&lt;br /&gt;
 Base&lt;br /&gt;
 Segmentation&lt;br /&gt;
 Registration&lt;br /&gt;
 Filtering&lt;br /&gt;
 Diffusion Imaging/Tractography&lt;br /&gt;
 Modeling&lt;br /&gt;
 Meshing&lt;br /&gt;
 Image Guided Therapy&lt;br /&gt;
 Rendering&lt;br /&gt;
 Radiation Treatment&lt;br /&gt;
 Microscopy&lt;br /&gt;
 Astronomy&lt;br /&gt;
 Utilities&lt;br /&gt;
 Databases (XCEDE?)&lt;br /&gt;
 Other&lt;br /&gt;
&lt;br /&gt;
Options users might want to specify when building:&lt;br /&gt;
 src install vs. binary download&lt;br /&gt;
 version #'s of libs (e.g. cvs tags or branches to use)&lt;br /&gt;
 release build vs debug build&lt;br /&gt;
 clean rebuild&lt;br /&gt;
 update/refresh libraries&lt;br /&gt;
 run tests and submit to dashboard&lt;br /&gt;
 make an installation package&lt;br /&gt;
 upload to web site&lt;br /&gt;
&lt;br /&gt;
==== SVN branch ====&lt;br /&gt;
&lt;br /&gt;
http://www.na-mic.org/svn/Slicer3/branches/tgl_loadable_modules/&lt;br /&gt;
&lt;br /&gt;
==== References ====&lt;br /&gt;
&lt;br /&gt;
[[Slicer3:Execution_Model_Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Slicer3:How_to_implement_an_Interactive_Module_GUI]]&lt;/div&gt;</summary>
		<author><name>TerryLorber</name></author>
		
	</entry>
</feed>