[vtk-developers] Re: Generator for linear and non-linear VTK cells
Soeren Gebbert
soerengebbert at googlemail.com
Tue Aug 14 05:34:46 EDT 2007
Dear developers,
a shiny new version of the vtk cell generator is available for download.
A better parser error handling, more cell types and different shapes for
the generated plate are supported .
Supported cell types:
VTK_POLY_VERTEX 2
VTK_TRIANGLE 5
VTK_QUAD 9
VTK_TETRA 10
VTK_HEXAHEDRON 12
VTK_WEDGE 13
VTK_QUADRATIC_TRIANGLE 22
VTK_QUADRATIC_QUAD 23
VTK_QUADRATIC_HEXAHEDRON 25
VTK_QUADRATIC_WEDGE 26
VTK_BIQUADRATIC_QUAD 28
VTK_TRIQUADRATIC_HEXAHEDRON 29
VTK_QUADRATIC_LINEAR_QUAD 30
VTK_QUADRATIC_LINEAR_WEDGE 31
VTK_BIQUADRATIC_QUADRATIC_WEDGE 32
VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON 33
VTK_CUBIC_EDGE 34
VTK_BICUBIC_QUAD 36
VTK_TRICUBIC_HEXAHEDRON 37
The following shapes are implemented:
http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/vtkcellgen_test_cell_9_standard.png
http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/vtkcellgen_test_cell_9_sinus.png
http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/vtkcellgen_test_cell_9_screw.png
http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/vtkcellgen_test_cell_9_parabel.png
http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/vtkcellgen_test_cell_9_cosinus.png
http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/vtkcellgen_test_cell_9_hyper.png
Each data set is generated with node numbers, cell numbers, scalar, vector
and tensor
cell and point data.
The cell generator is available here:
http://www-pool.math.tu-berlin.de/~soeren/VTK/vtkcellgen_0.4.tar.gz
Any suggestions are welcome.
Best regards
Soeren
2007/6/11, Soeren Gebbert <soerengebbert at googlemail.com>:
>
> Dear developers,
> i have implemented a simple cell generator, to support the debugging of
> the non linear cell types im developing. The program called
> "vtkcellgen" is a very simple cell generator to support the generation
> of several linear, quadratic and cubic VTK cell types.
> Based on one cell type a flat plate (unstructured grid) will be created
> with a specific number of
> cells in x and y direction. The output is written as
> VTK legacy ASCII format to stdout or a specified file.
>
> It is possible to generate large datasets with variable z elevation,
> for performance and tessellation tests.
> Here is a screenshot of a dataset generated with vtkcellgen. 20x30
> tri-cubic-hexahedrons are
> visualized with a modified version of paraview-2.6.1:
>
> http://www-pool.math.tu-berlin.de/~soeren/VTK/Pictures/TriCubicHexahedronGrid_vtkcellgen.png<http://www-pool.math.tu-berlin.de/%7Esoeren/VTK/Pictures/TriCubicHexahedronGrid_vtkcellgen.png>
>
> The program is implemented in simple C and has no dependences to VTK or
> other libraries.
>
> These cell types are supported:
> VTK_POLY_VERTEX 2
> VTK_QUAD 9
> VTK_HEXAHEDRON 12
> VTK_QUADRATIC_TRIANGLE 22
> VTK_QUADRATIC_QUAD 23
> VTK_QUADRATIC_HEXAHEDRON 25
> VTK_QUADRATIC_WEDGE 26
> VTK_BIQUADRATIC_QUAD 28
> VTK_TRIQUADRATIC_HEXAHEDRON 29
> VTK_QUADRATIC_LINEAR_QUAD 30
> VTK_QUADRATIC_LINEAR_WEDGE 31
> VTK_BIQUADRATIC_QUADRATIC_WEDGE 32
> VTK_BIQUADRATIC_QUADRATIC_HEXAHEDRON 33
> VTK_CUBIC_EDGE 34
> VTK_BICUBIC_QUAD 36
> VTK_TRICUBIC_HEXAHEDRON 37
>
> The cubic cell types are not available for now, but in case i get the
> implementation stable
> and the tessellator and derivation functions running, i will try to make
> them public.
>
> The link to the sources of the cell generator:
> http://www-pool.math.tu-berlin.de/~soeren/VTK/vtkcellgen.tar.gz<http://www-pool.math.tu-berlin.de/%7Esoeren/VTK/vtkcellgen.tar.gz>
>
> Maybe you are interested.
>
> Best regards
> Soeren
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20070814/f94ebd7b/attachment.htm>
More information about the vtk-developers
mailing list