py3dtiles.tilers.node.node module

class py3dtiles.tilers.node.node.DummyNode(_bytes: _DummyNodeDictType)[source]

Bases: object

class py3dtiles.tilers.node.node.Node(name: bytes, aabb: ndarray[Any, dtype[float64 | float32]], spacing: float)[source]

Bases: object

docstring for Node

aabb
aabb_center
aabb_size
children: list[bytes] | None
dirty
dump_pending_points() list[tuple[bytes, bytes, int]][source]
flush_pending_points(catalog: NodeCatalog, scale: float) None[source]
get_child_names() Generator[bytes, None, None][source]
get_pending_points_count() int[source]
get_point_count(node_catalog: NodeCatalog, max_depth: int, depth: int = 0) int[source]
static get_points(data: Node | DummyNode, include_rgb: bool, include_classification: bool) ndarray[Any, dtype[uint8]][source]
grid
insert(scale: float, xyz: ndarray[Any, dtype[float32]], rgb: ndarray[Any, dtype[uint8]], classification: ndarray[Any, dtype[uint8]], make_empty_node: bool = False) None[source]
inv_aabb_size
load_from_bytes(byt: bytes) None[source]
name
needs_balance() bool[source]
pending_classification: list[ndarray[Any, dtype[uint8]]]
pending_rgb: list[ndarray[Any, dtype[uint8]]]
pending_xyz: list[ndarray[Any, dtype[float32]]]
points: list[tuple[ndarray[Any, dtype[float32]], ndarray[Any, dtype[uint8]], ndarray[Any, dtype[uint8]]]]
save_to_bytes() bytes[source]
spacing
to_tileset(folder: Path, scale: ndarray[Any, dtype[float32]], parent_node: Node | None = None, depth: int = 0, pool_executor: ProcessPoolExecutor | None = None) TileDictType | None[source]
py3dtiles.tilers.node.node.node_to_tileset(args: tuple[Node, Path, ndarray[Any, dtype[float32]], Node | None, int]) TileDictType | None[source]
py3dtiles.tilers.node.node.split_tileset(tile_dict: TileDictType, split_name: str, folder: Path) TileDictType[source]