[vtk-developers] vtkAreaPicker bug?

David E DeMarle dave.demarle at kitware.com
Wed Jun 18 10:42:33 EDT 2008


Yes. It operates on the dataset's geometric bounding box, which does
not include the result of any active display transformations. Please
submit a bug to the vtk bug tracker so that this gets addressed in the
future.

thanks,
Dave DeMarle

On Tue, Jun 17, 2008 at 11:33 AM, hagbard23 <philipp.huebner at freenet.de> wrote:
>
> I implemented the new vtkAreaPicker like this:
>
>
>                vtkAreaPicker ap = new vtkAreaPicker();
>                ap.SetRenderer(renderer);
>
>                int areaPick = ap.AreaPick(firstX, firstY, lastX, lastY,
> renderer);
>
>                if (areaPick == 1) {
>
>                        vtkProp3DCollection propCollection =
> ap.GetProp3Ds();
>
>                        propCollection.InitTraversal();
>
>                        vtkProp prop = null;
>
>                        while ((prop = propCollection.GetNextProp()) !=
> null) {
>
>                                IObjectVTK obj = (IObjectVTK)
> Engine.INSTANCE.getSceneGraph()
>
> .getActorToObject().get(prop);
>
>                                selectionList.add(obj.getScenePart());
>
>
>
> .....it works until i try to select a transformed actor....the area picker
> just picks the actors at theit initial position?????
> --
> View this message in context: http://www.nabble.com/vtkAreaPicker-bug--tp17916442p17916442.html
> Sent from the VTK - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>



More information about the vtk-developers mailing list