Fix a compilation issue when crosscompiling.

The issue appears when crosscompiling on Windows using NMake and
targeting the Android platform (Linux & gcc based).
The vtkmkg3states tool is not built (because of the flag
CMAKE_CROSSCOMPILING), however, the tool is still called to
generate the tif_fax3sm.c file, which leads to a unknown file error.

I do not know the internals but tif_fax3sm.c already exists and
to fix the issue I propose to call the vtkmkg3states tool only
if it has been built.

Change-Id: I924c39bf692fa005e8852ddb6a4b8a7f2c3ed6a8
Add DrawMarkers to Context2D.

This patch moves the point marker rendering from vtkPlotPoints to
the vtkContext2D classes, allowing GL2PS export to properly handle
the plotted points.

Change-Id: Iaf17bc73f90f7cb330a319e0944e6bf4badc86a6
Add opacity and stroke/fill options to GL2PS DrawPath.

Change-Id: I631922bdcb708c0912685eb0d1c2b1e92134d79c
Draw ellipses as paths in vtkGL2PSContextDevice2D.

Change-Id: Ib08e41f9d5057d2041a0af38268d5994f121c2d6
REFACTOR: Move vtkTuple to Common/Math

This move is necessary to be able to derive vtkQuaternion from
vtkTuple and be able to use vtkQuaternion in the class
vtkQuaternionInterpolator (in Common/Math)

This will not change anything for the other classes in Common/DataModel
as they depend on vtkCommonMath.

Change-Id: I06b6c64119304b6241ae41c44aeb0aec2c5af886
Add vtkRenderingCoreEnums.h for marker type enum.

Change-Id: Icb9222fb6d4ecfefb071add73d6c5c5f95777306
Rename MarkerCacheSize to MaximumMarkerCacheSize, fix warning.

Change-Id: I4e9ec942a0bc04ee7db3c5a15210304f410988e3
Fix indentation.

Change-Id: I1252e768746a82d09675cb111fa9891e3233a92f
ENH: Add a quaternion class to vtk, vtkQuaternion

This class creates a quaternion with all the operators that would be
expected from it. The vtkQuaternion itself is templated over any type
but the class also adds vtkQuaternionf (float version)
and vtkQuaterniond (double version).
Adding corresponding test also.

Change-Id: I9d27f8bbb532e9fb23cc0ae25446c13e8e5fc154
REFACTOR: Change vtkQuaternionInterpolator to use vtkQuaternion

So far, the methods add() and interpolate() accept both double[4]
and vtkQuaternion to make sure the interface with the
transforms hasn't changed.
However the underlying architecture changed to handle vtkQuaternion
rather than its own quaternion structure.

Change-Id: I0ad0a3837dd99e39455b0b4ac06d196bd0af0abc
Removing random in regression tests.

It was noticed in skinOrder.tcl that when run under ctest,
math.Random() produces different results to that when run
interactively.
These are the rgb values when skinOrder.tcl is run as a test:
 0.87595 0.598302 0.656878
 0.641134 0.536594 0.537889 ...

When we run the tcl version as as standalone:
 0.504606 0.909988 0.673732
 0.915603 0.533519 0.857481 ...

In the case of Python code the standalone values are the same
as when it is run under ctest.

To resolve this discrepancy, preset values are used.

TestParametricFunctions.tcl has been moved to
Common/ComputationalGeometry/Testing/Tcl but not activated
as a test because the Python one should be sufficient.

Change-Id: I1a35ff34ba139ce5afd15ad3f3c81b4fe444c4aa
Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>
Restore default y axis title to middle position (horizontal layout)

Change-Id: Ide8d2e6e3e4044f7dcd5b307e548d63a02cd69a5
Test different fonts and shapes on axis and plot titles

Change-Id: Id75c708e99f16636e1b74a685b8db54d53ee36c3
Fixed initialization of label and axis title text properties

Change-Id: I7b6f854e68b46d22b3a04dff37668cb6e0e098ab
Checkpoint in clean-up to eliminate a subtle runtime failure

Change-Id: If2e4625b365e2a63d2a40ecd284e41007b807aee
Fixed bug that was causing circular references across pointers

NB: This caused the code to fail under specific conditions, because
a text property was directly handed out as opposed to shallow copied.

Change-Id: Ia8ef7ad08121b478ebfebcab0f8f49cde7e7eb2a
Removed code that was used to hunt down a memory stomping issue.

Change-Id: I9d6873dae483e52231d02da6ddf62cd08970b103
Merge topic 'FixTCLxyPlotTests' into master

cabe038d Removed code that was used to hunt down a memory stomping issue.
2dd658e0 Fixed bug that was causing circular references across pointers
674d9b77 Checkpoint in clean-up to eliminate a subtle runtime failure
f44fb47f Fixed initialization of label and axis title text properties
da4afdd6 Test different fonts and shapes on axis and plot titles
adf798f1 Restore default y axis title to middle position (horizontal layout)
Merge topic 'GL2PSPlotPoints' into master

2047e084 Fix indentation.
1feb6281 Rename MarkerCacheSize to MaximumMarkerCacheSize, fix warning.
18fde7ec Add vtkRenderingCoreEnums.h for marker type enum.
e9af937a Draw ellipses as paths in vtkGL2PSContextDevice2D.
8bec87a3 Add opacity and stroke/fill options to GL2PS DrawPath.
94f5564b Add DrawMarkers to Context2D.
Merge topic 'fix-vtktiff-against-unknown-vtkmkg3states' into master

f592cec4 Fix a compilation issue when crosscompiling.