![]() |
Artec 3D Scanning SDK
2.0
|
Interface to initiate capture and control scanner parameters (fps, texture, exposure time, flash, etc.) More...
#include <artec/sdk/capturing/IScanner.h>
Inheritance diagram for artec::sdk::capturing::IScanner:Public Member Functions | |
| virtual ErrorCode | createFrameProcessor (IFrameProcessor **processor, FrameProcessorDesc *desc=NULL)=0 |
| Create IFrameProcessor processor. More... | |
| virtual ErrorCode | initFrameProcessorDesc (FrameProcessorDesc *desc)=0 |
| Initialize FrameProcessor settings with the default values. More... | |
| virtual int | getFrameNumber () const =0 |
| Get current frame number. More... | |
| virtual ErrorCode | capture (IFrame **frame, bool captureTexture)=0 |
| Perform capture. More... | |
| virtual ErrorCode | captureTexture (IImage **texture, int *frameNumber)=0 |
| Capture texture only. More... | |
| virtual const ScannerId * | getId () const =0 |
| Get scanner ID. More... | |
| virtual const ScannerInfo * | getInfo () const =0 |
| Get scanner information. More... | |
| virtual IScannerObserver * | getObserver () const =0 |
| Get scanner event handler. More... | |
| virtual ErrorCode | setObserver (IScannerObserver *handler)=0 |
| Set scanner event handler. More... | |
| virtual float | getGain () const =0 |
| Get 3D camera gain value. More... | |
| virtual float | getTextureGain () const =0 |
| Get texture gain value. More... | |
| virtual void | setTextureGain (float gain)=0 |
| Set texture gain value. More... | |
| virtual float | getTextureGainMin () const =0 |
| Get lower bound of the texture gain range. More... | |
| virtual float | getTextureGainMax () const =0 |
| Get upper bound of the texture gain range. More... | |
| virtual float | getFPS () const =0 |
| Get the current scanning speed (in FPS). More... | |
| virtual void | setFPS (float fps)=0 |
| Set the required scanning speed (in FPS). More... | |
| virtual float | getMaximumFPS () const =0 |
| Return maximum possible scanning speed (in FPS) for this scanner type. More... | |
| virtual const artec::sdk::base::Matrix3x4D & | getTextureMappingMatrix () const =0 |
| Get matrix for texture mapping. More... | |
| virtual float | getTextureIllumination () const =0 |
| Get parameters that are needed for texture brightness normalization. More... | |
| virtual ErrorCode | convertTextureFull (IImage **fullTexture, const IImage *rawTexture) const =0 |
| Convert RAW buffer to RGB (use standard capturer conversion). More... | |
| virtual ErrorCode | convertTextureHalf (IImage **halfTexture, const IImage *rawTexture) const =0 |
| Convert RAW texture buffer from device to half-resolution RGB (fast option). More... | |
| virtual void | enableFlash (bool enable)=0 |
| Enable/Disable flash bulb for geometry camera. More... | |
| virtual bool | isFlashEnabled () const =0 |
| Get geometry camera flash bulb state. More... | |
| virtual void | setFlashDelay (float vl)=0 |
| Set flash delay. More... | |
| virtual float | getFlashDelay () const =0 |
| Get flash delay. More... | |
| virtual float | getFlashDuration () const =0 |
| Get flash delay duration in for the geometry camera. More... | |
| virtual void | enableTextureFlash (bool enable)=0 |
| Enable/Disable flash bulb for the texture camera. More... | |
| virtual bool | isTextureFlashEnabled () const =0 |
| Get texture camera flash bulb state. More... | |
| virtual void | setTriggerDelay (float delay)=0 |
| Set external synchronization trigger delay. More... | |
| virtual float | getTriggerDelay () const =0 |
| Get external synchronization trigger delay. More... | |
| virtual void | setUseHwTrigger (bool vl)=0 |
| Enable/Disable scanner trigger for external synchronization. More... | |
| virtual bool | getUseHwTrigger () const =0 |
| Get status of the external synchronization scanner trigger. More... | |
| virtual void | setTextureUseHwTrigger (bool vl)=0 |
| Enable/Disable texture camera trigger to synchronize texture and depth. More... | |
| virtual bool | getTextureUseHwTrigger () const =0 |
| Get status of the texture camera synchronization trigger. More... | |
| virtual void | setTextureTriggerDelay (float delay)=0 |
| Set external synchronization trigger delay for texture camera. More... | |
| virtual float | getTextureTriggerDelay () const =0 |
| Get external synchronization trigger delay for texture camera. More... | |
| virtual void | setTextureShutterSpeed (float vl)=0 |
| Set texture camera shutter speed (exposure time). More... | |
| virtual float | getTextureShutterSpeed () const =0 |
| Get texture camera shutter speed (exposure time). More... | |
| virtual void | enableAutoExposure (bool enable)=0 |
| Enable/Disable autoexposure. More... | |
| virtual bool | isAutoExposureEnabled () const =0 |
| Get autoexposure state. More... | |
| virtual void | enableAutoWhiteBalance (bool enable)=0 |
| Enable/Disable auto white balance. More... | |
| virtual bool | isAutoWhiteBalanceEnabled () const =0 |
| Get state of auto white balance. More... | |
| virtual ErrorCode | setScannerSynchronization (IScannerSynchronization *sync)=0 |
| Set scanner bundle synchronization interface. More... | |
| virtual IScannerSynchronization * | getScannerSynchronization () const =0 |
| Get current scanner bundle synchronization interface. More... | |
| virtual ErrorCode | fireTrigger (bool captureTexture)=0 |
| Scanner fire trigger. More... | |
| virtual ErrorCode | retrieveFrame (IFrame **frame, bool captureTexture)=0 |
| Retrieve captured frame. More... | |
| virtual int | getScannerIndex () const =0 |
| Get scanner index in the bundle. More... | |
| virtual void | setScannerIndex (int newIndex)=0 |
| Set scanner index in the bundle. More... | |
Public Member Functions inherited from artec::sdk::base::IRef | |
| virtual int | addRef () const =0 |
| Increase object reference counter. More... | |
| virtual int | release () const =0 |
| Decrease object reference counter. More... | |
Interface to initiate capture and control scanner parameters (fps, texture, exposure time, flash, etc.)
Definition at line 97 of file IScanner.h.
|
pure virtual |
Perform capture.
Safe multi-thread function.
| frame | Captured frame. |
| captureTexture | If it is true, texture will be captured. |
|
pure virtual |
Capture texture only.
Safe multi-thread function.
| texture | Captured texture image. |
| frameNumber | Current frame number. |
|
pure virtual |
Convert RAW buffer to RGB (use standard capturer conversion).
Perform de-mosaicing, correct vignetting and distortion.
| fullTexture | Full resolution output texture. |
| rawTexture | Input raw texture directly from the scanner sensor. |
|
pure virtual |
Convert RAW texture buffer from device to half-resolution RGB (fast option).
Perform de-mosaicing, correct vignetting and distortion.
| halfTexture | Half resolution output texture. |
| rawTexture | Input raw texture, directly from the scanner sensor. |
|
pure virtual |
Create IFrameProcessor processor.
| desc | Frame processor settings. Use NULL for the default settings. |
|
pure virtual |
Enable/Disable autoexposure.
| enable | The true value stands for enabled auto exposure, false for disabled. |
|
pure virtual |
Enable/Disable auto white balance.
| enable | The true value stands for enabled auto white balance, false for disabled. |
|
pure virtual |
Enable/Disable flash bulb for geometry camera.
| enable | The true stands for enabled flash, false for disabled. |
|
pure virtual |
Enable/Disable flash bulb for the texture camera.
| enable | The true value stands for enabled flash, false for disabled. |
|
pure virtual |
Scanner fire trigger.
It's not a thread-safe function.
| captureTexture | - True if the scanner captures both texture and geometry, false if only geometry. |
|
pure virtual |
Get flash delay.
|
pure virtual |
Get flash delay duration in for the geometry camera.
|
pure virtual |
Get the current scanning speed (in FPS).
|
pure virtual |
Get current frame number.
|
pure virtual |
Get 3D camera gain value.
|
pure virtual |
Get scanner ID.
|
pure virtual |
Get scanner information.
|
pure virtual |
Return maximum possible scanning speed (in FPS) for this scanner type.
|
pure virtual |
Get scanner event handler.
|
pure virtual |
Get scanner index in the bundle.
|
pure virtual |
Get current scanner bundle synchronization interface.
|
pure virtual |
Get texture gain value.
|
pure virtual |
Get upper bound of the texture gain range.
|
pure virtual |
Get lower bound of the texture gain range.
|
pure virtual |
Get parameters that are needed for texture brightness normalization.
|
pure virtual |
Get matrix for texture mapping.
Pass it in the data-processor mapTexture() function.
|
pure virtual |
Get texture camera shutter speed (exposure time).
|
pure virtual |
Get external synchronization trigger delay for texture camera.
|
pure virtual |
Get status of the texture camera synchronization trigger.
|
pure virtual |
Get external synchronization trigger delay.
|
pure virtual |
Get status of the external synchronization scanner trigger.
|
pure virtual |
Initialize FrameProcessor settings with the default values.
| desc | Fill desc with the default processing parameters. |
|
pure virtual |
Get autoexposure state.
|
pure virtual |
Get state of auto white balance.
|
pure virtual |
Get geometry camera flash bulb state.
|
pure virtual |
Get texture camera flash bulb state.
|
pure virtual |
Retrieve captured frame.
It's not a thread-safe function.
| frame | Captured frame. |
| captureTexture | If the value is true, texture will be retrieved as well. |
|
pure virtual |
Set flash delay.
| vl | Flash delay to set (in milliseconds). |
|
pure virtual |
Set the required scanning speed (in FPS).
| fps | FPS (frames per second) value. |
|
pure virtual |
Set scanner event handler.
| handler | Pointer to the scanner event handler. |
|
pure virtual |
Set scanner index in the bundle.
| newIndex | Scanner index in the bundle. |
|
pure virtual |
Set scanner bundle synchronization interface.
| sync | IScannerSynchronization interface created using the createScannerSynchronization function. Set NULL for disabled synchronization. |
|
pure virtual |
Set texture gain value.
| gain | Texture gain value. |
|
pure virtual |
Set texture camera shutter speed (exposure time).
| vl | Exposure time in milliseconds. |
|
pure virtual |
Set external synchronization trigger delay for texture camera.
| delay | Delay in milliseconds. |
|
pure virtual |
Enable/Disable texture camera trigger to synchronize texture and depth.
| vl | True for enabled synchronization, false for disabled. |
|
pure virtual |
Set external synchronization trigger delay.
| delay | Trigger delay in milliseconds. |
|
pure virtual |
Enable/Disable scanner trigger for external synchronization.
| vl | The true value stands for enabled synchronization, false for disabled. |
1.8.9.1