<P>
Hi Guys,<BR>
<BR>
I would like to know how its possible to transform in VTK a dataset coordinate to global corrdinate. <BR>
For ex: I have a 3D Model which has been enabled to be picked. Everytime its picked I put a marker on the model &amp; I store the cellId of the picked cell. I am required to animate the 3D Model &amp; the marker needs to move with the model.<BR>
<BR>
What I tried to do when I change the model position for each animation frame is to get the vtkCell using the stored cellId. From there I try to retrieve the cell position for any one of the 3 cell points<BR>
<BR>
&gt;&gt; cell-&gt;GetPoints()-&gt;GetPoint( 0, pos);<BR>
<BR>
The position retrieved seems to be in dataset coordinates ( Is this correct ???)<BR>
<BR>
Instead of the above, I also tried to retrieve the Global position of the vtkCell object using <BR>
<BR>
&gt;&gt; cell-&gt;EvaluateLocation( subId, pcoords, gcoords, weights). <BR>
<BR>
But the &quot;gcoords[]&quot; returned seem to have similar values like GetPoint() showed above and don't seem to be in global coordinates.<BR>
<BR>
I tried using vtkCoordinate class but they seem to do the transformation between viewport &amp; global coordinates and don't seem to have dataset coordinate transformation. vtkRenderer class also have transformations between Display(viewport) &amp; world(Global) coordinates.<BR>
<BR>
The Visualisation Toolkit book has some info wrt to coordinates in Chapter 8, section 3( i.e 8.3 ). I am wondering if anyone has implemented any class that encapsulates that logic( I expected vtkCoordinate to do this but alas!)<BR>
<BR>
So I am caught out hopelessly after breaking my head over several techniques &amp; I would be grateful if someone can provide me with that crucial tip that will open my mind to the vast possibilities in vtk coordinate space :).<BR>
<BR>
Thank You.<BR>
<BR>
Cheers,<BR>
Michael Thomas<BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0 HEIGHT=74 WIDTH=496></a>