py3dtiles.tilers.point.node package
- class py3dtiles.tilers.point.node.DummyNode(_bytes: DummyNodeDictType)[source]
Bases:
object
- class py3dtiles.tilers.point.node.Grid(spacing: float, include_rgb: bool, extra_fields: list[ExtraFieldsDescription], 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
- init_cells(aabmin: ndarray[Any, dtype[float32]], inv_aabb_size: ndarray[Any, dtype[float32]], xyz: ndarray[Any, dtype[float32 | uint16]], rgb: ndarray[Any, dtype[uint8 | uint16]] | None, extra_fields: dict[str, ndarray[Any, dtype[Any]]]) None [source]
- insert(aabmin: ndarray[Any, dtype[float32]], inv_aabb_size: ndarray[Any, dtype[float32]], xyz: ndarray[Any, dtype[float32 | uint16]], rgb: ndarray[Any, dtype[uint8 | uint16]] | None, extra_fields: dict[str, ndarray[Any, dtype[T]]]) tuple[ndarray[Any, dtype[float32]], ndarray[Any, dtype[uint8]] | None, dict[str, ndarray[Any, dtype[int8]] | ndarray[Any, dtype[int16]] | ndarray[Any, dtype[int32]] | ndarray[Any, dtype[int64]] | ndarray[Any, dtype[uint8]] | ndarray[Any, dtype[uint16]] | ndarray[Any, dtype[uint32]] | ndarray[Any, dtype[uint64]] | ndarray[Any, dtype[float16]] | ndarray[Any, dtype[float32]] | ndarray[Any, dtype[float64]] | ndarray[Any, dtype[longdouble]]], bool] [source]
- spacing
- class py3dtiles.tilers.point.node.Node(name: bytes, aabb: ndarray[Any, dtype[float64 | float32]], spacing: float, include_rgb: bool, extra_fields: list[ExtraFieldsDescription])[source]
Bases:
object
docstring for Node
- aabb
- aabb_center
- aabb_size
- static create_child_node_from_parent(name: bytes, parent_aabb: npt.NDArray[np.floating[_T]], parent_spacing: float, include_rgb: bool, extra_fields: list[ExtraFieldsDescription]) Node [source]
- dirty
- extra_fields
- flush_pending_points(catalog: NodeCatalog, scale: float) None [source]
- grid
- include_rgb
- inv_aabb_size
- name
- spacing
- class py3dtiles.tilers.point.node.NodeCatalog(nodes: bytes, name: bytes, root_aabb: ndarray[Any, dtype[float64]], root_spacing: float, include_rgb: bool, extra_fields: list[ExtraFieldsDescription])[source]
Bases:
object
NodeCatalog is a store of Node objects.
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
DummyNodeDictType
Node
Node.aabb
Node.aabb_center
Node.aabb_size
Node.children
Node.create_child_node_from_parent()
Node.dirty
Node.dump_pending_points()
Node.extra_fields
Node.flush_pending_points()
Node.get_child_names()
Node.get_pending_points_count()
Node.get_point_count()
Node.get_points()
Node.grid
Node.include_rgb
Node.insert()
Node.inv_aabb_size
Node.load_from_bytes()
Node.name
Node.needs_balance()
Node.pending_points
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