vtkDistanceRepresentation2D

Section: Visualization Toolkit Widget Classes

Usage

The vtkDistanceRepresentation2D is a representation for the vtkDistanceWidget. This representation consists of a measuring line (axis) and two vtkHandleWidgets to place the end points of the line. Note that this particular widget draws its representation in the overlay plane.

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

  obj = vtkDistanceRepresentation2D

Methods

The class vtkDistanceRepresentation2D 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 vtkDistanceRepresentation2D class.