![]() |
SCENE C++ API
2.0.31
|
The general interface to connect and communicate with a FARO sensor devices. More...
#include <lssensor.h>
Classes | |
struct | ButtonInfo |
Button info containing hardware button and event. More... | |
Public Types | |
enum | Button { LEFT, MIDDLE, RIGHT } |
Hardware buttons. More... | |
enum | ButtonEvent { CLICK, DOUBLECLICK, PRESS, RELEASE } |
Events for hardware buttons. More... | |
typedef Eigen::Matrix< Eigen::Vector3uc, Eigen::Dynamic, Eigen::Dynamic > | VideoData |
Event that is triggered when new video data is available. More... | |
Public Member Functions | |
LSSensor () | |
~LSSensor () | |
ref_ptr< LSError > | connect (LSString id, float timeout=30.f) |
Connects to a sensor. More... | |
LSPod< std::vector< std::pair< LSString, LSString > > > | detectSensors () const |
Fetches a list of available sensors. More... | |
SENSOR_SIGNAL (void) &onSensorDisconnected() | |
Event that is triggered when a sensor device has been removed. More... | |
SENSOR_SIGNAL (void) &onScanStartTriggered() | |
Event that is triggered when the user intends to start scanning. More... | |
SENSOR_SIGNAL (void) &onScanStarted() | |
Event that is triggered when scanning has started. More... | |
SENSOR_SIGNAL (void) &onScanTrackingLost() | |
Event that is triggered when tracking has been lost. More... | |
SENSOR_SIGNAL (void) &onScanTrackingFound() | |
Event that is triggered when tracking has been found. More... | |
SENSOR_SIGNAL (void) &onScanStopTriggered() | |
Event that is triggered when the user intends to stop scanning. More... | |
SENSOR_SIGNAL (void) &onScanCompleted() | |
Event that is triggered when scanning has stopped and the scan is completed. More... | |
FRAME_SIGNAL (LSPod< std::vector< LSPointXYZRGB >>) &onPointData() | |
Event that is triggered when new point data is available. More... | |
FRAME_SIGNAL (Eigen::Matrix4d) &onUpdateFramePose() | |
Event that is triggered each time a frame's pose is updated. More... | |
SENSOR_SIGNAL (ButtonInfo) &onButtonEvent() | |
Event that is triggered when a hardware button event occurs. More... | |
LSResult::Result | start () |
Starts the scanning process. More... | |
LSResult::Result | stop () |
Stops the scanning process. More... | |
Additional Inherited Members | |
![]() | |
void | ref () const |
Increments the internal reference counter. More... | |
void | unref () const |
Decrements the internal reference counter. More... | |
The general interface to connect and communicate with a FARO sensor devices.
typedef Eigen::Matrix<Eigen::Vector3uc, Eigen::Dynamic, Eigen::Dynamic> VideoData |
Event that is triggered when new video data is available.
|
strong |
|
strong |
LSSensor | ( | ) |
~LSSensor | ( | ) |
Connects to a sensor.
id | The id of the sensor to connect to. |
timeout | The timeout for the connection attempt. |
Fetches a list of available sensors.
SENSOR_SIGNAL | ( | void | ) | & |
Event that is triggered when a sensor device has been removed.
SENSOR_SIGNAL | ( | void | ) | & |
Event that is triggered when the user intends to start scanning.
SENSOR_SIGNAL | ( | void | ) | & |
Event that is triggered when scanning has started.
SENSOR_SIGNAL | ( | void | ) | & |
Event that is triggered when tracking has been lost.
SENSOR_SIGNAL | ( | void | ) | & |
Event that is triggered when tracking has been found.
SENSOR_SIGNAL | ( | void | ) | & |
Event that is triggered when the user intends to stop scanning.
SENSOR_SIGNAL | ( | void | ) | & |
Event that is triggered when scanning has stopped and the scan is completed.
FRAME_SIGNAL | ( | LSPod< std::vector< LSPointXYZRGB >> | ) | & |
Event that is triggered when new point data is available.
FRAME_SIGNAL | ( | Eigen::Matrix4d | ) | & |
Event that is triggered each time a frame's pose is updated.
Use the pose to convert a frame's points to world coordinates.
SENSOR_SIGNAL | ( | ButtonInfo | ) | & |
Event that is triggered when a hardware button event occurs.
LSResult::Result start | ( | ) |
Starts the scanning process.
LSResult::Result stop | ( | ) |
Stops the scanning process.