Public Member Functions | Properties | List of all members
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. More...
 
 sensor_size = property
 cvb.Size2D: Gets the sensor size. More...
 
 size = property
 cvb.Size2D: Gets the current rectangle size. More...
 

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).

Property Documentation

◆ offset

offset = property
static

cvb.Point2D: Gets or sets the offset of the image rectangle.

◆ sensor_size

sensor_size = property
static

cvb.Size2D: Gets the sensor size.

◆ size

size = property
static

cvb.Size2D: Gets the current rectangle size.