[vtkusers] how to create an arra

Alessio Balzide mail_di_ale at yahoo.it
Wed Oct 24 06:29:34 EDT 2007


yes it is..

here's what I did, I hope it will help:
[...]
vtkContourFilter **p_valueExtractor=new vtkContourFilter*[10];

for (int i=1; i<maxValue2+1;i++) {
  p_valueExtractor[i] = vtkContourFilter::New();
  p_valueExtractor[i]->SetInputConnection(ImgReader2->GetOutputPort());
  [...]
}
[...]



m26404030 at john.petra.ac.id ha scritto: 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..
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers


       
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071024/7458da46/attachment.htm>


More information about the vtkusers mailing list