|
| template<typename T> |
| | EnhancedDepthFilter (std::shared_ptr< T > device, const std::string &modelPath="") |
| | Construct an EnhancedDepthFilter and activate it for the given device.
|
| | ~EnhancedDepthFilter () noexcept override=default |
| void | setResolution (uint32_t width, uint32_t height) |
| | Set the working resolution of the enhanced depth filter.
|
| uint32_t | getCurrentWidth () const |
| | Get the current configured frame width.
|
| uint32_t | getCurrentHeight () const |
| | Get the current configured frame height.
|
| void | setConfidenceThreshold (uint32_t value) |
| | Set the confidence threshold for depth values.
|
| OBIntPropertyRange | getConfidenceThresholdRange () |
| | Get the property range of the confidence threshold range.
|
| | Filter (ob_filter *impl) |
| virtual | ~Filter () noexcept |
| ob_filter * | getImpl () const |
| | Get the Impl object of the filter.
|
| virtual const std::string & | getName () const |
| | Get the type of filter.
|
| virtual void | reset () const |
| | Reset the filter, freeing the internal cache, stopping the processing thread, and clearing the pending buffer frame when asynchronous processing is used.
|
| virtual void | enable (bool enable) const |
| | enable the filter
|
| virtual bool | isEnabled () const |
| | Return Enable State.
|
| virtual std::shared_ptr< Frame > | process (std::shared_ptr< const Frame > frame) const |
| | Processes a frame synchronously.
|
| virtual void | pushFrame (std::shared_ptr< Frame > frame) const |
| | Pushes the pending frame into the cache for asynchronous processing.
|
| virtual void | setCallBack (FilterCallback callback) |
| | Set the callback function for asynchronous processing.
|
| virtual std::string | getConfigSchema () const |
| | Get config schema of the filter.
|
| virtual std::vector< OBFilterConfigSchemaItem > | getConfigSchemaVec () const |
| | Get the Config Schema Vec object.
|
| virtual void | setConfigValue (const std::string &configName, double value) const |
| | Set the filter config value by name.
|
| virtual double | getConfigValue (const std::string &configName) const |
| | Get the Config Value object by name.
|
| virtual const char * | type () |
| template<typename T> |
| bool | is () |
| | Check if the runtime type of the filter object is compatible with a given type.
|
| template<typename T> |
| std::shared_ptr< T > | as () |
|
| static const std::vector< std::pair< uint32_t, uint32_t > > & | getSupportedResolutions () |
| | Get the resolutions supported by the enhanced depth filter for the constrained (aligned-to) stream.
|
| static std::vector< OBFormat > | getSupportedFormats (OBStreamType streamType) |
| | Get the frame formats supported by the enhanced depth filter for a given stream type.
|
| static bool | isSupportedResolution (OBStreamType sourceStreamType, OBStreamType alignToStreamType, uint32_t width, uint32_t height) |
| | Check whether a resolution is supported by the enhanced depth filter for a given stream alignment pair.
|
| static bool | isSupportedFormat (OBStreamType streamType, OBFormat format) |
| | Check whether a frame format is supported by the enhanced depth filter for a given stream type.
|
Enhanced depth filter that requires a device for activation.
- Note
- The constructor is a template so that Filter.hpp does not need to include Device.hpp. The template is instantiated at the call site where the device type is complete.
Definition at line 2099 of file Filter.hpp.