Skip to content

Commit

Permalink
feat: implemented vtp generator
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Jan 21, 2024
1 parent 08cfbe3 commit 2cff129
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions biosimulators_simularium/OUTPUT/simulation.simularium

Large diffs are not rendered by default.

70 changes: 70 additions & 0 deletions biosimulators_simularium/tests/fixtures/MinE/simulation.vtp
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0"?>
<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="vtkZLibDataCompressor">
<PolyData>
<Piece NumberOfPoints="2" NumberOfVerts="2" NumberOfLines="0" NumberOfStrips="0" NumberOfPolys="0">
<PointData Scalars="vectors-normed" Vectors="vectors">
<DataArray type="Float64" Name="vectors" NumberOfComponents="3" format="binary" RangeMin="0.09086506301087327" RangeMax="0.10747090992684133">
AQAAAACAAAAwAAAAOwAAAA==eJwBMADP/wFcyrOzgru/zyPBqfeTUr8n5AGbm4REP+pxEJkBK7c/ytpWfiXQcD8Hwt/EW8d8P2XZGFU=
<InformationKey name="L2_NORM_RANGE" location="vtkDataArray" length="2">
<Value index="0">
0.090865063011
</Value>
<Value index="1">
0.10747090993
</Value>
</InformationKey>
</DataArray>
<DataArray type="Float64" Name="vectors-normed" format="binary" RangeMin="0.9999999999999204" RangeMax="0.9999999999999365">
AQAAAACAAAAQAAAAEQAAAA==eJw78vc/ELy3N4bSAHUMDUY=
</DataArray>
</PointData>
<CellData>
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="binary" RangeMin="2.1213203435596424" RangeMax="2.1213203435596424">
AQAAAACAAAAwAAAAGAAAAA==eJxjYACDAxDqwX5UmsEByreH0QCP7AZ9
<InformationKey name="L2_NORM_RANGE" location="vtkDataArray" length="2">
<Value index="0">
2.1213203436
</Value>
<Value index="1">
2.1213203436
</Value>
</InformationKey>
</DataArray>
</Points>
<Verts>
<DataArray type="Int64" Name="connectivity" format="binary" RangeMin="0" RangeMax="1">
AQAAAACAAAAQAAAADgAAAA==eJxjYIAARigNAAAYAAI=
</DataArray>
<DataArray type="Int64" Name="offsets" format="binary" RangeMin="1" RangeMax="2">
AQAAAACAAAAQAAAADgAAAA==eJxjZIAAJigNAAAwAAQ=
</DataArray>
</Verts>
<Lines>
<DataArray type="Int64" Name="connectivity" format="binary" RangeMin="1e+299" RangeMax="-1e+299">
AAAAAACAAAAAAAAA
</DataArray>
<DataArray type="Int64" Name="offsets" format="binary" RangeMin="1e+299" RangeMax="-1e+299">
AAAAAACAAAAAAAAA
</DataArray>
</Lines>
<Strips>
<DataArray type="Int64" Name="connectivity" format="binary" RangeMin="1e+299" RangeMax="-1e+299">
AAAAAACAAAAAAAAA
</DataArray>
<DataArray type="Int64" Name="offsets" format="binary" RangeMin="1e+299" RangeMax="-1e+299">
AAAAAACAAAAAAAAA
</DataArray>
</Strips>
<Polys>
<DataArray type="Int64" Name="connectivity" format="binary" RangeMin="1e+299" RangeMax="-1e+299">
AAAAAACAAAAAAAAA
</DataArray>
<DataArray type="Int64" Name="offsets" format="binary" RangeMin="1e+299" RangeMax="-1e+299">
AAAAAACAAAAAAAAA
</DataArray>
</Polys>
</Piece>
</PolyData>
</VTKFile>

0 comments on commit 2cff129

Please sign in to comment.