[vtkusers] how to move a object

小强 kingaza at gmail.com
Fri Apr 27 09:49:41 EDT 2012


Hello Jothy,

Thanks for your help.
But I need a slow process, i.e. to move a vtkActor from position a to b in
5 seconds, and how do I set the time?

Best Regards,
Kingaza


On Fri, Apr 27, 2012 at 9:21 PM, Jothybasu Selvaraj <jothybasu at gmail.com>wrote:

> Use vtkActor::SetPosition or AddPosition to translate or
> vtkActor::RotateX/YZ to rotate.
>
> Jothy
>
> On Fri, Apr 27, 2012 at 2:12 PM, 小强 <kingaza at gmail.com> wrote:
>
>> Hello vtkusers,
>>
>> I am really new to vtk.
>> Here is a question that I want to move something to new position with a
>> certain velocity (translate or rotate the object itself, instead of moving
>> the camera), and I want to see this process slowly and clearly during the
>> period. However, I have not found the way.
>> Could you please help me? Thanks a lot.
>>
>>
>> Cheers,
>> Kingaza
>>
>> _______________________________________________
>> 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
>
>


-- 
Cheers,
Kingaza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120427/e7b41452/attachment.htm>


More information about the vtkusers mailing list