[vtkusers] Border in vtkRenderWindow

Scott Johnson Scott.Johnson at neuwave.com
Thu May 13 18:50:50 EDT 2010


Hi Folks,

 

I'm trying to figure out the easiest way to put a colored border around
the edge of a vtkRenderWindow.  Right now I can think of something like:

 

vtkCubeSource -> vtkCutter -> vtkPolyDataMapper2D -> vtkActor2D

 

I could then size the vtkCubeSource to match the vtkRenderWindow
dimensions and set the color via the properties of the vtkActor2D.  It
should react to resize events as well.

 

Is there an easier way?

 

Thanks

 

                                -- Scott

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100513/d1a2e66d/attachment.htm>


More information about the vtkusers mailing list