[vtkusers] modifying the mesh's shape in real-time, is it possible!!!
Alex Malyushytskyy
alexmalvtk at gmail.com
Wed Sep 5 21:13:29 EDT 2012
Small, stand alone example which demonstrate the problem might help.
Code below is insufficient and
editing data, then forcing reader (filter) to update (from file?)
will re-create the data the same way as it was done before editing.
Alex
On Tue, Sep 4, 2012 at 12:42 PM, cerina <cerine-baratelli at hotmail.fr> wrote:
> Thanks for reply,
> i tried by doing this:
> for(vtkIdType a=0; a<50; a++)
> {
> reader->GetOutput()->RemoveCellReference(a);
> reader->GetOutput()->DeleteCell(a);
> reader->Modified();
> reader->Update();
> }
> but nothing is happening. Also, the program is bloked.
> Best regards
> Cerina
>
>
> Darshan Pai-2 wrote
>>
>> You can try calling the Modified() function after each change .
>>
>> regards
>>
>>
>> On Tue, Sep 4, 2012 at 1:00 PM, cerina <cerine-baratelli@> wrote:
>>
>>> Hello,
>>>
>>> I tried to modify the coordinates of a point in the mesh in real time,
>>> but
>>> no change in the shape of the mesh is observed!! it is impossible to
>>> change
>>> the shape of a mesh! and inreal-time????
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://vtk.1045678.n5.nabble.com/modifying-the-mesh-s-shape-in-real-time-is-it-possible-tp5715837.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
>>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/modifying-the-mesh-s-shape-in-real-time-is-it-possible-tp5715837p5715851.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
More information about the vtkusers
mailing list