View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016016VTK(No Category)public2016-02-29 17:452016-04-30 09:52
ReporterMax Smolens 
Assigned ToCory Quammen 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.1.0 
Target VersionFixed in Version7.1.0 
Summary0016016: vtkPropPicker returns incorrect result when picking vtkActor2D instances
DescriptionWith 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.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Filestar file icon HighlightPickedActor2D.tar [^] (10,240 bytes) 2016-02-29 17:45

 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.

 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


Copyright © 2000 - 2018 MantisBT Team