[vtkusers] contour widget world coordinates

David E DeMarle dave.demarle at kitware.com
Fri Jun 25 11:20:21 EDT 2010


vtkRenderer::WorldToView will translate, based on the camera properties etc,
a given world coordinate into the view space.

The world coordinate system is the implicit basis of your data's geometry.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109


On Fri, Jun 25, 2010 at 11:09 AM, Haider Syed <hsyed88 at yahoo.com> wrote:

> Hi,
>
> I have a simple contour widget set up and I am using the
> GetNthNodeWorldPosition(0,pts) to get the points from the
> vtkcontourrepresentation of the widget, however, I am getting the
> coordinates in a world coordinate system.  I don't understand what VTK is
> basing this world coordinate system on? I have never specified a world
> coordinate system.
>
> How do I get the pixel coordinates of the contour points in the
> vtkContourWidget?
>
> Thanks,
> Haider Syed
>
>
> _______________________________________________
> 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/20100625/c12a2960/attachment.htm>


More information about the vtkusers mailing list