Hello
In my FE program i want to export some beizer cells so I can visualize them in paraview.
I cant find any documentation on how the cells/points/weights of the bezier cells should exported.
I am completely new to vtk, but in my understanding, the vtk output looks something like this:
<Piece NumberOfPoints="9" NumberOfCells="4">
<Points>
<DataArray type="Float64" Name="Points" format="binary" NumberOfComponents="3">
....
</DataArray>
</Points>
<Cells>
<DataArray type="Int32" Name="connectivity" format="binary" NumberOfComponents="1">
</DataArray>
<DataArray type="Int32" Name="offsets" format="binary" NumberOfComponents="1">
....
</DataArray>
<DataArray type="UInt8" Name="types" format="binary" NumberOfComponents="1">
</DataArray>
My question is, what xml-tags do I need in order to export bezier cells?
Also, is it possible to export bezier cells of any order?
Hopefully the question is clear
Edit:
By looking at example outputs from regular cells, I was able to get a simple example with bezier quadrilatiral cell to work:
<Cells>
<DataArray type="Int32" Name="connectivity" Format="ascii">
0 3 15 12 1 2 11 7 14 13 8 4 5 6 9 10
</DataArray>
<DataArray type="Int32" Name="offsets" Format="ascii">
16
</DataArray>
<DataArray type="Int32" Name="types" Format="ascii">
77
</DataArray>
</Cells>
So my questions are now:
How do I specify weights for the control points?
How does the reader now what order the quadrilateral will be?
How do I specify anisotropic bezier cell(different order in different directions)?