Image rectangle operations on a device. More...
#include <cvb/driver/image_rect.hpp>
Public Member Functions | |
| DevicePtr | Parent () const noexcept |
| Gets the parent device of this interface. | |
| Size2D< int > | SensorSize () const |
| Gets the sensor size. | |
| Size2D< int > | Size () const |
| Gets the current rectangle size. | |
| void | ApplySize (Size2D< int > size, DeviceUpdateMode mode) |
| Sets the size. | |
| Point2D< int > | Offset () const |
| Gets the offset of the image rectangle. | |
| void | SetOffset (Point2D< int > point) |
| Sets the offset of the image rectangle. | |
| void | Update (DeviceUpdateMode mode) |
| Updates the CVB buffer according to the current device settings. | |
Image rectangle operations on a device.
|
inline |
Sets the size.
| [in] | size | The new size. |
| [in] | mode | How to handle the device image. |
| Any | exception derived from std::exception including CvbException. |
|
inline |
Gets the offset of the image rectangle.
| Any | exception derived from std::exception including CvbException. |
|
inlinenoexcept |
Gets the parent device of this interface.
| Does | not throw any exception. |
|
inline |
Gets the sensor size.
| Any | exception derived from std::exception including CvbException. |
|
inline |
Sets the offset of the image rectangle.
| [in] | point | The new offset. |
| Any | exception derived from std::exception including CvbException. |
|
inline |
Gets the current rectangle size.
| Any | exception derived from std::exception including CvbException. |
|
inline |
Updates the CVB buffer according to the current device settings.
| [in] | mode | How to handle the device image. |
| Any | exception derived from std::exception including CvbException. |