[vtkusers] modifying the mesh's shape in real-time, is it possible!!!

cerina cerine-baratelli at hotmail.fr
Tue Sep 4 15:42:48 EDT 2012


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 &lt;cerine-baratelli@&gt; 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.



More information about the vtkusers mailing list