Minor improvement to vtkProbeFilter in dealing with tolerance.

vtkProbeFilter uses the bounds of the whole dataset in choosing the
tolerance for FindCell(). This is problematic for large datasets
where the bounds are significantly larger than individual cells.
I added an extra check that happens after finding the closest cell.
This check rejects the cell if the point is outside it by a distance
of 1/10 the size of the cell.

Change-Id: I86807d19fa313e576a1d51fbf34623099800dd3c
Prevent division by 0 by bailing early

If size[0] or size[1] are <= 0, bail early in the same
way as is currently done if size is NULL.

Fixes undefined behavior reported by clang's
-fsanitize=float-cast-overflow where the resulting
NaN is later converted to float (a UB).

Thanks to Dave Cole for the suggested fix.

Change-Id: Iae41eb91701e79f56bb1adb3d9fc7631260e203a
Fixed invalid double->uchar conversion due to off-by-one error

Code was trying to convert 257.023810 to 'unsigned char'
during vtkRenderingVolumePython-TestBunykRayCastFunction test.

An off-by-one error was causing each loop to increment
a bit too much, and thus not ending at 255.0.

Found by clang ubsan; fix by David Gobbi.

Change-Id: I9af8ee13ba687e2d2ca94705214cd56549e1e44f
Minor misc cleanup of vtkUnstructuredGridPreIntegration.cxx

-Removed unneeded NULL tests before delete
-use floating point constants
-declare variables nearer to usage
-whitespace

Change-Id: Ia4d63031652cc551fdc2593acc3a4f737d188667
Merge topic 'sanitize-float-cast-overflow' into master

2660b547 Minor misc cleanup of vtkUnstructuredGridPreIntegration.cxx
e1cac9e2 Fixed invalid double->uchar conversion due to off-by-one error
5bb0f14f Prevent division by 0 by bailing early
Added newline to better group different things

Change-Id: I2cf2af7c5320279fc4c822c67798232fd564ef4b
Merge topic 'isnan-compile-fix' into master

970c8227 Added newline to better group different things
Pass complete list of include directories to the wrappers

The Python wrapping needs a complete (recursive) list of the include
directories, restoring parity with Tcl and Java.

Change-Id: Id9e166bb2a5619f33b3402ce440ed08dfcec3186
Merge topic 'probe-fix' into master

27746b47 Minor improvement to vtkProbeFilter in dealing with tolerance.
COMP: Allow the parser to handle pointers to __stdcall functions.

An instance of "( __stdcall *func)()" in a typedef caused a syntax
error for the wrapper-parser because of the special rules that the
parser has for treating "(*" as a single token.

Change-Id: If69a60873eb3d3780faa1516c59f120ac760a3d0
ENH: Remove leaves from a vtkTree.

Add a new filter vtkRemoveTreeLeafFilter to remove
leaf nodes from a vtkTree.

Change-Id: I4fd6866d679c871396ff4814af1bde058a1334ba
ENH: New filter to extract subtrees.

Add a new filter (vtkExtractSelectedTree) to extract or
remove subtrees from a vtkTree.
The implementation is similar to vtkExtractSelectedGraph.

Change-Id: Ib31ed4b26634f37a53b44369cd32ac414f050a08
Merge topic 'TreeDropTip' into master

d2ea912b ENH: New filter to extract subtrees.
15a2c632 ENH: Remove leaves from a vtkTree.
Merge topic 'stdcall-pointer' into master

93905447 COMP: Allow the parser to handle pointers to __stdcall functions.
Merge topic 'python-recurse-include-dirs' into master

12a6730e Pass complete list of include directories to the wrappers
COMP: Remove the obsolete WRAP_HEADER property.

Headers to be wrapped by python can be marked WRAP_SPECIAL.

Change-Id: Ia505e0684517d8cd50bd4aa371ff49ac51e5fd13
Merge topic 'remove-wrap-header' into master

e2f1fa2b COMP: Remove the obsolete WRAP_HEADER property.