[vtkusers] Automatic building of Cubes

Rene_Wohlgethan rwohlgethan at icqmail.com
Fri Feb 11 10:05:26 EST 2011



I´ve got a problem again and i don´t know how to solve it.


i want to do a procedure like this


for(i=0; i<=x, i++)

vtkCubeSource *cube[i] = vtkCubeSource::New();

but i can´t do it like this, because cube needs a constant where "i" is. 


Is there a way to build a Vector or Array of Cubes?
-- 
View this message in context: http://vtk.1045678.n5.nabble.com/Automatic-building-of-Cubes-tp3381336p3381336.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list