py3dtiles.tilers.point.node package
- class py3dtiles.tilers.point.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_intensity
- cells_rgb
- cells_xyz
- get_points(include_rgb: bool, include_classification: bool, include_intensity: bool) ndarray[Any, dtype[uint8]] [source]
- 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]], intensity: ndarray[Any, dtype[uint8]], force: bool = False) tuple[ndarray[Any, dtype[float32]], ndarray[Any, dtype[uint8]], ndarray[Any, dtype[uint8]], ndarray[Any, dtype[uint8]], bool] [source]
- spacing
- class py3dtiles.tilers.point.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, include_intensity: 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]], intensity: 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]], ndarray[Any, dtype[uint8]]]]
- spacing
- class py3dtiles.tilers.point.node.NodeCatalog(nodes: bytes, name: bytes, root_aabb: ndarray[Any, dtype[float64]], root_spacing: float)[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.point.node.NodeProcess(node_catalog: NodeCatalog, scale: float, name: bytes, tasks: list[bytes], begin: float, log_file: TextIO | None)[source]
Bases:
object
Bases:
object
A class that implements a compressed storage for arbitrary data, that is able to limit the amount of ram it uses by temporary storing part of the storage on disk for later retrieval.
The memory limit is not automatic at the moment, but instead is done by calling self.control_memory_usage.
Limit the memory usage of this instance.
Get a node storage.
- Parameters:
name – the name of the node
Insert or change
Remove a node from this storage.
Submodules
- py3dtiles.tilers.point.node.distance module
- py3dtiles.tilers.point.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_intensity
Node.pending_rgb
Node.pending_xyz
Node.points
Node.save_to_bytes()
Node.spacing
Node.to_tileset()
node_to_tileset()
split_tileset()
- py3dtiles.tilers.point.node.node_catalog module
- py3dtiles.tilers.point.node.node_process module
- py3dtiles.tilers.point.node.points_grid module
- py3dtiles.tilers.point.node.shared_node_store module