There might be some better way, but if not you have to manage array allocation  yourself via vtkAbstractArray::SetVoidArray to ensure that the storage is aligned. <div><br></div><div>Making the whole pipeline respect the alignment would require some more work.<br>

<div><br clear="all">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909<br>
<br><br><div class="gmail_quote">On Wed, Jan 4, 2012 at 7:18 AM, Tim Hutton <span dir="ltr"><<a href="mailto:tim.hutton@gmail.com">tim.hutton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
For SSE we need arrays aligned on 16-byte boundaries but VTK doesn't<br>
currently seem to do this for (e.g.) vtkImageData. Is there any way to<br>
achieve this? Or support for adding it as an option?<br>
<br>
Thanks,<br>
<br>
Tim<br>
<font color="#888888"><br>
--<br>
Tim Hutton - <a href="http://www.sq3.org.uk" target="_blank">http://www.sq3.org.uk</a> - <a href="http://profiles.google.com/tim.hutton/" target="_blank">http://profiles.google.com/tim.hutton/</a><br>
_______________________________________________<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</font></blockquote></div><br></div></div>