Each camera driver should implement this interface in addition to VideoCamera interface.
More...
#include <Radiant/CameraDriver.hpp>
Each camera driver should implement this interface in addition to VideoCamera interface.
| virtual VideoCamera* Radiant::CameraDriver::createCamera |
( |
| ) |
|
|
pure virtual |
Create a new camera object using this interface.
- Returns
- Pointer to the new camer
| virtual QString Radiant::CameraDriver::driverName |
( |
| ) |
const |
|
pure virtual |
Get the name of this driver.
- Returns
- name of the driver, e.g. "libdc"
Get a list of available cameras on the system that this driver supports.
- Parameters
-
| cameras | array of cameras where the new cameras will be appended to |
- Returns
- number of cameras found by this driver