View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007536VTK(No Category)public2008-08-25 05:512012-12-12 12:15
ReporterPeter Wainwright 
Assigned ToDavid Gobbi 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version5.8.0 
Summary0007536: Picking a vtkImageActor does not work properly
DescriptionThis is done in vtkPicker::Pick by constructing a ray in data space and seeing whether it intersects the plane of the image within the bounding rectangle.

The algorithm for the point of intersection is wrong. Having obtained the parameter t (the relative position of the intersection along the ray), the subsequent calculation uses (t) in place of (1.0-t) and vice versa.

Also, the calculation of t uses p2World[i] where as far as I can tell it should have p2Mapper[i].

I have attached a patch for these issues.
TagsNo tags attached.
Project
Type
Attached Filespatch file icon VTK-20080821-pick.patch [^] (1,784 bytes) 2008-08-25 05:51 [Show Content]

 Relationships

  Notes
(0026199)
David Gobbi (developer)
2011-04-16 19:19

This issue was fixed on Nov 18, 2009.
commit 2533aba8c3458e8a1ace0d1ff2b8c51fa0ef5556

 Issue History
Date Modified Username Field Change
2008-08-25 05:51 Peter Wainwright New Issue
2008-08-25 05:51 Peter Wainwright File Added: VTK-20080821-pick.patch
2011-04-16 19:18 David Gobbi Assigned To => David Gobbi
2011-04-16 19:18 David Gobbi Status backlog => tabled
2011-04-16 19:19 David Gobbi Note Added: 0026199
2011-04-16 19:19 David Gobbi Status tabled => @80@
2011-04-16 19:19 David Gobbi Resolution open => fixed
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2012-12-12 12:15 David Gobbi Status customer review => closed
2012-12-12 12:15 David Gobbi Fixed in Version => 5.8.0


Copyright © 2000 - 2018 MantisBT Team