Package gaiasky.data.group
Class MetadataBinaryIO
java.lang.Object
gaiasky.data.group.MetadataBinaryIO
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReads the metadata into an octree nodereadMetadata
(InputStream in, LoadStatus status) Reads the metadata into an octree nodereadMetadataMapped
(String file) readMetadataMapped
(String file, LoadStatus status) void
toList
(OctreeNode node, List<OctreeNode> nodes) void
writeMetadata
(OctreeNode root, OutputStream out) Writes the metadata of the given octree node and its descendants to the given output stream in binary.
-
Field Details
-
nodesMap
-
-
Constructor Details
-
MetadataBinaryIO
public MetadataBinaryIO()
-
-
Method Details
-
readMetadata
Reads the metadata into an octree node- Returns:
- The octree node
-
readMetadata
Reads the metadata into an octree node- Parameters:
in
- Input stream- Returns:
- The octree node
-
readMetadataMapped
-
readMetadataMapped
-
writeMetadata
Writes the metadata of the given octree node and its descendants to the given output stream in binary. -
toList
-