py3dtiles.tilers.node.node module

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

Bases: object

class py3dtiles.tilers.node.node.Node(name: bytes, aabb: ndarray, 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_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) ndarray[source]
grid
insert(node_catalog: NodeCatalog, scale: float, xyz: npt.NDArray, rgb: npt.NDArray, make_empty_node: bool = False)[source]
inv_aabb_size
load_from_bytes(byt: bytes) None[source]
name
needs_balance() bool[source]
pending_rgb: list[ndarray[Any, dtype[_ScalarType_co]]]
pending_xyz: list[ndarray[Any, dtype[_ScalarType_co]]]
points: list[tuple[ndarray[Any, dtype[_ScalarType_co]], ndarray[Any, dtype[_ScalarType_co]]]]
save_to_bytes() bytes[source]
spacing
static to_tileset(executor: ProcessPoolExecutor | None, name: bytes, parent_aabb: ndarray, parent_spacing: float, folder: Path, scale: ndarray, prune: bool = True) dict[source]
py3dtiles.tilers.node.node.node_to_tileset(args)[source]