6 #pragma managed(push, off) 19 #include "IImageProperty.h" 22 #define __cdecl __attribute__((__cdecl__)) 30 typedef void (__cdecl *
TCallbackFunction)(
void* callBackOwner,
unsigned int iWidth,
unsigned int iHeight,
31 unsigned int iPixelFormat,
32 unsigned int iDataFormat,
void* pDataPtr);
36 unsigned int iPixelFormat,
37 unsigned int iDataFormat,
void* pDataPtr, IImageProperty* pImageData);
60 virtual void Open(
void) = 0;
67 virtual void Close(
void) = 0;
74 virtual void Reset(
void) = 0;
154 virtual void Trigger(
void) = 0;
435 virtual void TestCameraConfiguration(
double& dMinFps,
double& dMaxFPS,
double& dMinExposure,
double& dMaxExposure) = 0;
virtual void Close(void)=0
Closes the camera and disconnects it.
virtual void ProcessWhiteBalance(void)=0
Take a white image and do color balancing.
virtual void TestCameraConfiguration(void)=0
This will test the test configuration.
virtual void Trigger(void)=0
Triggers this camera to deliver an image via the callback function Rx::RayCam::TCallbackFunction (onl...
This class represents a camera. To use the camera in streaming mode:
Definition: IDevice.h:48
virtual void UnregisterCallback(void)=0
Unregisters the receive image callback.
virtual EWhiteImageStatus::ID ProcessDevignetting(void)=0
Take a white image and do devignetting. This will remove vignetting artifacts.
virtual void StartStreamSuspended(Rx::RayCam::ECamTriggerMode::ID eMode)=0
Starts a video stream but suspended. You won't receive any images until you call Rx::RayCam::IDevice:...
virtual void SuspendStream(bool bSuspend)=0
Suspend or unsuspend the camera.
virtual void GetProperty(ECamProperty::ID eProp, int &theValue)=0
Gets a camera property of type int or bool (0 represents false).
virtual void UnregisterCallbackExtended(void)=0
Unregisters the extended receive image callback.
virtual void SetPropertyRange(ECamProperty::ID eProp, int newMin, int newMax)=0
Sets a camera property with two values of type int or bool (0 represents false).
ID
Definition: ECamProperty.h:21
ID
Definition: ECamTriggerMode.h:13
void(__cdecl * TCallbackFunction)(void *callBackOwner, unsigned int iWidth, unsigned int iHeight, unsigned int iPixelFormat, unsigned int iDataFormat, void *pDataPtr)
This is the callback functions which returns the captured images.
Definition: IDevice.h:30
virtual void ApplyCameraConfiguration(void)=0
This will apply the set up test configuration.
virtual void GetPropertyRange(ECamProperty::ID eProp, int &theMin, int &theMax)=0
Gets the min and max value of a camera property of type int.
virtual void Open(void)=0
Opens this camera device. Might throw a firmware mismatch exception which indicates that either the f...
void(__cdecl * TCallbackFunctionExtended)(void *callBackOwner, unsigned int iWidth, unsigned int iHeight, unsigned int iPixelFormat, unsigned int iDataFormat, void *pDataPtr, IImageProperty *pImageData)
This is the callback functions which returns the captured images.
Definition: IDevice.h:35
virtual void Reset(void)=0
Resets the camera.
virtual void StartStream(Rx::RayCam::ECamTriggerMode::ID eMode)=0
Starts a stream in a specific mode.
virtual void RegisterCallback(void *callBackOwner, TCallbackFunction pCallbackFunction)=0
Registers the receive image callback specified by Rx::RayCam::TCallbackFunction.
ID
Definition: EWhiteImageStatus.h:13
virtual void SetProperty(ECamProperty::ID eProp, int newValue)=0
Sets a camera property of type int or bool (0 represents false).
virtual void StopStream(void)=0
Stops a stream. The function abort pending image exposures.
Definition: RayCamAPI.h:27
virtual void LockTextureAccess()=0
Locks all Texture operations when using OpenGl Texture Transfer
virtual void UnlockTextureAccess()=0
Unlocks the texture mutex when using OpenGL Texture Transfer
virtual bool HasProperty(ECamProperty::ID eProp)=0
Check if a property is available for Get/Set operations.