[vtkusers] writer
sebastian ordas
sebastian.ordas at gmail.com
Sun Dec 4 05:51:06 EST 2011
not sure if I got it; but I think you need to apply the transformations
in your actors to their corresponding polydatas and then append the
transformed polydatas
have a look to:
actor->GetUserTransform() // in
vtkProp3D<http://www.vtk.org/doc/nightly/html/classvtkProp3D.html#a5cce6e4e754d06113adba06c184dc745>
vtkTransformPolyDataFilter
<http://www.vtk.org/doc/nightly/html/classvtkTransformPolyDataFilter.html>
// to apply that transform to the points in your polydata
good luck
sebastian
On 12/4/2011 3:26 AM, andon wrote:
> Thank you Sebastian, you were right, it works...i got just one more problem
> that i'm not able to solve...i try to explain it to you: in my scene i have
> two actors that are partially ovelapped, than i want to create from these
> two actor(than from their polydata) just one polydata so that i can write it
> on a file PLY, as it was all one actor, with vtkPlyWriter...now when i use
> the appendPolydata filter he takes the two actor but don't takes their
> original positions, so these became totally overlapped...how can i do if i
> want to take with me actor position?? Thank you very much, i hope you can
> help me...
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/writer-tp5044732p5045735.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111204/7523bc21/attachment.htm>
More information about the vtkusers
mailing list