[vtkusers] PolyData actor is invisible after applying scale(1, 1, -1)

zlf jxdw_zlf at yahoo.com.cn
Sun Sep 2 23:53:57 EDT 2012


Hi all,

I place a cube polydata actor in renderer and reset camera. It is visible.
But after applying scale (1,1,-1) to actor and reset camera, the actor is
invisible.

            vtkTransform transform = new vtkTransform();
            transform.SetMatrix(viewMatrix);
            transform.Scale(1, 1, -1);
            cubeActor2.SetUserTransform(transform);

How to make it visible?

Regards,

zlf



--
View this message in context: http://vtk.1045678.n5.nabble.com/PolyData-actor-is-invisible-after-applying-scale-1-1-1-tp5715785.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list