[vtkusers] Default coordinate system for vtkPolyData !
Amy Squillacote
ahs at cfdrc.com
Tue Jan 15 09:36:34 EST 2008
Hi Salman,
vtkPolyData does not have a notion of what coordinate system it's in. I
don't think there's a way to get this information from a .vtp file. The
vtkActor is coordinate-system aware. Typically you use the world
coordinate system when you're setting up the points for a vtkPolyData,
but this does not have to be the case.
- Amy
M.Salman at surrey.ac.uk wrote:
>
>
> Thanks for your reply Amy.Supppose I have a vtp model,how do I find
> out which coordinate system is it using?
>
> I really appreciate your help,
>
> Thanks
>
> Salman
>
>
> -----Original Message-----
> From: Amy Squillacote [mailto:ahs at cfdrc.com]
> Sent: Tue 15/01/2008 2:06 PM
> To: Salman M Mr (PG/R - Electronic Eng)
> Cc: vtkusers at vtk.org
> Subject: Re: [vtkusers] Default coordinate system for vtkPolyData !
>
> Hi Salman,
>
> When saving out a .vtp file, VTK uses whatever point coordinates
> (vtkPoints) are defined in the vtkPolyData being written out.
>
> - Amy
>
> M.Salman at surrey.ac.uk wrote:
> >
> >
> > Hi All,
> >
> >
> >
> > I want to know which default coordinate system from the following does
> > VTK use while saveing a model in vtp format.
> >
> > DISPLAY - x-y pixel values in window
> > NORMALIZED DISPLAY - x-y (0,1) normalized values
> > VIEWPORT - x-y pixel values in viewport
> > NORMALIZED VIEWPORT - x-y (0,1) normalized value in viewport
> > VIEW - x-y-z (-1,1) values in camera coordinates. (z
> > is depth)
> > WORLD - x-y-z global coordinate values
> > USERDEFINED - x-y-z in User defined space
> >
> >
> > this is really important for me .
> >
> > Best Regards,
> >
> > Salman
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>
>
>
More information about the vtkusers
mailing list