<div dir="ltr">vtkTypeInt64Array  with type vtkTypeInt64<br><div><br></div><div>Always 64-bit, and always built on every platform.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 23, 2015 at 4:39 PM, Shawn Waldon <span dir="ltr"><<a href="mailto:shawn.waldon@kitware.com" target="_blank">shawn.waldon@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello all,<br><br></div>What is the correct type of vtkDataArray to use for 64 bit integers?  I have a file format that I am reading in that has a 64 bit id and while there seem to be several options, the right one isn't clear.  I would like something that just works across platforms and various builds of VTK without #ifdefs throughout the code.<br><br></div>-vtkLongLongArray - long long is at least 64 bits, so I am using this one right now.  But it apparently doesn't exist in a vtk builds?<br><br></div>-vtk__Int64Array - this sounds more like what I want since I don't care about the underlying datatype, but this also does not always exist.<br><br></div><div>-directly use the template data array with int64_t?  Will other VTK code handle this well since it is not one of the built-in data array types?<br></div><div><br></div>-vtkLongArray? - On some platforms long is a 64 bit type, but this is platform dependant.  However, it is what ParaView defaults to when loading data defined as Int64 from a .vtu file on my machine.<br><br></div>Thank you,<br></div>Shawn</div></blockquote></div></div></div>