[vtkusers] get selected area's point coordinates
czbebe
oka at bpe.es.osaka-u.ac.jp
Tue Sep 13 21:41:14 EDT 2011
Dear David,
My anxiety is ids will be changed in case of clipping cutting surface.
Because points on the surface may not the same as original figure's
(for example cuboid) points. I tried to get ids by rubberband, but
their ids are differnet from original ids. So, id is not trusted and
I want to get points' coordinates of selected points for which
original ids will be guessed.
Best regards,
Oka
David Doria-2-3 wrote:
>
> On Tue, Sep 13, 2011 at 7:24 AM, oka <oka at bpe.es.osaka-u.ac.jp>
> wrote:
>> Dear Users,
>>
>> How can I get point coordinates of rubbberband or click
>> selected area ? I know node or element label numbers can
>> be obtained, but how about point coordinates ?
>> My trial is to get the closest original points to clipping surface
>> points when clipping was done. Clipping generates new points
>> which has different coordinates and labels from original ones.
>> Therefore, I want to estimate the closest original points from
>> clipped selected surface's point coordinates.
>>
>> Best regards,
>>
>> Oka
>
> If you use a vtkIdFilter before the selection you can then get the
> original point ids of the selection, as demonstrated here:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/HighlightSelectedPoints
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
View this message in context: http://vtk.1045678.n5.nabble.com/get-selected-area-s-point-coordinates-tp4798115p4801064.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list