Dear developers,<br>
i have implemented a simple cell generator, to support the debugging of<br>
the non linear cell types im developing. The program called <br>
"vtkcellgen" is a very simple cell generator to support the generation<br>
of several linear, quadratic and cubic VTK cell types.<br>
Based on one cell type a flat plate (unstructured grid) will be created with a specific number of<br>
cells in x and y direction. The output is written as<br>
VTK legacy ASCII format to stdout or a specified file.<br>
<br>
It is possible to generate large datasets with variable z elevation,<br>
for performance and tessellation tests.<br>
Here is a screenshot of a dataset generated with vtkcellgen. 20x30 tri-cubic-hexahedrons are<br>
visualized with a modified version of paraview-2.6.1:<br>
<a href="http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/TriCubicHexahedronGrid_vtkcellgen.png">http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/TriCubicHexahedronGrid_vtkcellgen.png</a><br>
<br>
The program is implemented in simple C and has no dependences to VTK or<br>
other libraries.<br>
<br>
These cell types are supported:<br>
VTK_POLY_VERTEX
2<br>
VTK_QUAD
9<br>
VTK_HEXAHEDRON
12<br>
VTK_QUADRATIC_TRIANGLE
22<br>
VTK_QUADRATIC_QUAD
23<br>
VTK_QUADRATIC_HEXAHEDRON 25<br>
VTK_QUADRATIC_WEDGE
26<br>
VTK_BIQUADRATIC_QUAD
28<br>
VTK_TRIQUADRATIC_HEXAHEDRON 29<br>
VTK_QUADRATIC_LINEAR_QUAD 30<br>
VTK_QUADRATIC_LINEAR_WEDGE 31<br>
VTK_BIQUADRATIC_QUADRATIC_WEDGE 32<br>
VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON 33<br>
VTK_CUBIC_EDGE
34<br>
VTK_BICUBIC_QUAD
36<br>
VTK_TRICUBIC_HEXAHEDRON
37<br>
<br>
The cubic cell types are not available for now, but in case i get the implementation stable<br>
and the tessellator and derivation functions running, i will try to make them public.<br>
<br>
The link to the sources of the cell generator:<br>
<a href="http://www-pool.math.tu-berlin.de/~soeren/VTK/vtkcellgen.tar.gz">http://www-pool.math.tu-berlin.de/~soeren/VTK/vtkcellgen.tar.gz</a><br>
<br>
Maybe you are interested.<br>
<br>
Best regards<br>
Soeren<br>
<br>
<br>
<br>
<br>