optimize geojson writer

Conversion from double value to char representation
is killing performance. This change replaces ostreams
with string appends to speed it up.

Change-Id: Ice0e8694deeb8898340dd7c989689aa4511c7fb4
more optimization of geojson writer

Move from strings to sprintfs to be faster still.
Requires manual buffer management of course.

From here we have to move to bson and then to
more compact representations.

Change-Id: I043fe5e4b3308449ac30092fa7128c7475ff47d8
Fix bug in picking of invisible props in an assembly.

This bug was described in
http://paraview.org/Bug/print_bug_page.php?bug_id=9459
When a actor in an assembly is hidden it may happen that it can
be picked anyway. To fix that we make sure the prop is
visible and pickable before performing the pick rendering pass for it.

Change-Id: I0c546d68ffe41cce956f7a59e8c8b4defeddb0c0
ENH: Rename nodes to points in vtkStructuredData

Modified the function names in vtkStructuredData to use "points"
instead of "nodes" in order to be consistent with the rest of VTK.
Further, updated all affected code that is using vtkStructuredData
to reflect this change.

Change-Id: Iad0a876b49e0b5439e47b963c73885c2ade3c0d6
fix potential segmentation fault

If one table and one tree were requested as output from
vtkRCalculatorFilter, its output would be a vtkTable or vtkTree.
It actually needs to be a vtkMultiPieceDataSet to contain both
objects though, and this would result in a segmentation fault
shortly thereafter.  This commit fixes this degenerate case
and adds a test for it.

Change-Id: I53e468bba2e2d336dc7a4a7f9fb53fdcb64f98b6
BUGFIX: Fix issue with unigrid enzo datasets

Fixed issued with unigrid enzo datasets. The reader
was calculating number of levels to be 0, which was
leading to a segfault. Added code to detect unigrid
datasets and fixed the issue by setting the number
of levels to 1.

Change-Id: Ie9f1fbe8c3c38c69e5761b357256be9531ed10f3
Clean up vtkMedicalImageProperties PrintSelf.

Change-Id: I721d91a75a04f485a34aeed9fa04b154d892b1f8
change the way we shut down the R interface

The use of atexit() was causing R code that uses the parallel
library to fail nondeterministically.

Change-Id: Iff8eaafd786341f7bc10d50338c50525be492385
Fix and clean vtkWin32OpenGLRenderWindow class.

The fix concerns the window name (title): before this patch, the name
could only be set once the window was created. A default name
was provided and appears in the title bar.
The window name can now be set before the window creation as
under the X implementation for instance.

Fixed some nonsence code in GetPosition().

On the side, the code has been cleaned (coding style, useless comments...)

Change-Id: I9e47941a932b1137964f93c6929bc0d0a2971ba3
Merge topic 'FixAndCleanWin32OpenGLRenderWindow' into master

98fcc712 Fix and clean vtkWin32OpenGLRenderWindow class.
Merge topic 'rename-nodes-to-points' into master

9bfa169c ENH: Rename nodes to points in vtkStructuredData
Merge topic 'enzo-unigrid-support' into master

df25648b BUGFIX: Fix issue with unigrid enzo datasets
Export the locations of Qt5 packages on which modules depend

Qt5 packages provide libraries to VTK in the form of imported targets.
VTK libraries that link to them get exported with dependencies on the
imported targets.  We must make them available to applications that link
to these VTK libraries too.

Teach each module that depends on Qt5 to export code that runs when
an application loads the module as part of its build process.  Find
the needed Qt5 package on behalf of the application to satisfy the
module's dependency on it.

Change-Id: Ib638ccafa084fbb06c20eb09464265501ccafc80
Prevent error message when deep copying vtkGridTransform

Change-Id: I99c13233c9870f25b34947e071a9a23e33d710c2
Change GetInputConnection error message into a debug warning message

Change-Id: Ide8b69796a73b910d877a9c716de9e93f63fa29b
Merge topic 'vtkr_segfault' into master

21d92cf5 change the way we shut down the R interface
b77eff3c fix potential segmentation fault
fix failing R tests reported by CDash

This commit should resolve any "R is already initialized" errors.

Change-Id: Ie1814e1dffaa1a975b5305df0a1a66d3edff5304
Merge topic 'mip-printself' into master

21f10c8c Clean up vtkMedicalImageProperties PrintSelf.
Merge topic 'export-qt5-location' into master

23fbbebc Export the locations of Qt5 packages on which modules depend
Fix warning about trailing comma in enum list.

Change-Id: I82f4b76f30f7b7b57c6050727a5927516791a2d4
Clang: commas at the end of enumerator list are a C++11 extension
[-Wc++11-extensions]