<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
The output of vtkBMPReader (which is derived from vtkImageAlgorithm) is
a vtkImageData. Just construct a vtkImageData directly from your data
with the correct dimensions, scalar type and underlying data rather
than using vtkBMPReader.<br>
<br>
med ali wrote:
<blockquote
cite="mid20050607144554.60708.qmail@web26407.mail.ukl.yahoo.com"
type="cite">
<div>
<p>Hi all,</p>
<p> </p>
<p>i want use vtkBMPReader but not directly on the files </p>
<p> instead of passing the prefix of slices can i pass the array
data of pixels to vtkBMPReader</p>
<font size="2"><font size="2">
<p>/* </p>
<p>bmp= vtkBMPReader::New();</p>
</font></font>
<p><font size="2">bmp->SetFilePrefix (prefix);</font></p>
<p><font size="2">bmp->SetFileNameSliceOffset(1);</font></p>
<p><font size="2">bmp->SetFilePattern("%s%d.bmp");</font></p>
<p><font size="2">*/</font></p>
</div>
<p> </p>
<hr size="1"> Découvrez le nouveau Yahoo! Mail : <font color="red">1
Go d'espace</font> de stockage pour vos mails, photos et vidéos !<br>
<a
href="http://us.rd.yahoo.com/mail_fr/mail_campaigns/splash/taglines_1go/default/*http://fr.promotions.yahoo.com/mail/creer28.html"
target="_blank">Créez votre Yahoo! Mail</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
</body>
</html>