[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] [Insight-users] Get the selection point in screen
From:       David Doria <daviddoria () gmail ! com>
Date:       2010-11-30 13:53:12
Message-ID: AANLkTikxbeWTUCXVqbntLsYUHev+VkCRkEc-czeOoK1r () mail ! gmail ! com
[Download RAW message or body]

On Mon, Nov 29, 2010 at 9:36 PM, Xiaopeng Yang <yxp233@postech.ac.kr> wrote:
> Index looks like world coordinates, but always is positive. For example, for a \
> point of world coordinates (-143.2, -277.5, 1407.9), its index is (169, 230, 34). \
> The index you mentioned is a int type. So I think we are talking about two \
> different things.

The Index you get from FindCell is a linear index into the image. I
added functions to get the structured index from the linear index:

http://review.source.kitware.com/#change,466

Any volunteers to review them?

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic