[vtkusers] vtk Coordinate system clarification

David Gobbi david.gobbi at gmail.com
Mon Apr 5 18:21:12 EDT 2010


Hi Scott,

The vtkCellPicker isn't locked to the cell positions, so the
GetMapperPosition() method will return a continuous range of values,
it doesn't jump when you move from one cell to the next.

The CellId itself, though, can be best thought of as indicating the
corner of the voxel, and the PCoords are three fractional values in
the range [0,1] that give the x,y,z parametric coordinates within the
voxel.

  David


If your talking about the GetMapperPosition() method,

On Mon, Apr 5, 2010 at 3:16 PM, Scott Johnson <Scott.Johnson at neuwave.com> wrote:
> I’ve got one quick follow up to this.  If I get the coordinate of a CellId,
> such as returned by a vtkCellPicker, which happens to be an image, is the
> returned coordinate the center of the voxel or a corner?  If it’s a corner,
> which one?
>
>
>
> Thanks
>
>
>
>                                 -- Scott



More information about the vtkusers mailing list