[vtk-developers] Cell Tree Locator Update

David Doria daviddoria at gmail.com
Thu Jul 28 20:11:02 EDT 2011


On Thu, Jul 28, 2011 at 7:37 PM, Andy Bauer <andy.bauer at kitware.com> wrote:
> Hi Tharindu,
>
> 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.
>
> Andy

> /home/acbauer/CODE/VTK/VTK/Filtering/vtkAbstractCellLocator.h:107: warning:
> `virtual int vtkAbstractCellLocator::IntersectWithLine(double*, do
> uble*, double, double&, double*, double*, int&, vtkIdType&)' was hidden

I think these "function was hidden" are fixed by saying "using
functionName;" in the subclass, as I've done here:
http://review.source.kitware.com/#patch,sidebyside,1862,1,Filtering/vtkKdTreePointLocator.h

If there is a better way to fix them, I'd like to know about it.

David



More information about the vtk-developers mailing list