Dear Jingyi,
Hotplugging of tools was so far not implemented in MITK. Maybe you can
check if other libraries that support OpenIGTLink implement this feature
(maybe PLUS, https://plustoolkit.github.io/, but I didn't check). You
can connect trackers via OpenIGTLink to MITK if this would help.
Another possibility would be to add this functionality to the
NDITrackingDevice class. This would require adjusting the update loop in
the TrackToolsAndMarkers() method. However, I am unsure if this is
easily possible since the NDITrackingDevice class is tightly coupled
with the NDIProtocol class. If there is a possibility via OpenIGTLink I
would recommend to do this.
Regarding the state of sensors, there already is the valid flag of the
tracking tools. Did you already try to check if a tool is valid to check
if the connection is fine?
Best,
Alfred
Am 24.01.2022 um 14:35 schrieb JY Bian:
Dear All,
I am trying to implement hotplugging of NDI tracking tools (i.e., NDI
Aurora sensors can be feasibility plugged or unplugged without
reconnecting NDI) in my own program based on MITK.
I did not find the corresponding functions in mitk::TrackingDevice.
Does MITK provide such kind of functions in other classes?
If there is no such functions provided in MITK, how can I realize
monitoring the connection state of tracking sensors in MITK?
Any help is appreciated!
Best,
Jingyi
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users
--
Prof. Dr. Alfred Franz
Computer Assisted Medical Interventions / E130
German Cancer Research Center (DKFZ)
Im Neuenheimer Feld 280
69120 Heidelberg, Germany
a.fr...@dkfz.de
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users