« Introduction à ParaView/Quelques exemples simples » : différence entre les versions

Contenu supprimé Contenu ajouté
Annexe : Fichiers au format VTK XML
Ligne 297 :
 
[[Fichier:Deux mailles tetra champ vecteurs paraview.png|289px]]
 
== Annexe ==
 
=== Fichiers au format VTK XML ===
 
Pour information, nous donnons ici la version VTK XML des fichiers VTK « héritage » ASCII utilisés. On peut les générer avec le menu <code>File → Save Data</code>.
 
Fichier <code>cube_structure.vti</code> :
<source lang="xml">
<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1" byte_order="LittleEndian">
<ImageData WholeExtent="0 2 0 2 0 2"
Origin="-1 -1 -1" Spacing="1 1 1">
<Piece Extent="0 2 0 2 0 2">
<PointData Scalars="ma_variable">
<DataArray type="Float32" Name="ma_variable" format="ascii">
1.73 1.41 1.73
1.41 1.0 1.41
1.73 1.41 1.73
1.41 1.0 1.41
1.0 0.0 1.0
1.41 1.0 1.41
1.73 1.41 1.73
1.41 1.0 1.41
1.73 1.41 1.73
</DataArray>
</PointData>
<CellData>
</CellData>
</Piece>
</ImageData>
</VTKFile>
</source>
 
== Voir aussi ==