[vtk-developers] vtkAreaPicker bug?

hagbard23 philipp.huebner at freenet.de
Tue Jun 17 11:33:31 EDT 2008


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.




More information about the vtk-developers mailing list