[vtkusers] multi-objects in VTK; loop-Problem

Fabian fabian-richter at gmx.de
Mon Aug 15 06:57:51 EDT 2011


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
pseudocode):

- 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,
Fabian

[Windows 7, MS Visual Studio 2010]

--
View this message in context: http://vtk.1045678.n5.nabble.com/multi-objects-in-VTK-loop-Problem-tp4700582p4700582.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list