RobWorkProject  23.9.11-
Public Types | Public Member Functions | Protected Member Functions | List of all members
Scanner25D Class Referenceabstract

an interface describing a 3D scanner sensor. The scanner takes pictures in the oposite direction of the z-axis of the frame that it is attached to. The x-y plane forms the image plane such that the xy-origin is located in the bottom left corner of the image. More...

#include <Scanner25D.hpp>

Inherits Scanner.

Public Types

typedef rw::core::Ptr< Scanner25DPtr
 smart pointer type to this class
 
- Public Types inherited from Sensor
typedef rw::core::Ptr< SensorPtr
 smart pointer type
 

Public Member Functions

virtual ~Scanner25D ()
 Destructor. Closes scanner connection if not already closed.
 
virtual const rw::geometry::PointCloudgetScan ()=0
 gets the last acquired image More...
 
- Public Member Functions inherited from Scanner
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...
 
- Public Member Functions inherited from Sensor
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::SensorModelgetSensorModel () 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::PropertyMapgetPropertyMap ()
 gets the propertymap of this sensor
 
const rw::core::PropertyMapgetPropertyMap () const
 gets the propertymap of this sensor
 

Protected Member Functions

 Scanner25D (const std::string &name, const std::string &desc="")
 constructor More...
 
- Protected Member Functions inherited from Scanner
 Scanner (const std::string &name, const std::string &desc)
 constructor More...
 
 Scanner (const std::string &name)
 constructor More...
 
- Protected Member Functions inherited from Sensor
 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...
 

Detailed Description

an interface describing a 3D scanner sensor. The scanner takes pictures in the oposite direction of the z-axis of the frame that it is attached to. The x-y plane forms the image plane such that the xy-origin is located in the bottom left corner of the image.

Constructor & Destructor Documentation

◆ Scanner25D()

Scanner25D ( const std::string &  name,
const std::string &  desc = "" 
)
inlineprotected

constructor

Parameters
name[in] name of scanner sensor
desc

Member Function Documentation

◆ getScan()

virtual const rw::geometry::PointCloud& getScan ( )
pure virtual

gets the last acquired image

Returns
the image that was last acquired.

The documentation for this class was generated from the following file: