[vtkusers] convert VTK dataset co-ordinates to global co-ordinates

HIRAKI Hideaki hhiraki at lab.nig.ac.jp
Tue Mar 2 01:44:18 EST 2004


At Mon, 1 Mar 2004 16:30:28 +1030, yoel mittelberg wrote:
> I would like to know how its possible to transform in VTK a dataset
> coordinate to global corrdinate. 

> 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!) 


Hi Michael,
Have you read Chapter 3 "Computer Graphics Primer" especially section 
3.6 and 3.7 before Chapter 8 "Advanced Data Representation"?
What you want might be something like:
  actor->GetTransform()->MultiplyPoint(pos)

Regards,

Hideaki Hiraki



More information about the vtkusers mailing list