Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F645
ReinitSnapBug.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
ivo
Nov 24 2010, 5:23 PM
2010-11-24 17:23:48 (UTC+1)
Size
566 B
Referenced Files
None
Subscribers
None
ReinitSnapBug.patch
View Options
Index: mitkRenderingManager.cpp
===================================================================
--- mitkRenderingManager.cpp (revision 27980)
+++ mitkRenderingManager.cpp (working copy)
@@ -413,7 +413,10 @@
if(sign == -1)
{
currentVector *= sign;
- offset += modifiedGeometry->GetAxisVector(i);
+ Vector3D tmp;
+ tmp.Set_vnl_vector(modifiedGeometry->GetIndexToWorldTransform()->GetMatrix().GetVnlMatrix().get_column(i)*
+ (modifiedGeometry->GetExtent(i)-1));
+ offset += tmp;
}
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
620
Default Alt Text
ReinitSnapBug.patch (566 B)
Attached To
Mode
T6278: Reinit on some tilted images wrong
Attached
Detach File
Event Timeline
ivo
added a comment.
Nov 24 2010, 5:23 PM
2010-11-24 17:23:48 (UTC+1)
Comment Actions
Patch to fix the reinit snap bug.
Log In to Comment