CVBpy 15.0
ImageRect Class Reference

Image rectangle operations on a device. More...

Inherits object.

Public Member Functions

None apply_size (self, cvb.Size2D size, int mode)
 Sets the size. More...
 
None update (self, int mode)
 Updates the CVB buffer according to the current device settings. More...
 

Properties

 offset = property
 cvb.Point2D: Gets or sets the offset of the image rectangle.
 
 sensor_size = property
 cvb.Size2D: Gets the sensor size.
 
 size = property
 cvb.Size2D: Gets the current rectangle size.
 

Detailed Description

Image rectangle operations on a device.

Member Function Documentation

◆ apply_size()

None apply_size (   self,
cvb.Size2D  size,
int  mode 
)

Sets the size.

Parameters

size : cvb.Size2D The new size.

mode : int How to handle the device image (see cvb.DeviceUpdateMode).

◆ update()

None update (   self,
int  mode 
)

Updates the CVB buffer according to the current device settings.

Parameters

mode : int How to handle the device image (see cvb.DeviceUpdateMode).