[Paraview] Vectorized data assignment

David Lonie david.lonie at kitware.com
Mon Nov 7 09:56:03 EST 2016


On Mon, Nov 7, 2016 at 9:50 AM, Christian Gabriel <
cgabriel at matrix-solutions.com> wrote:

> Thanks Dave.
>
>
>
> That’s good to know. My background is actually in C++ programming, but the
> SDK I’m trying to link in is natively in C# and wrapped with Python. I
> could try mix-code programming (C++/C#), but trying to avoid that for now
> and use Python instead ….
>

I know that our python bindings have some level of compatibility with numpy
arrays, so it may be possible to pack your data into a numpy array and just
use the SetArray / SetComponentArray methods directly with them. Not 100%
sure though...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161107/a9cf4cde/attachment.html>


More information about the ParaView mailing list