View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0006909 | VTK | (No Category) | public | 2008-04-26 00:24 | 2013-04-05 19:57 | ||||
Reporter | Patrick Emond | ||||||||
Assigned To | dean | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006909: vtkPointHandleRepresentation2D SetDisplayPosition() bug | ||||||||
Description | I've recently struggled with using vtkPointHandleRepresentation2D as the handle representation when using vtkSeedWidget along with a vtkImageActorPointPlacer. The problem has been that any seeds placed stay in the same display position when moving the underlying image (zooming, panning, etc). After a long while trying to figure out why the handles were doing this I found a solution was to immediately set the world position after a point is placed, using the display position of the point. So for instance, the problem is fixed if I add the following to the end of vtkPointHandleRepresentation2D::SetDisplayPosition() double v[4]; if( this->Renderer ) { vtkInteractorObserver::ComputeDisplayToWorld( this->Renderer, p[0], p[1], p[2], w); this->SetWorldPosition(w); } So is the current behavior desired, or is this a bug? And if it is a bug, does the above code fix it without breaking anything else? | ||||||||
Additional Information | Behavior identical on Linux (Ubuntu 64-bit) and Windows XP. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0011568) dean (developer) 2008-04-28 10:49 |
fixed using suggested patch, no testing issues using MS VS 2005 express, shared release build on Vista OS |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-04-26 00:24 | Patrick Emond | New Issue | |
2008-04-28 10:49 | dean | Note Added: 0011568 | |
2008-04-28 10:50 | dean | Status | backlog => @80@ |
2008-04-28 10:50 | dean | Resolution | open => fixed |
2008-04-28 10:50 | dean | Assigned To | => dean |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2013-04-05 19:57 | Berk Geveci | Status | customer review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |