mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-12 20:15:31 +08:00
feat(scenegraph): add hash codec for bits/tensor/bytes/cam_row conversion
Introduce hash_codec module providing bidirectional encoding/decoding: - bits_tensor_to_hash_bytes / hash_bytes_to_bits_array - bits_tensor_to_cam_row - hash_bytes_to_cam_row / cam_row_to_hash_bytes
This commit is contained in:
@@ -5,8 +5,24 @@ This module exports the main scenegraph objects for easy import:
|
||||
from mini_nav.scenegraph import SimpleSceneGraph, RoomNode, ObjectNode
|
||||
"""
|
||||
|
||||
from .hash_codec import (
|
||||
bits_tensor_to_cam_row,
|
||||
bits_tensor_to_hash_bytes,
|
||||
cam_row_to_hash_bytes,
|
||||
hash_bytes_to_bits_array,
|
||||
hash_bytes_to_cam_row,
|
||||
)
|
||||
from .objectnode import ObjectNode
|
||||
from .roomnode import RoomNode
|
||||
from .scenegraph import SimpleSceneGraph
|
||||
|
||||
__all__ = ["ObjectNode", "RoomNode", "SimpleSceneGraph"]
|
||||
__all__ = [
|
||||
"ObjectNode",
|
||||
"RoomNode",
|
||||
"SimpleSceneGraph",
|
||||
"bits_tensor_to_cam_row",
|
||||
"bits_tensor_to_hash_bytes",
|
||||
"cam_row_to_hash_bytes",
|
||||
"hash_bytes_to_bits_array",
|
||||
"hash_bytes_to_cam_row",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user