Class MetadataBinaryIO
java.lang.Object
gaiasky.data.group.MetadataBinaryIO
-
Field Summary
Fields -
Constructor Summary
Constructors -
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) voidtoList(OctreeNode node, List<OctreeNode> nodes) voidwriteMetadata(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
-