[vtkusers] Seed point id identification

John Drozd john.drozd at gmail.com
Tue Nov 9 22:17:48 EST 2010


Hi,

The cell id is an Index.

In ITK, you can use TransformPhysicalPointToIndex or
TransformPhysicalPointToContinuosIndex which is a method belonging to the
ITK Image.
See the example code embedded in
http://www.itk.org/pipermail/insight-users/2002-October/001370.html
(the orientation problem has been fixed)

John
On Tue, Nov 9, 2010 at 8:49 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

>  Dear ITK and VTK members,
>
>
>
> As we know that in the PickPixel example, the world position of a seed
> point was picked by vtkPropPicker. However, I want to pick the cell id of
> that point. Because, in ITK, cell id is used for setting seed point
> position. So do you know how to pick the cell id?
>
>
>
> Thank you very much,
>
> Yang
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101109/a10069ff/attachment.htm>


More information about the vtkusers mailing list