View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007096VTK(No Category)public2008-05-25 16:152016-08-12 09:54
ReporterSam Preston 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007096: vtkPropPicker does not report correct GetPickPosition when using PickList
DescriptionvtkPropPicker uses the WorldPointPicker to find the pick location returned by GetPickPosition. However, if a pick list is used to select from a subset of actors in the scene, vtkPropPicker::GetPickPosition will return the hit point of *any* actor in the currently rendered scene. vtkWorldPointPicker uses vtkRenderer::GetZ(...) in it's Pick method, while vtkPropPicker should use vtkViewport::GetPickedZ() to get the Z location of the picked point, not the Z value of any rendered geometry in the current scene.
Additional InformationI've attached a test program that shows the problem. There is a red sphere and a blue sphere in the scene. A vtkPropPicker is used to perform picking. A pick list is used such that only the red sphere should be pickable. If the red sphere is picked, a small green sphere is drawn at the pick point. If the red sphere is behind the blue sphere, the red sphere will be picked but the green sphere will be drawn at the intersection with the blue sphere.

I've also included a patch to fix this which moves the functionality for converting from screen space to world space to a protected function in vtkAbstractPicker, and has both vtkWorldPointPicker and vtkPropPicker call this function.
TagsNo tags attached.
Project
Type
Attached Filestgz file icon vtkPropPickerData.tgz [^] (2,931 bytes) 2008-05-25 16:15

 Relationships

  Notes
(0036977)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-05-25 16:15 Sam Preston New Issue
2008-05-25 16:15 Sam Preston File Added: vtkPropPickerData.tgz
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036977
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved
2016-08-12 09:54 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team