[vtkusers] Animation of vtkUnstructuredGrid
Bill Lorensen
bill.lorensen at gmail.com
Tue Jun 8 15:37:52 EDT 2010
Please post your code.
2010/6/8 Сергеев Ефим <efim.sergeev at yandex.ru>:
> 08.06.10, 17:58, "David Doria" <daviddoria+vtk at gmail.com>:
>
> On Tue, Jun 8, 2010 at 9:46 AM, Сергеев Ефим <efim.sergeev at yandex.ru> wrote:
>>
>> I have some sophisticated code on C++, it seems must animate
>> vtkUnstrucuredGrid which loaded from C:\VTK\Data\blow.vtk file.
>> But code doesn't work. I not understand where error is located.
>>
>
> What do you mean by "doesn't work"? Can you be more specific? What are you
> trying to accomplish?
> There are many examples here: http://www.vtk.org/Wiki/VTK/Examples
> Including an animation demonstration. Please take a look and let us know if
> you still have questions.
> Thanks,
>
> David
>
> The file "blow.vtk" contain description of unstructured grid and 10 vectors
> "displacement0 ....displacement9" described by VECTOR keyword. Each vector
> of value in these vectors specifies the offset of the initial position of
> point is described by POINTS keyword.
>
> Using these data probably can construct animation for 10 frames, just move
> points to next position by adding displacement. This is the goal of my
> program.
>
> The basis of my program, this example
> http://www.vtk.org/Wiki/VTK/Examples/Utilities/Animation. But this example
> just move a sphere.
>
> My program runnig and displays the first frame, but after that the objects
> in the window not movin
> _______________________________________________
> 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
>
>
More information about the vtkusers
mailing list