Difference between revisions of "IGTView"
From NAMIC Wiki
Line 36: | Line 36: | ||
** Camera is not updated when setting transformation matrix | ** Camera is not updated when setting transformation matrix | ||
*** <b>Fixed</b> by calling vtkMRMLLinearTransformNode::TransformModifiedEvent on the transformation matrix | *** <b>Fixed</b> by calling vtkMRMLLinearTransformNode::TransformModifiedEvent on the transformation matrix | ||
− | + | *Bug: When selecting 3D probe when no transformation selected -> Segfault | |
=Tips= | =Tips= |
Latest revision as of 22:39, 10 February 2012
Home < IGTViewContents
Timeline
Task | Status | Deadline |
---|---|---|
Create module to replace OpenIGTLink Slice control | - | |
Add views | - | |
Add 3D camera control | - | |
Implement trajectory | - |
Development
Create IGTView Module
- This module is make to avoid copying OpenIGTLink source code in several module when needed to manipulate 2D or 3D views. By extracting slices control from OpenIGTLink, every module could use it without copying source code (not optimal).
- 2D views control has been implemented
- Reslicing is implemented
Add views
- As BrainLab system, we added some views (InPlane 0, InPlane 90 and camera view)
Add 3D camera control
- 3D camera control has been implemented, but a minor issue still remain:
- When we deselect the 3D camera control, the camera is not going back to original position, it only stays where it was at the end of the motion (identity matrix is not working because at the beginning camera is not at 0,0,0).
- Fixed by creating a temp matrix to store TransformationNode, then set TransformationNode to identity, stop observing node, then restore TransformationNode
- Camera is not updated when setting transformation matrix
- Fixed by calling vtkMRMLLinearTransformNode::TransformModifiedEvent on the transformation matrix
- When we deselect the 3D camera control, the camera is not going back to original position, it only stays where it was at the end of the motion (identity matrix is not working because at the beginning camera is not at 0,0,0).
- Bug: When selecting 3D probe when no transformation selected -> Segfault