OpenIGTIF Trajectory Message

Does the OpenIGTIF extension have support to receive and send trajectory messages? I cant seem to find mention of it.

I am attempting to send a trajectory using a annotation. I placed a ruler annotation in the scene. But when I try to add this to my connector node, slicer crashes without an error message.

Which Slicer version do you use?

@Sunderlandkyl There seems to be a converter for ruler->trajectory could you have a look why it may fail?

That’s the old repository, there is no such converter in SlicerOpenIGTLink, or in OpenIGTLinkIO.

.

1 Like

@burnhamd Since trajectory message is not supported now, I would recommend to use transform message instead. You can compute a transform from position of the two endpoints of the ruler.

I decided to use the string message and send the same data that way for now. This approach is working well. I assume it is a bug then that the annotation shows up in the available data list for sending of MRMLNodes? Seems that this should be removed from the UI at least to avoid crashes when someone attempts to send them.

Thanks for your help!

I agree, we should not show nodes that cannot be transferred (or at least not crash but log an error). I’ve added a ticket to track this: https://github.com/openigtlink/SlicerOpenIGTLink/issues/96