Package inputOutput
Class OIGTTrackingDataSource
java.lang.Object
inputOutput.AbstractTrackingDataSource
inputOutput.OIGTTrackingDataSource
this class makes it possible to connect with OpenIGTLink so the tracking data of the tools (coordinates, rotation, name, etc.)
can be transfered directly without saving it in a CSV-file in advance
-
Field Summary
Fields inherited from class inputOutput.AbstractTrackingDataSource
tempToolList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
connect()
void
setValues
(String n, TransformNR t) this method assigns the values of each tool to an object of a toollistupdate()
Methods inherited from class inputOutput.AbstractTrackingDataSource
getLastToolList
-
Constructor Details
-
OIGTTrackingDataSource
public OIGTTrackingDataSource()
-
-
Method Details
-
connect
public void connect() -
update
- Specified by:
update
in classAbstractTrackingDataSource
-
setValues
this method assigns the values of each tool to an object of a toollist- Parameters:
n
- is the name of the toolt
- is a matrix which tells us the coordinates and the rotation of each tool
-
closeConnection
public void closeConnection()- Specified by:
closeConnection
in classAbstractTrackingDataSource
-