Raytrix Light Field SDK
5.0
|
A camera.
Inherits Rx::Net::NativeInterfaceWrapper< Rx::LFR::CCamera, Rx::LFR::Net::Interfaces::ECamera >.
Public Member Functions | |
Camera () | |
Default constructor. More... | |
Camera (Rx::LFR::CCamera &xNative) | |
Constructor. More... | |
~Camera () | |
Destructor. More... | |
void | Close () |
Closes the camera. Does nothing if not open. More... | |
virtual System::Object ^ | GetInterface (Interfaces::ECamera eInterface) override |
Gets the interface of the CUDA compute class determined by the ECudaComputeInterface enum. More... | |
virtual System::Object ^ | GetInterface (Rx::LFR::Net::Interfaces::ECamera eData) |
Gets the interface. More... | |
void | GetProperty (InteropNet::Runtime30::Camera::EProperty eProp, RX_OUT float % fValue) |
Gets a property. More... | |
void | GetProperty (InteropNet::Runtime30::Camera::EProperty eProp, RX_OUT int % iValue) |
Gets a property. More... | |
void | GetProperty (InteropNet::Runtime30::Camera::EProperty eProp, RX_OUT System::String^ % sValue) |
Gets the value of a string property. More... | |
void | GetPropertyRange (InteropNet::Runtime30::Camera::EProperty eProp, RX_OUT array< int >^ % aiValues) |
Gets the possible values of an integer property. More... | |
void | GetPropertyRange (InteropNet::Runtime30::Camera::EProperty eProp, RX_OUT float % fMin, RX_OUT float % fMax) |
Gets the property range of the given arguments. More... | |
void | GetPropertyRange (InteropNet::Runtime30::Camera::EProperty eProp, RX_OUT int % iMin, RX_OUT int % iMax) |
Gets the property range of the given arguments. More... | |
delegate void | ImageCapturedHandler (Rx::Net::Image^ xImage, unsigned uCamIdx) |
Handler of image captured events. More... | |
bool | IsPropertyAvailable (InteropNet::Runtime30::Camera::EProperty eProp) |
Queries if a property is available. More... | |
void | Open () |
Opens the camera. More... | |
void | SetProperty (InteropNet::Runtime30::Camera::EProperty eProp, float fValue) |
Sets a property. More... | |
void | SetProperty (InteropNet::Runtime30::Camera::EProperty eProp, int iValue) |
Sets a property. More... | |
void | SetProperty (InteropNet::Runtime30::Camera::EProperty eProp, System::String^ sValue) |
Sets the value of a string property. More... | |
void | Start () |
Starts a capture. More... | |
void | Start (InteropNet::Runtime30::Camera::ETriggerMode eTriggerMode) |
Starts the camera. The given trigger mode determines when the camera captures images. More... | |
void | Stop () |
Stops a capture. More... | |
void | Suspend (bool bSuspend) |
Suspend capture. More... | |
void | Trigger () |
Triggers this object. More... | |
Static Public Member Functions | |
static bool | operator== (Camera^ xCamera1, Camera^ xCamera2) |
Equality operator. More... | |
Properties | |
System::String^ | DriverName [get] |
Gets the name of the driver. More... | |
System::String^ | HardwareID [get] |
Gets the hardware ID. More... | |
Rx::Net::ImageFormat^ | ImageFormat [get] |
Gets the format of the images captured by this camera. More... | |
unsigned | Index [get] |
Gets the camera index. This is the index in the list of cameras in the camera server. More... | |
System::String^ | InternalSerial [get] |
Gets the internal serial of the camera More... | |
bool | IsOpen [get] |
Query if this camera is open. More... | |
Events | |
ImageCapturedHandler^ | ImageCaptured [add, remove] |
Event queue for all listeners interested in ImageCaptured events. Attention: he image has to be copied before the image data is allowed to be changed More... | |
|
inline |
Default constructor.
|
inline |
Constructor.
Wraps the given native instance instead of creating an own instance. The given native instance must be valid for the lifetime of this instance.
xNative | [in] The native instance to be wrapped by this class. |
|
inline |
Destructor.
|
inline |
Closes the camera. Does nothing if not open.
|
inlineoverridevirtual |
Gets the interface of the CUDA compute class determined by the ECudaComputeInterface enum.
eInterface | [in] The interface enum. |
|
inlinevirtualinherited |
Gets the interface.
|
inline |
Gets a property.
eProp | [in] The property. |
fValue | [out] The value. |
|
inline |
Gets a property.
eProp | [in] The property. |
iValue | [out] Zero-based index of the value. |
|
inline |
Gets the value of a string property.
eProp | [in] The property. |
sValue | [out] The string value. |
|
inline |
Gets the possible values of an integer property.
eProp | [in] The property. |
aiValues | [out] The values. |
|
inline |
Gets the property range of the given arguments.
eProp | [in] The property. |
fMin | [out] The minimum. |
fMax | [out] The maximum. |
|
inline |
Gets the property range of the given arguments.
eProp | [in] The property. |
iMin | [out] Zero-based index of the minimum. |
iMax | [out] Zero-based index of the maximum. |
delegate void Rx::LFR::Net::Camera::ImageCapturedHandler | ( | Rx::Net::Image^ | xImage, |
unsigned | uCamIdx | ||
) |
Handler of image captured events.
Attention: The image has to be copied before the image data is allowed to be changed, otherwise the original camera image could be destroyed!
xImage | [in,out] The captured image. |
uCamIdx | [in] The index of the camera in the camera server. |
|
inline |
Queries if a property is available.
eProp | [in] The property. |
|
inline |
Opens the camera.
Equality operator.
xCamera1 | [in] If non-null, the first instance to compare. |
xCamera2 | [in] If non-null, the second instance to compare. |
|
inline |
Sets a property.
eProp | [in] The property. |
fValue | [in] The value. |
|
inline |
Sets a property.
eProp | [in] The property. |
iValue | [in] Zero-based index of the value. |
|
inline |
Sets the value of a string property.
eProp | [in] The property. |
sValue | [in] The string value. |
|
inline |
Starts a capture.
|
inline |
Starts the camera. The given trigger mode determines when the camera captures images.
eTriggerMode | [in] The trigger mode. |
|
inline |
Stops a capture.
|
inline |
Suspend capture.
bSuspend | [in] true to suspend. |
|
inline |
Triggers this object.
|
get |
Gets the name of the driver.
|
get |
Gets the hardware ID.
|
get |
Gets the format of the images captured by this camera.
|
get |
Gets the camera index. This is the index in the list of cameras in the camera server.
|
get |
Gets the internal serial of the camera
|
get |
Query if this camera is open.
|
addremove |
Event queue for all listeners interested in ImageCaptured events. Attention: he image has to be copied before the image data is allowed to be changed