John, I applied your patch to Xdmf.<div><br></div><div>I just looked through some of you changes to vtkModifiedBSPTree and noticed you have a method that uses an STL vector in it's API. Can you switch that to use vtkIdListCollection instead? </div>
<div><br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkIdListCollection.html">http://www.vtk.org/doc/nightly/html/classvtkIdListCollection.html</a></div><div><div><br></div><div><br></div><div>+ // Description:</div>
<div>+ // After subdivision has completed, one may wish to query the tree to find</div><div>+ // which cells are in which leaf nodes. This function fills an array</div><div>+ // which holds a cell Id list for each leaf node.</div>
<div>+ void GetLeafNodeCellInformation(</div><div>+ vtksys_stl::vector< vtkSmartPointer<vtkIdList> > &LeafCellsList);</div></div><div><br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkIdListCollection.html"></a>Part of VTK's coding standards include not using STL as part of your API and I also I have heard STL doesn't behave well when crossing library boundaries on Windows Shared library builds.</div>
<div><br></div><div>Thanks!<br><br><div class="gmail_quote">On Mon, Mar 22, 2010 at 10:19 AM, Biddiscombe, John A. <span dir="ltr"><<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Utkarsh<br>
<div class="im"><br>
> You can always try to commit from a checkout of Xdmf from Xdmf repository.<br>
<br>
</div>Good plan. I'll assume Dave P has the patch under control, but will check in via xdmf if asked.<br>
<br>
JB<br>
</blockquote></div><br></div>