[vtkusers] vtktransform with vtkpolydata
wangjunchen at gmail.com
Mon May 24 09:06:23 EDT 2010
2010/5/24 pablo p del castillo <pablodecastillo at yahoo.es>
> How can i fix the origin in a vtkpolydata to apply a rotation with
> I did it with vtkActor, but then i need info about rotate points new
> position, and from actor i do not known how get it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~you can get the actor usermatrix and transform
the rotation center from the world frame to the actor frame. defaultly, the
usermatrix is an identity matrix. Note should be taken that usermatrix is
only change the camera of the scene, not the data itself.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers