[vtkusers] Add a Rectangle Actor to VTK RenderWindow
Alex Southern
mrapsouthern at gmail.com
Thu Feb 3 06:53:34 EST 2011
On this subject,
if I change the positions of the points after the actor has been
rendered. How would I go about updating the render window to show the
new positions?
Do I have to delete all the used smartpointers and repeat the code
again? No doubt this will work but is there a better way?
Thanks
Alex
On 2.2.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
>
>
>
> _______________________________________________
> 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/20110203/f1973a50/attachment.htm>
More information about the vtkusers
mailing list