[vtkusers] Add a Rectangle Actor to VTK RenderWindow

Jothy jothybasu at gmail.com
Wed Feb 2 07:24:32 EST 2011


Have a look at this

http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine

Jothy


On Wed, Feb 2, 2011 at 11:38 AM, Alex Southern <aps at tml.hut.fi> wrote:

> Hi chaps,
>
> I'm looking to add a rectangle (made up of just 4 lines with no fill color)
> to the render window.
>
> I want to be able to set its size and position and alter these with QT
> sliders. Ive got the QT side of this covered all set and ready to go, but
> what is the best way to create the rectangle in VTK?
>
> Thanks
> Alex
> --
>
> Alex Southern
> Researcher
> Aalto University
> School of Science,
> Department of Media Technology,
> PO Box 15400, FI-00076 Aalto, Finland
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110202/f7e59123/attachment.htm>


More information about the vtkusers mailing list