211 std::shared_ptr<class CameraImpl> m_impl;
#define ZIVID_CORE_EXPORT
Definition CoreExport.h:56
Information about camera model, serial number etc.
Definition CameraInfo.h:79
Information about camera connection state, temperatures, etc.
Definition CameraState.h:79
Interface to one Zivid camera.
Definition Camera.h:69
ZIVID_CORE_EXPORT Camera()
Constructor.
ZIVID_CORE_EXPORT void closeAperture()
Close the camera's aperture.
ZIVID_CORE_EXPORT Camera(const Camera &other) noexcept
Copy constructor.
ZIVID_CORE_EXPORT std::string toString() const
Get string representation of the camera info.
ZIVID_CORE_EXPORT Camera & operator=(Camera &&other) noexcept
Move assignment operator.
ZIVID_CORE_EXPORT Frame2D capture(const Settings2D &settings2D)
Capture a single 2D frame.
ZIVID_CORE_EXPORT Camera & operator=(const Camera &other) noexcept
Copy assignment.
ZIVID_CORE_EXPORT bool operator==(const Camera &other) const
Check if two camera instances represent the same device.
ZIVID_CORE_EXPORT void writeUserData(const std::vector< uint8_t > &data)
Write user data to camera. The total number of writes supported depends on camera model and size of d...
ZIVID_CORE_EXPORT std::vector< uint8_t > userData() const
Read user data from camera.
ZIVID_CORE_EXPORT void disconnect()
Disconnect from the camera and free all resources associated with it.
ZIVID_CORE_EXPORT Frame capture(const Settings &settings)
Capture a single frame.
ZIVID_CORE_EXPORT NetworkConfiguration networkConfiguration() const
Get the network configuration from the camera.
ZIVID_CORE_EXPORT bool operator!=(const Camera &other) const
Check if two camera instances represent different devices.
ZIVID_CORE_EXPORT Camera(Camera &&other) noexcept
Move constructor.
ZIVID_CORE_EXPORT Camera & connect()
Connect to the camera.
ZIVID_CORE_EXPORT ~Camera()
Destructor.
ZIVID_CORE_EXPORT void applyNetworkConfiguration(const NetworkConfiguration &networkConfiguration)
Applies the specified network configuration to the camera.
ZIVID_CORE_EXPORT CameraInfo info() const
Get information about camera model, serial number etc.
ZIVID_CORE_EXPORT CameraState state() const
Get the current camera state.
A 2D frame captured by a Zivid camera.
Definition Frame2D.h:69
A frame captured by a Zivid camera.
Definition Frame.h:70
Network configuration of a camera.
Definition NetworkConfiguration.h:81
Settings used when capturing 2D images with a Zivid camera.
Definition Settings2D.h:79
Settings used when capturing with a Zivid camera.
Definition Settings.h:80
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:56
std::ostream & operator<<(std::ostream &stream, const Array2D< T > &array)
Serialize array information to a stream.
Definition Array2D.h:285