[vtkusers] execute the transform and get the results

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue Nov 5 12:58:28 EST 2002


>>>>> "TT" == Tao Tao <ttao at acusoft.com> writes:

    TT> HI, All: if I have a vtkPolyData object and I apply
    TT> vtkTransform on it, how do I let the transform to be executed
    TT> and get the results ? Currently, the only way I can do is to
    TT> render it (call the vtkRenderer::Render() method and it will
    TT> execute all transfroms) -- but this sounds too stupid. thanks!

The Update() method is your friend.  Call tranform.Update() or
your_poly_data.Update() and your transformation should take effect.

cheers,
prabhu




More information about the vtkusers mailing list