Adapter interface for
lidar.blocked.Adapter class specifies the interface for block-based
reading and writing of data. Classes that inherit from this interface can be used with
objects, enabling block-based stream processing of data.
To implement this class, you must:
Inherit from the
lidar.blocked.Adapterclass. Your class definition must have this format, where
MyAdapteris the name of your custom adapter class.
classdef MyAdapter < lidar.blocked.Adapter ... end
Optionally, define methods that enable additional reading and writing capabilities.
Optionally, for single-file destinations, define an
Extensionproperty that specifies the file extension to use when automatically creating a destination location. The property value must be a string, such as
"las". For adapters that store data in a folder, do not add this property, or specify the value of the property as empty (
lidar.blocked.Adapter class is a
For information on class attributes, see Class Attributes.
|Capability||Methods to Implement|
|Read data (Required)|
|Write data (Optional)|
|Perform clean up tasks (Optional)|
|Enable parallel block processing (Optional)|
The toolbox includes several built-in adapters that subclass from the
Adapter class. All these adapters support both read and write
Introduced in R2022a