File panoptic_segmentation.hpp

Defines the Interface for the Panoptic Segmentation subsystem.

namespace slamcore

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class PanopticSegmentationSubsystemInterface : public SubsystemInterface
#include <panoptic_segmentation.hpp>

Public Functions

virtual ~PanopticSegmentationSubsystemInterface() = default
virtual void registerRunner(std::unique_ptr<const PanopticSegmentationRunnerInterface> &&runner) = 0

Register a runner.

Note

This will be reset each time the SLAM system is closed, so must be re-registered.

Note

This must be called before starting the SLAM system.

Parameters

runner – the runner that will be used while SLAM is running.

virtual void registerPlugin(const char *path) = 0

Register a plugin via a path.

Note

This will be reset each time the SLAM system is closed, so must be re-registered.

Note

This must be called before starting the SLAM system.

Parameters

path – Path to Plugin.

virtual void registerDefaultPlugin() = 0

Register the default installed plugin if available

Note

This will be reset each time the SLAM system is closed, so must be re-registered.

Note

This must be called before starting the SLAM system.

virtual const PanopticSegmentationRunnerInterface *getRunner() const = 0

Get runner produced by factory method

Returns

panoptic segmentation runner, nullptr if none created.