Defines the input type used in the ZED SDK. Can be used to select a specific camera with ID or serial number, or a svo file. More...
Types | |
enum class | INPUT_TYPE |
Functions | |
InputType () | |
InputType (const InputType &type) | |
void | setFromCameraID (int id=-1, sl::BUS_TYPE bus_type=sl::BUS_TYPE::AUTO) |
void | setFromSerialNumber (unsigned int camera_serial_number, sl::BUS_TYPE bus_type=sl::BUS_TYPE::AUTO) |
void | setFromSVOFile (sl::String svo_input_filename) |
void | setFromStream (sl::String senderIP, unsigned short port=30000) |
INPUT_TYPE | getType () |
sl::String | getConfiguration () |
bool | isInit () |
Defines the input type used in the ZED SDK. Can be used to select a specific camera with ID or serial number, or a svo file.
|
strong |
InputType | ( | ) |
Default constructor
void setFromCameraID | ( | int | id = -1 , |
sl::BUS_TYPE | bus_type = sl::BUS_TYPE::AUTO |
||
) |
Set the input as the camera with specified id (for USB or GMSL Cameras only)
void setFromSerialNumber | ( | unsigned int | camera_serial_number, |
sl::BUS_TYPE | bus_type = sl::BUS_TYPE::AUTO |
||
) |
Set the input as the camera with specified serial number (for USB or GMSL Cameras)
void setFromSVOFile | ( | sl::String | svo_input_filename | ) |
Set the input as the svo specified with the filename
void setFromStream | ( | sl::String | senderIP, |
unsigned short | port = 30000 |
||
) |
Set the input as the stream defined by the IP and the port of the sending device
|
inline |
Returns the current input type
|
inline |
Returns the current input configuration as a string e.g: the SVO name, the serial number, the streaming ip...
|
inline |
Check whether the input is set