vtkScalarBarRepresentation

Section: Visualization Toolkit Widget Classes

Usage

This class represents a scalar bar for a vtkScalarBarWidget. This class provides support for interactively placing a scalar bar on the 2D overlay plane. The scalar bar is defined by an instance of vtkScalarBarActor.

One specialty of this class is that if the scalar bar is moved near enough to an edge, it's orientation is flipped to match that edge.

To create an instance of class vtkScalarBarRepresentation, simply invoke its constructor as follows

  obj = vtkScalarBarRepresentation

Methods

The class vtkScalarBarRepresentation has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkScalarBarRepresentation class.