<div dir="ltr">I guess it was a typo, I meant to say <span style="font-family:arial,sans-serif;font-size:13px">images instead.</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 12, 2014 at 12:32 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What is arraydeimagenes?<br>
<div><div class="h5"><br>
<br>
On Tue, Feb 11, 2014 at 7:49 PM, Matias Montroull <<a href="mailto:matimontg@gmail.com">matimontg@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I have this code:<br>
><br>
>   vtkStringArray images = new vtkStringArray();<br>
><br>
> The I do this:<br>
><br>
> foreach (string filename in ofdmulti.FileNames)<br>
>                     {<br>
>      images.InsertNextValue(filename);<br>
> }<br>
><br>
> then:<br>
><br>
>   vtkDICOMImageReader reader = vtkDICOMImageReader.New();<br>
>                         reader.SetFileNames(arraydeimagenes);<br>
>                         reader.Update();<br>
><br>
> And for some reason, the files are not parsed to the reader, I have this:<br>
><br>
> {vtkDICOMImageReader (0C6FB328)<br>
>   Debug: Off<br>
>   Modified Time: 7101<br>
>   Reference Count: 2<br>
>   Registered Events: (none)<br>
>   Executive: 0C6DECD0<br>
>   ErrorCode: NoFileNameError<br>
>   Information: 0C707928<br>
>   AbortExecute: Off<br>
>   Progress: 1<br>
>   Progress Text: (None)<br>
>   FileName: (none)<br>
>   FileNames: 0C6EC430<br>
>   FilePrefix: (none)<br>
>   FilePattern: %s.%d<br>
>   FileNameSliceOffset: 0<br>
>   FileNameSliceSpacing: 1<br>
>   DataScalarType: short<br>
>   NumberOfScalarComponents: 1<br>
>   File Dimensionality: 2<br>
>   File Lower Left: Off<br>
>   Swap Bytes: Off<br>
>   DataIncrements: (1, 1)<br>
>   DataExtent: (0, 0, 0, 0, 0, 1)<br>
>   DataSpacing: (1, 1, 1)<br>
>   DataOrigin: (0, 0, 0)<br>
>   HeaderSize: 0<br>
>   Internal File Name: (none)<br>
> DirectoryName : (NULL)<br>
> FileName : (NULL)<br>
><br>
> And I get this error:<br>
> RROR: In<br>
> ..\..\..\..\vtksource-prefix\src\vtksource\IO\vtkDICOMImageReader.cxx, line<br>
> 256<br>
> vtkDICOMImageReader (0C6FB328): Either a filename was not specified or the<br>
> specified directory does not contain any DICOM images.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br></div>