[vtkusers] set origion to vtkPolyData

Hila Hiler hilahiler at gmail.com
Thu Mar 1 12:27:01 EST 2012


Thanks.
please give an example how it's working (I haven't found the library which
I need to include)
any snap code would be appreciated ...

On Thu, Mar 1, 2012 at 5:13 PM, Jothybasu Selvaraj <jothybasu at gmail.com>wrote:

> 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/317195c1/attachment.htm>


More information about the vtkusers mailing list