[vtkusers] XYZ to RST coords
John Platt
jcplatt at lineone.net
Thu Jan 19 04:50:21 EST 2006
Hi Jonathan,
The parametric coordinates (r,s,t) used in VTK cells are defined in the
range (0,1). I am not sure what you mean by true RST coordinates but
they can be transformed to (-1,1) by ( -1 + 2*r ).
Have you looked at EvaluatePosition() for (x,y,z) to (r,s,t)?
HTH
John.
-----Original Message-----
From: vtkusers-bounces+jcplatt=lineone.net at vtk.org
[mailto:vtkusers-bounces+jcplatt=lineone.net at vtk.org] On Behalf Of
jonathan grimm
Sent: 18 January 2006 19:58
To: vtkusers at vtk.org
Subject: [vtkusers] XYZ to RST coords
Is there a way to convert the parametric coordinates from vtkCell to
true RST coordinates?
Is there a different way to do XYZ -> RST in vtk.
My cells are vtkQuadraticHexahedrons. I am using vtk4.4, but
vtkQuadratic Hexadron has a patch from the CVS.
--
Sometimes it's hard to tell the dancer from the dance - Corwin in CoC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060119/b4efb51c/attachment.htm>
More information about the vtkusers
mailing list