py3dtiles.tilers.node package
- class py3dtiles.tilers.node.Grid(node: Node, initial_count: int = 3)[source]
Bases:
object
docstring for Grid
- balance(aabb_size: ndarray[Any, dtype[float32]], aabmin: ndarray[Any, dtype[float32]], inv_aabb_size: ndarray[Any, dtype[float32]]) None [source]
- cell_count
- cells_classification
- cells_rgb
- cells_xyz
- insert(aabmin: ndarray[Any, dtype[float32]], inv_aabb_size: ndarray[Any, dtype[float32]], xyz: ndarray[Any, dtype[float32]], rgb: ndarray[Any, dtype[uint8]], classification: ndarray[Any, dtype[uint8]], force: bool = False) tuple[ndarray[Any, dtype[float32]], ndarray[Any, dtype[uint8]], ndarray[Any, dtype[uint8]], bool] [source]
- spacing
- class py3dtiles.tilers.node.Node(name: bytes, aabb: ndarray[Any, dtype[float64 | float32]], spacing: float)[source]
Bases:
object
docstring for Node
- aabb
- aabb_center
- aabb_size
- dirty
- flush_pending_points(catalog: NodeCatalog, scale: float) None [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
- name
- points: list[tuple[ndarray[Any, dtype[float32]], ndarray[Any, dtype[uint8]], ndarray[Any, dtype[uint8]]]]
- spacing
- class py3dtiles.tilers.node.NodeCatalog(nodes: bytes, name: bytes, octree_metadata: OctreeMetadata)[source]
Bases:
object
NodeCatalog is a store of Node objects.py3dtiles
Using a NodeCatalog allows to only store a children names in nodes, instead of storing a full recursive structure.
- class py3dtiles.tilers.node.NodeProcess(node_catalog: NodeCatalog, octree_metadata: OctreeMetadata, name: bytes, tasks: List[bytes], begin: float, log_file: TextIO | None)[source]
Bases:
object
Bases:
object
Submodules
- py3dtiles.tilers.node.distance module
- py3dtiles.tilers.node.node module
DummyNode
Node
Node.aabb
Node.aabb_center
Node.aabb_size
Node.children
Node.dirty
Node.dump_pending_points()
Node.flush_pending_points()
Node.get_child_names()
Node.get_pending_points_count()
Node.get_point_count()
Node.get_points()
Node.grid
Node.insert()
Node.inv_aabb_size
Node.load_from_bytes()
Node.name
Node.needs_balance()
Node.pending_classification
Node.pending_rgb
Node.pending_xyz
Node.points
Node.save_to_bytes()
Node.spacing
Node.to_tileset()
node_to_tileset()
split_tileset()
- py3dtiles.tilers.node.node_catalog module
- py3dtiles.tilers.node.node_process module
- py3dtiles.tilers.node.points_grid module
- py3dtiles.tilers.node.shared_node_store module