View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003256 | Slicer4 | Core: MRML | public | 2013-07-26 13:48 | 2017-06-07 23:27 |
Reporter | lassoan | Assigned To | jcfr | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0003256: vtkMRMLVolumeNode::SetIJKToRASDirections argument names are misleading | ||||
Description | From: slicer-devel-bounces@bwh.harvard.edu [mailto:slicer-devel-bounces@bwh.harvard.edu] On Behalf Of Yuzheng Zhou Hi, https://github.com/Slicer/Slicer/blob/master/Libs/MRML/Core/vtkMRMLVolumeNode.cxx#L278-280 | ||||
Tags | No tags attached. | ||||
From Andras: Nice catch! Functionally all those methods are correct, however the argument names in SetIJKToRASDirections are indeed incorrect (or at least misleading). v_ras = T_ijk_to_ras*v_ijk [v_r] [ Tir Tjr Tkr ] [ v_i ] Therefore, the correct SetIJKToRASDirections should be written as: void vtkMRMLVolumeNode::SetIJKToRASDirections(double ir, double jr, double kr, |
|
Agreed - good catch! Yes, the {I,J,K}IToRASDirection vectors should be the direction in patient space when of stepping by one unit in {row, column, slice} pixel space. Andras's fix looks right to me. -Steve |
|
Fix is pushed here: https://github.com/yuzhengZ/Slicer/commit/a90f9de56ea1a4cafd0bb7410c6a406e760e68ec |
|
Fixed in r22298 |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Fix committed to 2145-support-for-installing-extension-from-file branch. |
|
Slicer: 2145-support-for-installing-extension-from-file 748ecdbc 2013-08-19 15:53:40 Details Diff |
BUG: fix the misleading parameters in SetIJKToRASDirections. Refactor setter methods SetIJKToRASDirections and fix its misleading parameters in vtkMRMLVolumeNode. Fixes 0003256 From: Yuzheng Zhou <yuzheng.zhou@kitware.com> git-svn-id: http://svn.slicer.org/Slicer4/trunk@22298 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/vtkMRMLVolumeNode.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-07-26 13:48 | lassoan | New Issue | |
2013-07-26 13:48 | lassoan | Status | new => assigned |
2013-07-26 13:48 | lassoan | Assigned To | => alexy |
2013-07-26 13:54 | yuzheng | Assigned To | alexy => yuzheng |
2013-07-26 13:57 | jcfr | Note Added: 0009222 | |
2013-07-26 13:58 | jcfr | Projection | none => tweak |
2013-07-26 13:58 | jcfr | ETA | none => < 1 day |
2013-07-26 13:58 | jcfr | Target Version | => Slicer 4.3.0 |
2013-07-29 10:46 | pieper | Note Added: 0009247 | |
2013-07-30 11:15 | yuzheng | Note Added: 0009281 | |
2013-07-30 11:17 | yuzheng | Relationship added | related to 0003260 |
2013-08-12 10:23 | yuzheng | Note Edited: 0009281 | |
2013-08-12 10:24 | yuzheng | Note Edited: 0009281 | |
2013-08-19 11:54 | jcfr | Note Added: 0009518 | |
2013-08-19 11:54 | jcfr | Status | assigned => resolved |
2013-08-19 11:54 | jcfr | Fixed in Version | => Slicer 4.3.0 |
2013-08-19 11:54 | jcfr | Resolution | open => fixed |
2014-03-06 05:22 | jcfr | Note Added: 0011170 | |
2014-03-06 05:23 | jcfr | Status | resolved => closed |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file 748ecdbc |
2017-06-07 23:27 | jcfr | Note Added: 0014611 | |
2017-06-07 23:27 | jcfr | Assigned To | yuzheng => jcfr |