Namespace: Rx.LFR.Net – Class: Camera – Assembly: Rx.LFR.Net

Camera Class

C#
class Camera : NativeWrapper<Rx.LFR.CCamera>, ICamera

A camera.

Constructors

Camera()

Default constructor.

Camera(xNative)

Constructor.

Properties

IsOpen

Query if this camera is open.

DriverName

Gets the name of the driver.

ImageFormat

Gets the format of the images captured by this camera.

Index

Gets the camera index. This is the index in the list of cameras in the camera server.

InternalSerial

Gets the internal serial of the camera.

HardwareID

Gets the hardware ID.

IsDisposed

True if this object is disposed.

(Inherited from NativeWrapper)
SyncRoot

A SyncRoot object that can be used to lock this object externally.

(Inherited from NativeWrapper)
IsDisposed

True if this object is disposed.

(Inherited from ICamera)
SyncRoot

A SyncRoot object that can be used to lock this object externally.

(Inherited from ICamera)

Methods

Open()

Opens the camera.

Close()

Closes the camera. Does nothing if not open.

Start()

Starts a capture.

Start(eTriggerMode)

Starts the camera. The given trigger mode determines when the camera captures images.

Stop()

Stops a capture.

Suspend(bSuspend)

Suspend capture.

Trigger()

Triggers this object.

IsPropertyAvailable(eProp)

Queries if a property is available.

GetProperty(eProp, iValue)

Gets a property.

GetProperty(eProp, fValue)

Gets a property.

GetProperty(eProp, sValue)

Gets the value of a string property.

SetProperty(eProp, iValue)

Sets a property.

SetProperty(eProp, fValue)

Sets a property.

SetProperty(eProp, sValue)

Sets the value of a string property.

GetPropertyRange(eProp, fMin, fMax)

Gets the property range of the given arguments.

GetPropertyRange(eProp, iMin, iMax)

Gets the property range of the given arguments.

SetThreadGroupAffinity(group, mask)

Sets the thread group affinity of the internal camera threads.

GetPropertyRange(eProp, aiValues)

Gets the possible values of an integer property.

GetInterface(eInterface)

Gets the interface of the CUDA compute class determined by the ECudaComputeInterface enum.

GetNative()

Gets the native instance.

(Inherited from NativeWrapper)
GetProperty(eProp, sValue)

Gets the value of a string property.

(Inherited from ICamera)
GetNative()

Gets the native instance.

(Inherited from ICamera)
Dispose()

Destructor.

Events

ImageCaptured

Event queue for all listeners interested in ImageCaptured events.