You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.
Class slamcore::MapChannel2DInterface
-
class MapChannel2DInterface : public ObjectInterface
Interface to a 2D map channel.
Public Types
-
using Ptr = std::shared_ptr<MapChannel2DInterface>
-
using CPtr = std::shared_ptr<const MapChannel2DInterface>
Public Functions
-
inline virtual ObjectType type() const
Type of the object.
-
virtual ~MapChannel2DInterface() = default
-
virtual MapChannelType getType() const = 0
Type of channel.
-
virtual ImageFormat getFormat() const = 0
Data format.
-
virtual bool isValid() const = 0
Check if the map channel contains valid data.
-
virtual const uint8_t *getData() const = 0
Internal data buffer.
-
using Ptr = std::shared_ptr<MapChannel2DInterface>