[vtk-developers] Bug in vtkBorderRepresentation

Paul Harris harris.pc at gmail.com
Thu Aug 11 05:24:10 EDT 2011


Hi,

I am trying to use the vtkScalarBarWidget,

I have noticed that if you set the Border to ON (as opposed to off or
active), the border is not visible until:
* the widget is made Selectable via SelectableOn()
* you move the mouse over the widget
* you force a screen refresh

The BWActor is what is responsible for drawing the border around the scalar
bar, and its visibility is only set during
vtkBorderRepresentation::ComputeInteractionState().

The documentation for vtkBorderRepresentation states that if the border is
ON, then it should always be visible.
For this to happen, BWActor's visibility should also be set during the
ShowBorder() method call.

right?

cheers
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110811/382580a7/attachment.html>


More information about the vtk-developers mailing list