[vtkusers] Where is the math behind world to display coordinates and vice versa, implemented in vtk?

vinmean iamdpak at gmail.com
Wed Jan 31 02:08:36 EST 2018


I want to recreate the transformation from display to world and world to
display coordinate system.  Where is the math behind coordinate conversion
implemented? I am unable to trace it from the viewport class that provides
the member function WorldToDisplay and DisplayToWorld.

	renderer->SetWorldPoint(wrld_cord);
	renderer->WorldToDisplay();
	renderer->GetDisplayPoint(scr_cord);

Please point me to the math either in the code or in some tutorials.



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list