Zivid C++ API 2.14.0+e4a0c4a9-1
|
A handle to a 2D image being displayed on Zivid camera's projector. More...
#include <Zivid/Projection/ProjectedImage.h>
Public Member Functions | |
ZIVID_CORE_EXPORT Frame2D | capture2D (const Settings2D &settings) |
Capture a single 2D frame without stopping the ongoing image projection. | |
ZIVID_CORE_EXPORT Frame2D | capture (const Settings2D &settings) |
Capture a single 2D frame without stopping the ongoing image projection. | |
ZIVID_CORE_EXPORT void | stop () |
Stops the ongoing image projection. | |
ZIVID_CORE_EXPORT bool | active () const |
Check if a handle is associated with an ongoing image projection. | |
ZIVID_CORE_EXPORT std::string | toString () const |
Get string representation of the projected image. | |
A handle to a 2D image being displayed on Zivid camera's projector.
The image projection will stop when this handle goes out of scope, if another operation is started on the camera or if the stop() method on this handle is called.
ZIVID_CORE_EXPORT bool Zivid::Projection::ProjectedImage::active | ( | ) | const |
Check if a handle is associated with an ongoing image projection.
ZIVID_CORE_EXPORT Frame2D Zivid::Projection::ProjectedImage::capture | ( | const Settings2D & | settings | ) |
Capture a single 2D frame without stopping the ongoing image projection.
settings | Settings2D to use for the capture |
This method is deprecated and will be removed in the next SDK major release (3.0). It is replaced by capture2D.
This method returns right after the acquisition of the image is complete. This function can only be used with a zero-brightness 2D capture, otherwise it will interfere with the projected image. An exception will be thrown if settings contains brightness > 0.
ZIVID_CORE_EXPORT Frame2D Zivid::Projection::ProjectedImage::capture2D | ( | const Settings2D & | settings | ) |
Capture a single 2D frame without stopping the ongoing image projection.
settings | Settings2D to use for the capture |
This method returns right after the acquisition of the image is complete. This function can only be used with a zero-brightness 2D capture, otherwise it will interfere with the projected image. An exception will be thrown if settings contains brightness > 0.
ZIVID_CORE_EXPORT void Zivid::Projection::ProjectedImage::stop | ( | ) |
Stops the ongoing image projection.
ZIVID_CORE_EXPORT std::string Zivid::Projection::ProjectedImage::toString | ( | ) | const |
Get string representation of the projected image.