[vtkusers] multi-objects in VTK; loop-Problem
dzenanz at gmail.com
Mon Aug 15 08:32:43 EDT 2011
Have you considered using an array of planes? So instead of plane1, plane2
etc you have plane, plane?
On Mon, Aug 15, 2011 at 12:57, Fabian <fabian-richter at gmx.de> wrote:
> Hi everyone,
> I am quite new in VTK so this might be an easy question:
> I want to write a program, that shows me a specified number of polygons
> (lets say 1000).
> For some reasons I need different ojects. So I thought of rendering 500
> planes (2 polygons each).
> So i would like to create a loop that works like this (of course this is
> - loop (for i < 500)
> - create a vtk-plane with vtkplanesource with the name plane#i (plane1,
> plane2, plane3,...plane500)
> - i++
> Unfortunately I cannot manage this problem.
> Any help is appreciated, THANK YOU,
> [Windows 7, MS Visual Studio 2010]
> View this message in context:
> Sent from the VTK - Users mailing list archive at Nabble.com.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers