OrbbecSDK 2.6.3
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
ob::FilterFactory Class Reference

A factory class for creating filters. More...

#include <Filter.hpp>

Static Public Member Functions

static std::shared_ptr< FiltercreateFilter (const std::string &name)
 Create a filter by name.
static std::shared_ptr< FiltercreatePrivateFilter (const std::string &name, const std::string &activationKey)
 Create a private filter by name and activation key.
static std::string getFilterVendorSpecificCode (const std::string &name)
 Get the vendor specific code of a filter by filter name.

Detailed Description

A factory class for creating filters.

Definition at line 301 of file Filter.hpp.

Member Function Documentation

◆ createFilter()

std::shared_ptr< Filter > ob::FilterFactory::createFilter ( const std::string & name)
inlinestatic

Create a filter by name.

Definition at line 306 of file Filter.hpp.

◆ createPrivateFilter()

std::shared_ptr< Filter > ob::FilterFactory::createPrivateFilter ( const std::string & name,
const std::string & activationKey )
inlinestatic

Create a private filter by name and activation key.

Some private filters require an activation key to be activated, its depends on the vendor of the filter.

Parameters
[in]nameThe name of the filter.
[in]activationKeyThe activation key of the filter.

Definition at line 320 of file Filter.hpp.

◆ getFilterVendorSpecificCode()

std::string ob::FilterFactory::getFilterVendorSpecificCode ( const std::string & name)
inlinestatic

Get the vendor specific code of a filter by filter name.

A private filter can define its own vendor specific code for specific purposes.

Parameters
[in]nameThe name of the filter.
Returns
std::string The vendor specific code of the filter.

Definition at line 335 of file Filter.hpp.


The documentation for this class was generated from the following file: