Manager class for Zivid
More...
#include <Application.h>
◆ Application() [1/2]
ZIVID_API Zivid::Application::Application |
( |
| ) |
|
◆ ~Application()
ZIVID_API Zivid::Application::~Application |
( |
| ) |
|
◆ Application() [2/2]
ZIVID_API Zivid::Application::Application |
( |
Application && |
other | ) |
|
|
noexcept |
◆ cameras()
ZIVID_API std::vector<Camera> Zivid::Application::cameras |
( |
| ) |
|
Get a list of all cameras
- Returns
- A list of cameras including all physical cameras as well as virtual ones (e.g. cameras created by createFileCamera())
◆ connectCamera() [1/2]
ZIVID_API Camera Zivid::Application::connectCamera |
( |
const Settings & |
settings = {} | ) |
|
Connect to the next available Zivid camera
- Parameters
-
- Returns
- Zivid camera instance
◆ connectCamera() [2/2]
Connect to the next available Zivid camera
- Parameters
-
serialNumber | Connect to the camera with this serial number |
settings | Settings for the camera |
- Returns
- Zivid camera instance
◆ createFileCamera()
ZIVID_API Camera Zivid::Application::createFileCamera |
( |
const std::string & |
frameFile, |
|
|
const Settings & |
settings = {} |
|
) |
| |
Create a virtual camera to simulate Zivid measurements by reading data from a file
- Parameters
-
frameFile | Data file in ZDF format containing Zivid data |
settings | Settings for the virtual camera |
- Returns
- Zivid virtual camera instance
◆ defaultComputeDevice()
ZIVID_API ComputeDevice Zivid::Application::defaultComputeDevice |
( |
| ) |
const |
The default compute device, used when connecting to new cameras
- Returns
- A compute device
◆ operator=()
◆ setDefaultComputeDevice()
ZIVID_API void Zivid::Application::setDefaultComputeDevice |
( |
ComputeDevice |
device | ) |
|
Set the default compute device to be used for new cameras
- Parameters
-
The documentation for this class was generated from the following file: