BUG: ChartPie tooltip is wrong

ChartPie's tooltip is formatted in
vtkChartPie::LocatePointInPlot. This method relies on
PlotPie:::GetNearestPoint, but the plotpos vector was not being
computed by GetNearestPoint. Consequently, the tooltip always reported
a 0 value for the dependent variable.

In this patch, PlotPie:::GetNearestPoint computes the dependent
variable and return it in plotpos[1]. In addition, plotpos returns the
independent vaiable in plotpos[0]. ChartPie now uses plotPos.GetY() to
obtain the dependent variable. This seems consistent with other
charts.

To reproduce the problem (before the patch) and verify (after the
patch) run:

vtkChartsCoreCxxTests "TestPieChart" -I
and move the mouse of each pie chart segment.

Change-Id: I5c3d56a79c3ceca6616bae2b0a7a85f9c15f2293
Merge topic 'BadToolTip_PlotPie' into master

e3025f5a BUG: ChartPie tooltip is wrong
Add CMake options to allow proper Java Packaging of the VTK libraries

In order to properly build a Java package of the VTK libraries you
will need to configure CMake with at least he following options:

 -DCMAKE_BUILD_TYPE:STRING=Release
 -DVTK_JAVA_INSTALL:BOOL=ON
 -DCMAKE_INSTALL_PREFIX:PATH=/.../install
 -DVTK_WRAP_JAVA:BOOL=ON

Eventually you can customize the following ones for Maven but by
default they will be filled with a valid local configuration.

   -DMAVEN_LOCAL_NATIVE_NAME:STRING=Win32

   # By default it will contain only the local setup but can be override
   # for release in order to provide the full set of native artifacts
   -DMAVEN_NATIVE_ARTIFACTS:STRING=Win32;Win64;Linux32;Linux64;OSX

   # Path where the local repos should be stored.
   # The listed value is the default one.
   -DMAVEN_LOCAL_REPOSITORY:STRING=${user.home}/vtk-maven-repos

   # Group id artifact for the generated VTK
   -DMAVEN_VTK_GROUP_ID:STRING=kitware.community

Then do a "make install"

Once VTK is installed inside the install directory you can rely
on Maven to deploy/install the generated package.
For that please read the README.txt file that has been pushed
to the install directory.

Change-Id: Ie552f80398c122832e153cf52813099967e1d7c6
Merge topic 'fix-java-package' into master

d1e502e0 Add CMake options to allow proper Java Packaging of the VTK libraries