Hello Users,<br><br>I have an unstructured grid which contains triangular elements. Now when it is displayed on the screen, user will do some changes to the cells. One such requirement is to change the common edge between two triangles. For example, if a common edge between two triangles is vertical, then on clicking, the common edge should become vertical. That means the point ids of both cells must be changed. <br>
<br>So I have been trying to change the point ids of the cells of an unstructured grids. But the changes are not reflected back on the render window. Here is what I am doing:<br><br>vtkCell *selCell = uGrid-&gt;GetCell( sel_id );<br>
<br>for( int i =0; i &lt; 3; i++ )<br>{<br>  selCell-&gt;GetPointIds()-&gt;SetId(i, new_val(i) );<br>}<br><br>selCell-&gt;Modified();<br><br>The above code will be executed twice( for two adjacent triangles )<br><br>this-&gt;uGrid-&gt;Modified();<br>
this-&gt;gridActor-&gt;Modified();<br><br>Any more changes need to be done inorder to reflect the changes ? How can the values of cell&#39;s pointids be changed and at the same time, be reflected back in the actor.?<br><br>
Thanks<br><br>Regards<br>Rakesh Patil<br>