[vtkusers] Synthetic range image generation
Gerald Dalley
dalleyg at dma.org
Tue Feb 13 16:36:13 EST 2001
I am attempting to create some synthetic range images using VTK. I've
noticed that there is a vtkRenderWindow::GetZ method that will give me the Z
value for a pixel, but I need the scene X and Y coordinates also.
Preferably, I'd like to get the world (X,Y,Z) coordinates for everything.
Is this as simple as multiplying (screenX, screenY, GetZValue) by the
inverse of the ViewTransformMatrix of the current camera, or is there more
involved than this?
--Gerald Dalley
dalleyg at ee.eng.ohio-state.edu
More information about the vtkusers
mailing list