![]() |
RobWorkProject
25.2.11-
|
this interface describe a generic range scanning class. More...
#include <Scanner.hpp>
Inherits Sensor.
Inherited by Scanner1D, Scanner25D, and Scanner2D.
Public Member Functions | |
virtual void | open ()=0 |
Opens connection to the scanner. | |
virtual bool | isOpen ()=0 |
Returns whether the scanner has been opened. More... | |
virtual void | close ()=0 |
Closes the connection to the scanner. | |
virtual void | acquire ()=0 |
Acquires data. | |
virtual bool | isScanReady ()=0 |
tests whether an image has been acquired More... | |
virtual std::pair< double, double > | getRange ()=0 |
Returns the min and max range of this Scanner. More... | |
virtual double | getFrameRate ()=0 |
returns the framerate that this camera is setup with More... | |
![]() | |
virtual | ~Sensor () |
destructor | |
const std::string & | getName () const |
returns the name of this sensor More... | |
const std::string & | getDescription () const |
returns a description of this sensor More... | |
rw::core::Ptr< rw::sensor::SensorModel > | getSensorModel () const |
The frame to which the sensor is attached. More... | |
virtual void | setSensorModel (rw::core::Ptr< rw::sensor::SensorModel > smodel) |
Sets the frame to which the sensor should be attached. More... | |
rw::core::PropertyMap & | getPropertyMap () |
gets the propertymap of this sensor | |
const rw::core::PropertyMap & | getPropertyMap () const |
gets the propertymap of this sensor | |
Protected Member Functions | |
Scanner (const std::string &name, const std::string &desc) | |
constructor More... | |
Scanner (const std::string &name) | |
constructor More... | |
![]() | |
Sensor (const std::string &name) | |
constructor More... | |
Sensor (const std::string &name, const std::string &description) | |
constructor More... | |
void | setName (const std::string &name) |
sets the name of this sensor More... | |
void | setDescription (const std::string &description) |
sets the description of this sensor More... | |
Additional Inherited Members | |
![]() | |
typedef rw::core::Ptr< Sensor > | Ptr |
smart pointer type | |
this interface describe a generic range scanning class.
|
inlineprotected |
constructor
name | [in] name of sensor |
desc | [in] description of sensor |
|
inlineprotected |
constructor
name | [in] name of sensor |
|
pure virtual |
returns the framerate that this camera is setup with
Implemented in SimulatedScanner1D.
|
pure virtual |
Returns the min and max range of this Scanner.
Implemented in SimulatedScanner1D.
|
pure virtual |
Returns whether the scanner has been opened.
Implemented in SimulatedScanner1D.
|
pure virtual |
tests whether an image has been acquired
Implemented in SimulatedScanner1D.