[vtkusers] Create PolyData in vtk.js

marf marvin.huber at basf.com
Tue Jul 17 06:26:24 EDT 2018


Hi, I recently asked about an XMLUnstructuredGridReader to read .vtu files in
vtk.js

By now I advanced with this issue an can read the following information from
a .vtu file:
PointArray
ConnectivityArray
OffsetArray
TypesArray

I also know how these work, and how to theoretically construct different
Cells from those.
What I am missing though, is the actual implementation where I create new
cells with data I provide and create PolyData from these cells to display it
in the browser.
Can anyone help me with that? All I found where examples in C++, using
methods not available to vtk.js

Marvin



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list