Surfaces (and possibly otherbasedata types as well) are currently not always correctly rendered. This error happens in several plugins, and I believe that it is caused by a change in geometries. The positional data of these surfaces changes, but they are not rendered to a new position. Not all surfaces are behaving like this, and it may be an action performed on the surface that causes this behaviour. To reproduce:
- enable the plugin Igttracking
- build, start, enable the navigationDataPlayer
- Load a file, for example "RecordedNavigationData" from the IGT-Data Folder in MITK-Data, and play a few frames. Stop playing.
- Perform a global reinit. Note that nothing is displayed though the bounding boxes change
- Perform a reinit on one of the recorded tools. Note that the bounding box is adjusted, but still nothing is displayed
- Load a large image, or open the Trackingtoolbox and do a global reinit
- Note that the tools are now being displayed in 0/0/0
- Right click one of the recorded tools in the DataManager and select "Details". Note that offset AND translation AND Rotation are set.
- Play a few frames.
- reinspect details, note that offset and translation are changing.
I am unclear what causes this behaviour. Data is updated correctly, at least in the context that was correct for ages in IGT - Currently tracking is borked as well because the tools don't update anymore. Not all surfaces are broken like that. For example, one can save a recorded Tool, load it again, and the surface is displayed correctly (but not moving anymore obviously). It may have to do something with using affine transformations.