View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016016 | VTK | (No Category) | public | 2016-02-29 17:45 | 2016-04-30 09:52 | ||||
Reporter | Max Smolens | ||||||||
Assigned To | Cory Quammen | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 7.1.0 | ||||||||
Target Version | Fixed in Version | 7.1.0 | |||||||
Summary | 0016016: vtkPropPicker returns incorrect result when picking vtkActor2D instances | ||||||||
Description | With the OpenGL2 backend, vtkPropPicker returns the incorrect result when picking from vtkActor2D instances. It returns the correct result when using the old backend, or when picking from vtkActor instances. As an example, I modified this example to use vtkActor2D/vtkProperty2D/vtkPolyDataMapper2D (see attached): http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/HighlightPickedActor [^] In this example, the picker recognizes when an actor is picked, but the actor returned by GetActor2D() is not necessarily the actor that was picked. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | HighlightPickedActor2D.tar [^] (10,240 bytes) 2016-02-29 17:45 | ||||||||
Relationships | |
Relationships |
Notes | |
(0035921) Cory Quammen (developer) 2016-04-29 13:51 |
This topic in GitLab potentially fixes this bug. https://gitlab.kitware.com/vtk/vtk/merge_requests/1471 [^] |
(0035923) Cory Quammen (developer) 2016-04-30 09:51 |
I tested the attached code against the OpenGL 2 backend, and the clicked-on circle gets highlighted in red, which seems like the right behavior. Closing for now. Please re-open if it continues to be a problem. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-02-29 17:45 | Max Smolens | New Issue | |
2016-02-29 17:45 | Max Smolens | File Added: HighlightPickedActor2D.tar | |
2016-04-29 13:51 | Cory Quammen | Note Added: 0035921 | |
2016-04-30 09:51 | Cory Quammen | Note Added: 0035923 | |
2016-04-30 09:52 | Cory Quammen | Assigned To | => Cory Quammen |
2016-04-30 09:52 | Cory Quammen | Status | backlog => closed |
2016-04-30 09:52 | Cory Quammen | Resolution | open => fixed |
2016-04-30 09:52 | Cory Quammen | Fixed in Version | => 7.1.0 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |