Add laparoscopic tool controller
Adds a laparoscopic tool controller. The most common tool type are two-jawed laparoscopic tools that are controlled in position and orientation by an external device. The tool jaws however have extra degree of freedom i.e., rotation about axis perpendicular to tool. In addition the changes are aimed to allow able to create a custom class for any other common set of object controllers.
- TrackingController now called DeviceTracker gets latest tracking information from the device and applies offsets
- Add scene object controllers that contain DeviceTracker and the one or more scene object that are controlled by it.
- SceneObjectController controls single object using a single tracker.
- LaparoscopicToolController controls pivot, lower and upper objects with single tracker and buttons control the jaw angle
- The DeviceTrackers are updated only once per frame.
- Adds example to test laparoscopic tool controller
Relevant changes are in last 6 commits.