I’m currently using vtkLabelPlacementMapper to label a bunch of points in my scene. My trouble is that if I label points that are coincident, vtkLabelPlacementMapper is moving the points so they don’t overlap anymore. I realize this is part of the purpose of this mapper, but is there anyway I can have it leave the points alone even if the labels end up not being readable because their on top of each other?
We ran into the same issue in 3D Slicer. My conclusion was that the implementation of vtkPointSetToLabelHierarchy/vtkLabelPlacementMapper is not just buggy but incomplete. Among other things, label position perturbation is not fully implemented and its current behavior is basically random.
There is no on/off switch for the label position perturbation (it is one of the many things that would need to be implemented), but we applied the following workaround: in vtkPointSetToLabelHierarchy set maximum depth to a large number (e.g., 10) and in vtkLabelPlacementMapper set PlaceAllLabelsOn: