<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 16, 2016 at 6:06 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.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">Hi David,<div><br></div><div>Was it intended to have the new VTK data arrays wrapped in Python?  They're all wrappable except for the vtkGenericDataArray (it's a special case).</div><div><br></div><div>In order to wrap vtkSOADataArrayTemplate and the templated array types, Python would just have to be fooled into thinking that their superclass is vtkDataArray, similar to what is already done for the old array classes.  That way, Python wouldn't have to deal with the problematic vtkGenericDataArray template.</div><div><br></div><div>The Python wrappers can be told to instantiate the templates over the usual set of data types.  This part is easy, it has already done for vtkArrayIteratorTemplate, vtkDenseArray, and vtkSparseArray.</div></div></blockquote><div><br></div><div>It wasn't something we planned for right away, but we did want them wrapped eventually. If it's easy enough, sure, feel free to go ahead and wrap them :)</div><div><br></div><div>Dave</div></div></div></div>