Difference between revisions of "2015 Winter Project Week:SlicerMicroMacroScale"
From NAMIC Wiki
Line 41: | Line 41: | ||
*** trigger rerendering of the seeds (in tests, we needed to remove all and readd them to see the new size) | *** trigger rerendering of the seeds (in tests, we needed to remove all and readd them to see the new size) | ||
*** double check placing rulers and ROIs in 2d | *** double check placing rulers and ROIs in 2d | ||
+ | *** double check display to world coordinate calculation in the 2d disp managers | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 00:57, 8 January 2015
Home < 2015 Winter Project Week:SlicerMicroMacroScaleKey Investigators
- Nicole Aucoin (BWH)
- Bradley Lowenkamp (Medical Science Computing)
Project Description
Objective
- Fix bugs exposed by using small and large scale images
Approach, Plan
- List of related bugs:
- Sample data sets
Progress
- Investigating the base scaling assumptions for vtkSeedWidgets in 3d ctkVTKRenderView vs 2d ctkVTKSliceView
- writing a pure CTK test case - it shows that in the default set up for the two kinds of views and mirrored seed widgets the seeds are the same size (large)
- in Slicer, the camera in the 2d view is looking at the 2d scene from a camera distance of 1.0 while the default 3D distance is 600.0
- in the pure CTK test case, resetting the 3D camera to a position (0,0,600) the same issues can be seen as are visible in Slicer (tiny seed in 3D, large in 2D)
- talking with Jim:
- when background volume changes, reset the camera position for each slice view to take into account the bounding box of the data
- use a distance calculation formula that takes the viewing angle into account (default 30)
- once have a new setting:
- reset the scale factor 2d on the 2d fid disp manager to 1.0
- reset the Z distance of the camera position in the slice view
- trigger rerendering of the seeds (in tests, we needed to remove all and readd them to see the new size)
- double check placing rulers and ROIs in 2d
- double check display to world coordinate calculation in the 2d disp managers