<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" color="#000000" style="font: 18.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="5" style="font: 18.0px Helvetica">Wei Huang &lt;<a href="mailto:huangwei@ucar.edu">huangwei@ucar.edu</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" color="#000000" style="font: 18.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="5" style="font: 18.0px Helvetica">February 9, 2010 3:28:46 PM MST</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" color="#000000" style="font: 18.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="5" style="font: 18.0px Helvetica"><a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="5" color="#000000" style="font: 18.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="5" style="font: 18.0px Helvetica"><b>how to use own 3d array to create image</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi, there,</div><div><br></div><div>I am learning VTK through the examples.</div><div><br></div><div>If I can read in a 3d array: float_array, with dimension: nx, ny, nz.</div><div><br></div><div>How can I create image use this float_array, such as in:</div>demo_vtk_contour2D.cxx<div><br></div><div>Thanks in advance,</div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Wei Huang</div><div><a href="mailto:huangwei@ucar.edu">huangwei@ucar.edu</a></div><div>VETS/CISL<br>National Center for Atmospheric&nbsp;Research<br>P.O. Box 3000 (1850 Table Mesa Dr.)<br>Boulder, CO 80307-3000 USA<br>(303) 497-8924</div></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></div></div></blockquote></div><br></body></html>