[vtkusers] set origion to vtkPolyData
Jothybasu Selvaraj
jothybasu at gmail.com
Thu Mar 1 10:13:54 EST 2012
Use vtkPolyDataTransformFilter to set/translate the origin.
To the best of my knowledge, vtkPolyData has no SetOrigin method, it is
(0,0,0) by default.
Jothy
On Thu, Mar 1, 2012 at 2:32 PM, Hila Hiler <hilahiler at gmail.com> wrote:
> Hi All,
>
> I have a vtkPolyData which I need to write as .vtk file according to the
> origin of other itk_image which I have. (I need to align them)
> I tried to just write that poly by vtkPolyDataWriter but the origin is
> different.
>
> How should I do that?
>
>
>
>
> _______________________________________________
> 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
>
>
--
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120301/c836fee5/attachment.htm>
More information about the vtkusers
mailing list