Class MetadataBinaryIO

java.lang.Object
gaiasky.data.group.MetadataBinaryIO

public class MetadataBinaryIO extends Object
  • Field Details

  • Constructor Details

    • MetadataBinaryIO

      public MetadataBinaryIO()
  • Method Details

    • readMetadata

      public OctreeNode readMetadata(InputStream in)
      Reads the metadata into an octree node
      Returns:
      The octree node
    • readMetadata

      public OctreeNode readMetadata(InputStream in, LoadStatus status)
      Reads the metadata into an octree node
      Parameters:
      in - Input stream
      Returns:
      The octree node
    • readMetadataMapped

      public OctreeNode readMetadataMapped(String file)
    • readMetadataMapped

      public OctreeNode readMetadataMapped(String file, LoadStatus status)
    • writeMetadata

      public void writeMetadata(OctreeNode root, OutputStream out)
      Writes the metadata of the given octree node and its descendants to the given output stream in binary.
    • toList

      public void toList(OctreeNode node, List<OctreeNode> nodes)