Hi Tharindu,<br><br>I'm getting the compiler warnings listed below. The test is also failing on my machine. I'm getting a floating point exception on line 368 with rvol as as -inf.<br><br>Andy<br><br>In file included from /home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.cxx:2:<br>
/home/acbauer/CODE/VTK/VTK/Filtering/vtkAbstractCellLocator.h:100: warning: `virtual int vtkAbstractCellLocator::IntersectWithLine(double*, do<br>uble*, double, double&, double*, double*, int&)' was hidden<br>
/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.h:71: warning: by `virtual int vtkCellTreeLocator::IntersectWithLine(double*, double<br>*, double, double&, double*, double*, int&, vtkIdType&, vtkGenericCell*)'<br>
/home/acbauer/CODE/VTK/VTK/Filtering/vtkAbstractCellLocator.h:107: warning: `virtual int vtkAbstractCellLocator::IntersectWithLine(double*, do<br>uble*, double, double&, double*, double*, int&, vtkIdType&)' was hidden<br>
/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.h:71: warning: by `virtual int vtkCellTreeLocator::IntersectWithLine(double*, double<br>*, double, double&, double*, double*, int&, vtkIdType&, vtkGenericCell*)'<br>
/home/acbauer/CODE/VTK/VTK/Filtering/vtkAbstractCellLocator.h:129: warning: `virtual int vtkAbstractCellLocator::IntersectWithLine(const doubl<br>e*, const double*, vtkPoints*, vtkIdList*)' was hidden<br>/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.h:71: warning: by `virtual int vtkCellTreeLocator::IntersectWithLine(double*, double<br>
*, double, double&, double*, double*, int&, vtkIdType&, vtkGenericCell*)'<br>/home/acbauer/CODE/VTK/VTK/Filtering/vtkAbstractCellLocator.h:226: warning: `virtual vtkIdType vtkAbstractCellLocator::FindCell(double*)' was<br>
hidden<br>/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.h:61: warning: by `virtual vtkIdType vtkCellTreeLocator::FindCell(double*, double, v<br>tkGenericCell*, double*, double*)'<br>/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.cxx: In member function `void CellTreeBuilder::Split(unsigned int, float*, float*)':<br>
/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.cxx:355: warning: comparison between signed and unsigned integer expressions<br>/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.cxx: In member function `virtual vtkIdType vtkCellTreeLocator::FindCell(double*, doubl<br>
e, vtkGenericCell*, double*, double*)':<br>/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.cxx:620: warning: unused variable `found'<br>/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.cxx: At global scope:<br>
/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.cxx:606: warning: unused parameter `vtkNotUsed'<br>/home/acbauer/CODE/VTK/VTK/Filtering/vtkCellTreeLocator.cxx:669: warning: unused parameter `cell'<br><br><div class="gmail_quote">
On Thu, Jul 28, 2011 at 6:42 PM, Tharindu De Silva <span dir="ltr"><<a href="mailto:tsameera1@gmail.com">tsameera1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<div><br></div><div> The updated files in cell tree locator implementation can be found in <a href="http://review.source.kitware.com/#change,2223" target="_blank">http://review.source.kitware.com/#change,2223</a>. I moved the code to a new branch, since earlier branch was mixed with some vtkAxis commits. </div>
<div><br></div><div> This version contains some of the bug fixes and added functions contributed by John. </div><div><br></div><div> Please give any comments you have on how to improve the code. An example CellLocator2.cxx tests the IntersectWithLine method in the new class.</div>
<div><br></div><div><br></div><div>Thank you,</div><div><br></div><div>Regards,</div><div><br></div><font color="#888888"><div>Tharindu</div>
</font></blockquote></div><br>