• David Thompson's avatar
    Use scalar annotations on interval-mode scalar bar. · 55cb7e11
    David Thompson authored
    This commit renders user-provided notes associated with specific
    scalar values on the interval-mode scalar bar. Previously, only
    the categorical mode rendered these annotations.
    Also, provide the scalar bar with an optional swatch
    to illustrate the color assigned to NaN values.
    Add an option to color leader lines from the scalar bar to
    the annotation labels by the corresponding scalar value.
    This commit also breaks the process of rebuilding the scalar bar
    into several virtual methods so that subclasses (particularly
    ParaView's `vtkPVScalarBarActor`) can reuse more of the base class
    functionality. The process is now separated into 2 phases: layout,
    where bounding boxes for scalar bar components are placed; and
    configuration, where actors are positioned and geometry is created.
    This includes some changes to text actor to support constrained
    placement and text size queries.
    Add a test for the new scalar bar options.
    There are now many more options contr...
vtkScalarBarActor.cxx 71.5 KB