Page MenuHomePhabricator

improve NDIConfigurationWidget
Closed, ResolvedPublic

Description

Currently needed features:

  • active and passive tool handling
  • allow role assignment and loading of srom files in tool table
  • allow name edititing in tool table
  • allow datatreenode assignment in tool table

Event Timeline

[SVN revision 20738]
ADD (#3139): add custom delegate to display and edit NDI tools in NDIConfigurationWidget

[SVN revision 21034]
ENH (#3139): tag nodes that are assigned

[SVN revision 21035]
ENH (#3139): tag nodes that are assigned, return tool and node assignments

[SVN revision 21037]
ENH (#3139): update GUI

LoadSROMFileForWiredTools

SROM Files could not be loaded for wired tools yet. Changes as patch due to quickhack with Jochen on phone.

Connected QmitkNDIConfigurationWidget.cpp via dataChanged event from QAbstractItemModel. Method QmitkNDIConfigurationWidget::UpdateTrackerFromToolTable() is called when data changes (during initial setup as well). New Columns 0 (ID) is skipped. Further can be added. Yet, only the name of the first sensor is written into the list (BUG::TODO). Added method mitkNDITrackingDevide::InitializeWiredTools to reinitialize the tracking hardwase (Jochen assisted on the phone).

[SVN revision 21263]
ENH (#3139): adding functionality to add a SROM file to a not flashed wired tool. See T3139 for further documentation.

Extreme Bugfixing inside mitkNDITrackingDevide::InitializeWiredTools; Wrong
porthandles for PINIT and PENA were sent. Currently during buildup of table,
InitializeWiredTools is called several times. This still has to be nicely
solved.

[SVN revision 21276]
FIX (#3139): severe bugfixing in NDI API methods inside InitializeWiredTools

[SVN revision 28573]
ENH (#3139): Enhanced widget's tool table with possibility to insert a new table column for changing a specific tool's representation by loading a surface file. Column can be enabled by calling ShowToolRepresentationColumn().

[SVN revision 28590]
ENH (#3139): ShowToolRepresentationColumn() is now public slot. It should be called after the connect() signal.

Resetting all bugs without active assignee flag to "CONFIRMED". Change status to IN_PROGRESS if you are working on it.

[d48de5]: Merge branch 'bug-3139-NDIConfigurationWidget'

Merged commits:

2011-09-09 11:02:51 Paul Mercea [21e602]
Extracted stl surface loading in extra method returnin an mitk::Surface.

New method is now used for tool loading and tool representation changing.
Surface loading for tool representation changing is now performed within this
widget and the tool id and mitk::Surface are emitted.


2011-09-08 13:46:11 Paul Mercea [29e0f2]
Implemented Save/Load Tool Option

Saving is performed by writing a .ntf file with the tool information on harddisk.
If saving successfull a signal is emitted with the id of the tool and the filepath of the savefile.

If loading of an .ntf file is successfull the index and the a DataNode for the tool are emitted.

[8773ee]: Merge branch 'bug-3139-NDIConfigurationWidget'

Merged commits:

2011-09-13 14:52:01 Paul Mercea [88af40]
COMP: changed throwing exception type

[da6de7]: Merge branch 'bug-3139-NDIConfigurationWidget'

Merged commits:

2011-10-10 15:50:31 Paul Mercea [6bdfbe]
Renamed Load Button and inserted Modified() after tool adding.

[e9e820]: Merge branch 'bug-3139-NDIConfigWidget'

Merged commits:

2011-12-09 15:31:13 Paul Mercea [b6050b]
Fixed wrong initial save filename.

[e32b22]: Merge branch 'bug-3139-NDIConfigWidget'

Merged commits:

2011-12-29 11:57:32 Paul Mercea [56761c]
Inserted method for enabling/disabling "Discover new Tools" Button