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

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Mar 1 15:16:13 EST 2004


> I tried using vtkCoordinate class but they seem to do the transformation
> between viewport & global coordinates and don't seem to have dataset
> coordinate transformation. vtkRenderer class also have transformations
> between Display(viewport) & world(Global) coordinates. 
> 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!) 

Yoel,

    Did you had a look at:

	VTK/GUI/Python/CustomInteraction.py

especially the GetPosition method ?

HTH
Mathieu





More information about the vtkusers mailing list