Fixed infinite recursion in vtkBitArray::RemoveFirstTuple()

clang ToT warns:
vtkBitArray.cxx:592:1: warning: all paths through this function will call itself [-Winfinite-recursion]

Added vtkError too.

Change-Id: Ib62fa222900e39512f88a397567a8211a6c5888f
Tests: Add test for the vtkCornerAnnotation class

Today's code based on the Wiki example:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CornerAnnotation

Plus a few mods to do an image regression test.

Change-Id: I9264c16ac03391e046ea047f5b4cda0d934a280a
Added back the named components test in FiltersCore

Change-Id: I93f0b3f42b1bb3a7482464242c99b70cc34cbea6
Fix segfault with TestSetGet.

TestSetGet was segfaulting since vtkWebGLExporter was not initializing a char*.
Fixed that by using a std::string.

Change-Id: Iacb6c5c6d2f9170145e400e271a2d92dcdb8e81f
Fix build issues with deprecated vtkOpenGLPolyDataMapper.

One TCL enabled systems, if the empty cxx file was added, the wrapped logic
would end up generating code that fails to link when VTK_LEGACY_REMOVE was set.
Fixed that by simply excluding vtkOpenGLPolyDataMapper if VTK_LEGACY_REMOVE is
ON.

Change-Id: I1571fd3f39606ecfcbd1daa65ddd549f59fe0500
Merge topic 'deprecate_vtkOpenGLPolyDataMapper' into master

2be768b2 Fix build issues with deprecated vtkOpenGLPolyDataMapper.
Add a resampling filter

That filter use the current vtkProbe filter to probe the input dataset by
creating an image data that fulfill the sampling specification of the user.
This simplify a common type of processing that would otherwise require
a more complex workflow.

Change-Id: I3b9c6557bbdfa9d6553ceebcc3a0741960fec72e
Add JSON writer for ImageData

This allow user to dump an Image dataset into a JSON format.

Change-Id: I96d41f37c5bad8a8c3ff3f815ad6a39cb6c6490f
Merge topic 'coverage-named-components' into master

d9bb6024 Added back the named components test in FiltersCore
ENH: Added tests that were removed during modularization

As part of this topic, refactored TestDataObjectIO to remove
dependencies outside of IO/Geometry.

Change-Id: Icb94df4c3d4c330c36fcfb7c3f8cf6a479ec3a59
COMP: Refactored TestDataObjectIO

Modularized TestDataObjectIO to reduce test dependencies.

Change-Id: I86bab1c09847a7adc100a2d2429c5f455e70cda1
COMP: test require NO_VALID modifier

Recently added tests, otherLookupTable and otherLookupTableWithEnabling
do not produce images and must have NO_VALID modifier to prevent
cmake warnings.

Change-Id: I4a01435240c16304237e04b110e44f7c22ada0ff
ENH: Add removed tests

Restore tests that were removed as part of modularization.

BUG: expCos

Extra Delete's were present.

Change-Id: I22e087762481283acd12502a470f54ab3db9f71e
Fixed error in vtkFiltersCoreCxx-TestClipPolyData test

It was logging:
vtkPlanes: Please define points and/or normals!

The cause was a vtkPlanes object that was created but not usefully initialized.
Right after the log, DBL_MAX was returned and later cast to float, which is
too small to hold DBL_MAX and clang's ubsan flagged that error.

I added any old initialisation of the vtkPlanes, which is sufficient
since the test doesn't look too closely at the results of all its computations.

Thanks to Will at the hackathon for helping me figure this out!

Change-Id: I08f2863a718cb82fa54ecc7e2f1f3337f43b684d
Merge topic 'RenderingCore_NO_VALID' into master

9bce5da0 COMP: test require NO_VALID modifier
Merge topic 'IOGeometry' into master

b4e01469 ENH: Added tests that were removed during modularization
Merge topic 'Coverage_TestDataObjectIO' into master

ce5bab01 COMP: Refactored TestDataObjectIO
Merge topic 'Coverage_FiltersGeneral' into master

5881e35a ENH: Add removed tests
Extend vtkImageMapToColors to support Mask color and Non Active Scalar input

If a vtkValidPointMask char array is available. Then the NaN color
option will apply and that color will be used for all value that
are masked by that array.

In case of RGBA, the NaN color will use its 4 components, otherwise 3 for RGB,
2 for Luminance+Alpha and 1 for Luminance.

Change-Id: Ica51bb4eea44fb74eb87f4a6f1d7cdbccb609269
Merge topic 'add_image_base_filter' into master

ca29c4e9 Add JSON writer for ImageData
c4821d4b Add a resampling filter