<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div style="font-family:arial, helvetica, sans-serif;font-size:12pt">Hello,<br><br>I have see that when using <span id="result_box" class="" lang="en">vtkCompositeDataGeometryFilter on the multiBlockDataSet of UnstructuredGrid, the return vtkPolyData contains twice the same points array.<br><br>I mean, When creating my tetra that I set in the 2 unstructtured grid, they share the same points array:<br></span><span id="result_box" class="" lang="en"></span><span id="result_box" class="" lang="en">points array&nbsp; [ (0,0,0), </span><span id="result_box" class="" lang="en">(1,2,3), </span><span id="result_box" class="" lang="en">(-1,-2,-4) </span><span id="result_box" class="" lang="en"> </span><span id="result_box" class="" lang="en">]<br><br>And when </span><span id="result_box" class="" lang="en">the
 CompositeDataGeometryFilter is executed, I get the points of the generated vtkPolyData and I have this:<br>points array:</span><span id="result_box" class="" lang="en"> [ (0,0,0), </span><span id="result_box" class="" lang="en">(1,2,3), </span><span id="result_box" class="" lang="en">(-1,-2,-4), </span><span id="result_box" class="" lang="en">(0,0,0), </span><span id="result_box" class="" lang="en">(1,2,3), </span><span id="result_box" class="" lang="en">(-1,-2,-4)</span><span id="result_box" class="" lang="en"> </span><span id="result_box" class="" lang="en"> </span><span id="result_box" class="" lang="en">]<br><br>How can I do to only have the original points array in the generated polydata</span><span id="result_box" class="" lang="en">: [ (0,0,0), </span><span id="result_box" class="" lang="en">(1,2,3), </span><span id="result_box" class="" lang="en">(-1,-2,-4) </span><span id="result_box" class="" lang="en"> </span><span id="result_box" class=""
 lang="en">] ? Like this</span><span id="result_box" class="" lang="en"><span class="hps">, I could</span> <span class="hps">move a point</span> <span class="hps">belonging to</span> <span class="hps">two</span> <span class="hps">different</span> <span class="hps">cells that are in</span> <span class="hps">two different&nbsp;</span><span class="hps">blocks.<br><br>I have tried on the </span></span><span id="result_box" class="" lang="en">CompositeDataGeometryFilter but no change:</span><span id="result_box" class="" lang="en"><span class="hps"><br>&nbsp;&nbsp;&nbsp; info-&gt;Set(vtkAlgorithm::PRESERVES_DATASET(), 1);<br>&nbsp;&nbsp;&nbsp; info-&gt;Set(vtkAlgorithm::PRESERVES_GEOMETRY(), 1);<br>&nbsp;&nbsp;&nbsp; info-&gt;Set(vtkAlgorithm::PRESERVES_BOUNDS(), 1);<br>&nbsp;&nbsp;&nbsp; info-&gt;Set(vtkAlgorithm::PRESERVES_TOPOLOGY(), 1);<br>&nbsp;&nbsp;&nbsp; info-&gt;Set(vtkAlgorithm::PRESERVES_ATTRIBUTES(), 1);<br>&nbsp;&nbsp;&nbsp;
 info-&gt;Set(vtkAlgorithm::PRESERVES_RANGES(), 1);<br><br><br>Any idea would be welcome.<br><br>Thank you.<br><br></span></span><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> R M &lt;mlokida@yahoo.fr&gt;<br><b><span style="font-weight: bold;">À :</span></b> vtkusers@vtk.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Jeu 11 août 2011, 19h 34min 48s<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b> [vtkusers] User Interaction with MultiBlocDataSet with unstructured Grid<br></font><br><meta http-equiv="x-dns-prefetch-control" content="off"><div style="font-family:arial, helvetica, sans-serif;font-size:12pt;"><div>Hi,<br><br>I have a MultiBlockDataSet composed of severals unstructuredGrid (tetra, hexa,...). All The cells share the same points array and I have some blocks 'cells of the data set that
 share the same points.<div dir="ltr" style="zoom:1;"><span id="result_box" class="" lang="en"><span class="hps">The idea is to</span> <span class="hps">move a point</span> <span class="hps">belonging</span> <span class="hps">to a cell</span> of <span class="hps">block</span> <span class="hps">1</span> <span class="hps">and</span> <span class="hps">to a</span></span><span id="result_box" class="" lang="en"><span class="hps"> cell</span></span> of <span id="result_box" class="" lang="en"><span class="hps">block</span> <span class="hps">2</span>. Like this, because points array is share.<br><br>But, to render the
 multiblockdataset, I use a vtkCompositeDataGeometryFilter that give me a vtkPolyData.<br><br><span>Then I use&nbsp; the <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MoveAVertex">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MoveAVertex</a> example to select and move points.</span><br><br>The problem is that the points&nbsp; have been duplicated and are now independant (no more use of the global points array). <br><br>So, is there a way to preserve the points array information in order to well move points and preserve the topology ?<br><br>Thank you.<br></span></div></div></div><meta http-equiv="x-dns-prefetch-control" content="on"></div></div>



</div></body></html>