[vtkusers] Picking individual polygons specified in a .vtk (POLYDATA) file

Will Schroeder will.schroeder at kitware.com
Fri Feb 7 14:32:59 EST 2003


vtkCellPicker.

At 02:16 PM 2/7/2003 -0500, Surajit Nundy wrote:
>Hello,
>         I have a .vtk file which I can read, display (and pick ) whose 
> header is below. I would like to be able to pick individual polygons from 
> this dataset.  Unfortunately, when I display the data as a vtkActor whose 
> input is a vtkPolyDataMapper whose input is a vtkPolyDataReader, I can 
> only pick (using vtkRenderer.PickProp) the whole Actor.  My facility with 
> vtk ends here.  Is there some way that I could pick the individual 
> polygons in this dataset?
>
>Thanks
>Surajit Nundy
>
>
># vtk DataFile Version 2.0
>Generated by RLMSSCAN.EXE
>ASCII
>DATASET POLYDATA
>POINTS 1064936 float
>   16.994    4.105   14.628
>   19.955    4.825   17.094
>   17.104    4.132   14.592
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic. 
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers






More information about the vtkusers mailing list