<div dir="ltr">Thanks much.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/4 Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There are defined in vtkType.h:<div><div>/* These types are returned by GetDataType to indicate pixel type.  */</div>
<div>#define VTK_VOID            0</div><div>#define VTK_BIT             1</div><div>#define VTK_CHAR            2</div>
<div>#define VTK_SIGNED_CHAR    15</div><div>#define VTK_UNSIGNED_CHAR   3</div><div>#define VTK_SHORT           4</div><div>#define VTK_UNSIGNED_SHORT  5</div><div>#define VTK_INT             6</div><div>#define VTK_UNSIGNED_INT    7</div>

<div>#define VTK_LONG            8</div><div>#define VTK_UNSIGNED_LONG   9</div><div>#define VTK_FLOAT          10</div><div>#define VTK_DOUBLE         11</div><div>#define VTK_ID_TYPE        12</div></div><div><br></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Jun 4, 2013 at 9:05 AM, tao sun <span dir="ltr">&lt;<a href="mailto:colddiesun@gmail.com" target="_blank">colddiesun@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div><br></div><div>I am trying to get the scalar type form a known vtkImageData. I understand that the types are all form one enum, but how can I know which one is which type (0 = unsigned char?). I checked documentation but found nothing. Can some one give a value map of this?</div>

<span><font color="#888888">
<div><br></div><div><br></div><div>Sun Tao</div></font></span></div>
<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 <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: <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></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</font></span></div>
</blockquote></div><br></div>