Storage of point cloud data with values to XDMF not working
Issue #561
resolved
When values are included to point cloud data, the XDMF file seems messed up:
<Grid Name="Point cloud" GridType="Uniform">
<Topology NumberOfElements="47440" TopologyType="PolyVertex" NodesPerElement="1" />
<Geometry GeometryType="XYZ">
<DataItem Format="HDF" Dimensions="47440 3">point_cloud_25.h5:/Points/coordinates</DataItem>
</Geometry>
<Attribute Name="point_values" AttributeType="Vector" Center="Node">
<DataItem Format="HDF" Dimensions="47440 1">point_cloud_25.h5:/Points/values</DataItem>
</Attribute>
</Grid>
When opened in Paraview, I get messed up vector values when expecting scalars. I'm guessing the AttributeType="Vector" thing is wrong.
Comments (8)
-
-
-
assigned issue to
-
assigned issue to
-
reporter Is there a quick fix for changing the AttributeType?
The file works fine if I manually edit to
Scalar
in the .xdmf file but I don't see where the attribute type is set (looking inXDMFFile.cpp
). -
Fix is in 'next'. Can you test?
-
reporter Building now...
-
reporter Works - thanks!
-
reporter - changed status to resolved
Fix in next.
-
reporter - removed milestone
Removing milestone: 1.7 (automated comment)
- Log in to comment
Yes, the
AttributeType
is wrong.