[vtkusers] Add a Rectangle Actor to VTK RenderWindow

Alex Southern aps at tml.hut.fi
Wed Feb 2 17:47:37 EST 2011


Thanks,

This can be extended and adapted perfectly, and I think it is probably 
the simplest way as well.

Ta
Alex


On 02/02/2011 14:24, Jothy wrote:
> 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 
> <mailto: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 <http://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
>
>


-- 
Alex Southern
Post-Doc Researcher
Virtual Acoustic Team
Department of Media Technology
Aalto University
Espoo
Finland

Formerly TKK and
Helsinki University of Technology

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


More information about the vtkusers mailing list