[vtkusers] Draw a 2D rectangle onto a region of the screen

Dan Lipsa dan.r.lipsa at gmail.com
Wed Aug 22 06:34:13 EDT 2012


A solution to my problem is given by

Examples/Annotation/Tcl/multiLineText.tcl

from the VTK distribution.

This example shows how to draw a grid and can be easily adapted to what I want.

Cheers,
Dan


On Tue, Aug 21, 2012 at 5:03 PM, Dan Lipsa <dan.r.lipsa at gmail.com> wrote:
> Hello vtk users,
> Is there a simple way to draw a rectangle onto a region of the screen?
>
> I want to use this to highlight the current view. I have looked at
> vtkActor2D but nothing seems appropriate.
> I also looked at vtkBorderWidget but this seems more for interaction
> rather than simple display.
>
> Thanks a lot!
>
> Dan



More information about the vtkusers mailing list