[vtkusers] How can I do mirroring of the rendered scene?

P.H.Kitslaar at lumc.nl P.H.Kitslaar at lumc.nl
Mon Aug 13 03:12:44 EDT 2007


	   I need to perform the x or y- mirroring of the rendered
scene. Has VTK
	any class with such a feature?
	

Try this,

vtkTransform* userTrans = vtkTransform::New();
userTrans->Scale(-1,1,1); // mirror the x-axis

camera->SetUserTransform(userTrans);


Best regards,

Pieter Kitslaar



More information about the vtkusers mailing list