forked from elrnv/vtkio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented first draft of xml import pipeline
- Loading branch information
Showing
14 changed files
with
5,171 additions
and
1,453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<VTKFile type="PPolyData" version="0.1" byte_order="LittleEndian"> | ||
<PPolyData GhostLevel="0"> | ||
<PPointData Scalars="my_scalars"> | ||
<PDataArray type="Float32" Name="my_scalars"/> | ||
</PPointData> | ||
<PCellData Scalars="cell_scalars" Normals="cell_normals"> | ||
<PDataArray type="Int32" Name="cell_scalars"/> | ||
<PDataArray type="Float32" Name="cell_normals" NumberOfComponents="3"/> | ||
</PCellData> | ||
<PPoints> | ||
<PDataArray type="Float32" NumberOfComponents="3"/> | ||
</PPoints> | ||
<Piece Source="polyEx0.vtp"/> | ||
</PPolyData> | ||
<PPolyData GhostLevel="0"> | ||
<PPointData Scalars="my_scalars"> | ||
<PDataArray type="Float32" Name="my_scalars"/> | ||
</PPointData> | ||
<PCellData Scalars="cell_scalars" Normals="cell_normals"> | ||
<PDataArray type="Int32" Name="cell_scalars"/> | ||
<PDataArray type="Float32" Name="cell_normals" NumberOfComponents="3"/> | ||
</PCellData> | ||
<PPoints> | ||
<PDataArray type="Float32" NumberOfComponents="3"/> | ||
</PPoints> | ||
<Piece Source="polyEx0.vtp"/> | ||
<Piece Source="polyEx0.vtp"/> | ||
</PPolyData> | ||
</VTKFile> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian"> | ||
<PolyData> | ||
<Piece NumberOfPoints="8" NumberOfVerts="0" NumberOfLines="0"NumberOfStrips="0" NumberOfPolys="6"> | ||
<Points> | ||
<DataArray type="Float32" NumberOfComponents="3" format="ascii">000100110010001101111011</DataArray> | ||
</Points> | ||
<PointData Scalars="my_scalars"> | ||
<DataArray type="Float32" Name="my_scalars" format="ascii">01234567</DataArray> | ||
</PointData> | ||
<CellData Scalars="cell_scalars" Normals="cell_normals"> | ||
<DataArray type="Int32" Name="cell_scalars" format="ascii">012345</DataArray> | ||
<DataArray type="Float32" Name="cell_normals"NumberOfComponents="3" format="ascii">00-10010-10010-100100</DataArray> | ||
</CellData> | ||
<Polys> | ||
<DataArray type="Int32" Name="connectivity" format="ascii">012345670154237604731265</DataArray> | ||
<DataArray type="Int32" Name="offsets" format="ascii">4812162024</DataArray> | ||
</Polys> | ||
</Piece> | ||
</PolyData> | ||
<PolyData> | ||
<Piece NumberOfPoints="8" NumberOfVerts="0" NumberOfLines="0" | ||
NumberOfStrips="0" NumberOfPolys="6"> | ||
<Points> | ||
<DataArray type="Float32" NumberOfComponents="3" format="ascii"> | ||
0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 1 0 1 1 | ||
</DataArray> | ||
</Points> | ||
<PointData Scalars="my_scalars"> | ||
<DataArray type="Float32" Name="my_scalars" format="ascii"> | ||
0 1 2 3 4 5 6 7 | ||
</DataArray> | ||
</PointData> | ||
<CellData Scalars="cell_scalars" Normals="cell_normals"> | ||
<DataArray type="Int32" Name="cell_scalars" format="ascii"> | ||
0 1 2 3 4 5 | ||
</DataArray> | ||
<DataArray type="Float32" Name="cell_normals" | ||
NumberOfComponents="3" format="ascii"> | ||
0 0 -1 0 0 1 0 -1 0 0 1 0 -1 0 0 1 0 0 | ||
</DataArray> | ||
</CellData> | ||
<Polys> | ||
<DataArray type="Int32" Name="connectivity" format="ascii"> | ||
0 1 2 3 4 5 6 7 0 1 5 4 2 3 7 6 0 4 7 3 1 2 6 5 | ||
</DataArray> | ||
<DataArray type="Int32" Name="offsets" format="ascii"> | ||
4 8 12 16 20 24 | ||
</DataArray> | ||
</Polys> | ||
</Piece> | ||
</PolyData> | ||
</VTKFile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.