[Insight-developers] Should the itkTclAppInit function be split out
of itkTclAppInit.cxx?
Kent Williams
kent at psychiatry.uiowa.edu
Mon Mar 6 10:30:10 EST 2006
So if, for the sake of argument, you wanted to roll your own Tcl/Tk/Itk
etc Tcl interpreter executable. The way you have to do this currently
is copy the itkTclAppInit.cxx file and customize the main() function to
add your other initializations.
It seems to me a better 'plug and play' system would be to move
itkTclAppInit into its own source file, separate from the main() for
itkwish. That way, you can reference that function in your own program,
without copying and modifying ITK source.
Or is there a better way? Can ITK be loaded into a 'vanilla' wish or
tkwish with 'package require'?
More information about the Insight-developers
mailing list