mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-12 20:15:31 +08:00
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
29 lines
673 B
Python
29 lines
673 B
Python
"""Scenegraph public API.
|
|
|
|
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",
|
|
"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",
|
|
]
|