vtkLabelPlacer

Section: Visualization Toolkit Rendering Classes

Usage

<b>This class is deprecated and will be removed from VTK in a future release. Use vtkLabelPlacementMapper instead.</b>

This should probably be a mapper unto itself (given that the polydata output could be large and will realistically always be iterated over exactly once before being tossed for the next frame of the render).

In any event, it takes as input one (or more, eventually) vtkLabelHierarchies that represent prioritized lists of labels sorted by their placement in space. As output, it provides vtkPolyData containing only VTK_QUAD cells, each representing a single label from the input. Each quadrilateral has cell data indicating what label in the input it corresponds to (via an array named "LabelId").

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

  obj = vtkLabelPlacer

Methods

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