Tooltip scalars to colors item
This adds support for showing a tooltip with the barplot of ScalarsToColorsItem
The ScalarsToColorsItem recently added support for showing a BarPlot (histogram) instead of the color texture, form a vtkTable data input.
This MR adds support for showing a tooltip when hovered by the mouse. The value showed is the index and values of the bar currently hovered.
Main changes are:
- Use ShiftScale for
GetNearestPoint - Deprecate a limited version of
GetNearestPoint - Correct
vtkTooltipItemby dragging item back inYAxisas well - Actual support of tooltip in
ScalarsToColorswithGetNearestPoint,GetTooltipLabelandShiftScaleusage
Edited by Joachim Pouderoux