geo3d.core.base

Classes

Component

A base class Component to be used in the definition of pdal components (readers, filters, and writers).

Reader

A class Reader that defines a pdal reader component.

Writer

Class Writer for defining pdal writer component.

Filter

Class Writer for defining pdal filter component.

Module Contents

class geo3d.core.base.Component(subtype: str | None = None, **kwargs: Any)

Bases: abc.ABC

A base class Component to be used in the definition of pdal components (readers, filters, and writers).

subtype = None
_kwargs
inputs: List[str] | None = None
outputs: str | None = None
_block_type
config
abstract block_type() str

Return the block type of the component.

_inner_dict() Dict[str, Any]

Create a dictionary that lists the actual inputs of the component.

_outer_dict() Dict[str, Any]

Create a dictionary that lists the actual outputs of the component.

abstract _body_dict() Dict[str, Any]

Create a dictionary that lists the actual arguments of the component.

_create_dict() Dict[str, Any]

Create a config dictionary by merging the inner, outer, and body dictionaries.

_update_dict() None

Update the attribute config.

set_output(tag: str) None

Set the output of the component.

set_input(tags: list) None

Set the inputs of the component.

receive_from(components: List[Component]) None

Set the component to receive from another component.

__str__() str

Special method for representing the instance as a string.

class geo3d.core.base.Reader(subtype: str | None = None, **kwargs: Any)

Bases: Component

A class Reader that defines a pdal reader component.

block_type() str

Return the block type of the component.

_body_dict() Dict[str, Any]

Build the body dictionary of the component.

class geo3d.core.base.Writer(subtype: str | None = None, **kwargs: Any)

Bases: Component

Class Writer for defining pdal writer component.

block_type() str

Return the block type of the component.

_body_dict() Dict[str, Any]

Build the body dictionary of the component.

class geo3d.core.base.Filter(subtype: str | None = None, **kwargs: Any)

Bases: Component

Class Writer for defining pdal filter component.

block_type() str

Return the block type of the component.

_body_dict() Dict[str, Any]

Build the body dictionary of the component.