1 template<class ToolType>
2 void vvToolCreatorBase::CreateTool() {
3 // Get information on the current image
4 mMainWindow->UpdateCurrentSlicer();
6 ToolType * tool = new ToolType(mMainWindow);
7 // Put it in the list of open tools
8 mListOfTool.push_back(tool);
12 //------------------------------------------------------------------------------