py3dtiles.tileset.extension.batch_table_hierarchy_extension module
- class py3dtiles.tileset.extension.batch_table_hierarchy_extension.BatchTableHierarchy[source]
Bases:
BaseExtension
Batch Table Hierarchy (BTH) is a BaseExtension of a Batch Table.
- classmethod from_dict(extension_dict: dict[str, Any]) BatchTableHierarchy [source]
Creates an instance of the default extension class BaseExtension. This instance will store all attributes in a single field.
- Parameters:
extension_dict – a dict containing all attributes of the extension (keys and values).
- Returns:
a BaseExtension instance.
- get_instance_parent_indexes(instance: HierarchyInstance) list[int] [source]
- class py3dtiles.tileset.extension.batch_table_hierarchy_extension.HierarchyClass(name: str, property_names: list[str])[source]
Bases:
object
- add_instance(properties: dict[str, Any], parents: list[int | HierarchyInstance] | None = None) HierarchyInstance [source]
- to_dict() HierarchyClassDictType [source]