[vtkusers] how to create an arra

m26404030 at john.petra.ac.id m26404030 at john.petra.ac.id
Wed Oct 24 05:29:02 EDT 2007


hi all, i want to ask a question..

i want to display several 2d bitmap images , but i dont know whether i  
should create vtkBMPReader as many as my images or maybe i can create  
an array of it. as well as another class i need, like vtkImageData,  
etc..

         vtkBMPReader *reader1=vtkBMPReader::New();
	reader1->SetFileName("image1.bmp");
	reader1->Update();

         vtkBMPReader *reader2=vtkBMPReader::New();
	reader2->SetFileName("image2.bmp");
	reader2->Update();

         //etc..

is it possible to create an array of object of vtk class??


thanx for the help..



More information about the vtkusers mailing list