Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
datatypes::ScannerInfo Class Reference

#include <ScannerInfo.hpp>

Inheritance diagram for datatypes::ScannerInfo:
Inheritance graph
[legend]

Public Types

typedef std::vector< std::pair< double, double > > ResolutionMap
 

Public Member Functions

double getBeamTilt () const
 
UINT8 getDeviceID () const
 Returns the ID of the device that has recorded this scan. More...
 
double getEndAngle () const
 
const TimegetEndTimestamp () const
 Returns the end timestamp of the scan (in terms of the host computer clock) More...
 
const Position3DgetMountingPosition () const
 
UINT32 getScanFlags () const
 
double getScanFrequency () const
 Returns the start timestamp of this scan as given by the measuring device (which most probably has a clock offset) More...
 
UINT8 getScannerType () const
 
UINT16 getScanNumber () const
 Returns the scan counter from scanner device. More...
 
double getStartAngle () const
 
const TimegetStartTimestamp () const
 
virtual const UINT32 getUsedMemory () const
 
bool isFrontMirrorSide ()
 
bool isRearMirrorSide ()
 
bool operator== (const ScannerInfo &other) const
 Equality predicate. More...
 
 ScannerInfo ()
 Empty constructor. More...
 
void setBeamTilt (double tilt)
 
void setDeviceID (UINT8 v)
 
void setEndAngle (double v)
 
void setMountingPosition (const Position3D &v)
 
void setProcessingFlags (const UINT16 processingFlags)
 
void setScanFlags (UINT32 flags)
 
void setScanFrequency (double freq)
 Set the scanner's scan frequency in [Hz]. Must be non-negative. More...
 
void setScannerType (UINT8 newScannerType)
 
void setScanNumber (UINT16 v)
 
void setStartAngle (double v)
 
void setTimestamps (const Time &start, const Time &end)
 Set the start and end timestamp of the scan received by this scanner (in terms of the host computer clock) More...
 
 ~ScannerInfo ()
 
- Public Member Functions inherited from datatypes::BasicData
 BasicData ()
 
UINT16 getDatatype ()
 
UINT16 getSourceId ()
 
virtual void setSourceId (UINT16 id)
 
virtual ~BasicData ()
 

Static Public Member Functions

static std::string scannerTypeToString (UINT8 st)
 

Private Attributes

double m_beamTilt
 Beam tilt of this scanner in radians. More...
 
UINT8 m_deviceID
 Accessor functions for scan flags. More...
 
double m_endAngle
 
Position3D m_mountingPosition
 
UINT16 m_processingFlags
 
Time m_scanEndTime
 End timestamp of the scan received by this scanner. More...
 
UINT32 m_scanFlags
 Flags for the single scan belonging to this scanner info. More...
 
double m_scanFrequency
 Scan frequency of this scanner. More...
 
UINT8 m_scannerType
 
UINT16 m_scanNumber
 
Time m_scanStartTime
 Start timestamp of the scan received by this scanner. More...
 
double m_startAngle
 

Additional Inherited Members

- Protected Attributes inherited from datatypes::BasicData
UINT16 m_datatype
 
UINT16 m_sourceId
 

Detailed Description

Definition at line 23 of file ScannerInfo.hpp.

Member Typedef Documentation

typedef std::vector<std::pair<double, double> > datatypes::ScannerInfo::ResolutionMap

Definition at line 39 of file ScannerInfo.hpp.

Constructor & Destructor Documentation

datatypes::ScannerInfo::ScannerInfo ( )

Empty constructor.

Definition at line 18 of file ScannerInfo.cpp.

datatypes::ScannerInfo::~ScannerInfo ( )

Definition at line 35 of file ScannerInfo.cpp.

Member Function Documentation

double datatypes::ScannerInfo::getBeamTilt ( ) const
inline

Definition at line 136 of file ScannerInfo.hpp.

UINT8 datatypes::ScannerInfo::getDeviceID ( ) const
inline

Returns the ID of the device that has recorded this scan.

Definition at line 42 of file ScannerInfo.hpp.

double datatypes::ScannerInfo::getEndAngle ( ) const
inline

Definition at line 69 of file ScannerInfo.hpp.

const Time& datatypes::ScannerInfo::getEndTimestamp ( ) const
inline

Returns the end timestamp of the scan (in terms of the host computer clock)

Definition at line 76 of file ScannerInfo.hpp.

const Position3D& datatypes::ScannerInfo::getMountingPosition ( ) const
inline

Definition at line 153 of file ScannerInfo.hpp.

UINT32 datatypes::ScannerInfo::getScanFlags ( ) const
inline

Definition at line 142 of file ScannerInfo.hpp.

double datatypes::ScannerInfo::getScanFrequency ( ) const
inline

Returns the start timestamp of this scan as given by the measuring device (which most probably has a clock offset)

Returns the end timestamp of this scan as given by the measuring device (which most probably has a clock offset) Set the start and end timestamp of the scan as given by the measuring device (which most probably has a clock offset) Get the frequency this scanner is running at in [Hz].

Definition at line 92 of file ScannerInfo.hpp.

UINT8 datatypes::ScannerInfo::getScannerType ( ) const
inline

Definition at line 46 of file ScannerInfo.hpp.

UINT16 datatypes::ScannerInfo::getScanNumber ( ) const
inline

Returns the scan counter from scanner device.

Definition at line 52 of file ScannerInfo.hpp.

double datatypes::ScannerInfo::getStartAngle ( ) const
inline

Definition at line 61 of file ScannerInfo.hpp.

const Time& datatypes::ScannerInfo::getStartTimestamp ( ) const
inline

Definition at line 73 of file ScannerInfo.hpp.

virtual const UINT32 datatypes::ScannerInfo::getUsedMemory ( ) const
inlinevirtual

Implements datatypes::BasicData.

Definition at line 32 of file ScannerInfo.hpp.

bool datatypes::ScannerInfo::isFrontMirrorSide ( )

Definition at line 88 of file ScannerInfo.cpp.

bool datatypes::ScannerInfo::isRearMirrorSide ( )

Definition at line 78 of file ScannerInfo.cpp.

bool datatypes::ScannerInfo::operator== ( const ScannerInfo other) const

Equality predicate.

Definition at line 56 of file ScannerInfo.cpp.

std::string datatypes::ScannerInfo::scannerTypeToString ( UINT8  st)
static

Definition at line 39 of file ScannerInfo.cpp.

void datatypes::ScannerInfo::setBeamTilt ( double  tilt)

Definition at line 113 of file ScannerInfo.cpp.

void datatypes::ScannerInfo::setDeviceID ( UINT8  v)
inline

Definition at line 43 of file ScannerInfo.hpp.

void datatypes::ScannerInfo::setEndAngle ( double  v)

Definition at line 101 of file ScannerInfo.cpp.

void datatypes::ScannerInfo::setMountingPosition ( const Position3D v)
inline

Definition at line 154 of file ScannerInfo.hpp.

void datatypes::ScannerInfo::setProcessingFlags ( const UINT16  processingFlags)

Definition at line 73 of file ScannerInfo.cpp.

void datatypes::ScannerInfo::setScanFlags ( UINT32  flags)
inline

Definition at line 145 of file ScannerInfo.hpp.

void datatypes::ScannerInfo::setScanFrequency ( double  freq)

Set the scanner's scan frequency in [Hz]. Must be non-negative.

The given start and end must not be not_a_date_time. The given end time must be greater than the start time.

Definition at line 148 of file ScannerInfo.cpp.

void datatypes::ScannerInfo::setScannerType ( UINT8  newScannerType)

Definition at line 108 of file ScannerInfo.cpp.

void datatypes::ScannerInfo::setScanNumber ( UINT16  v)
inline

Definition at line 53 of file ScannerInfo.hpp.

void datatypes::ScannerInfo::setStartAngle ( double  v)

Definition at line 94 of file ScannerInfo.cpp.

void datatypes::ScannerInfo::setTimestamps ( const Time start,
const Time end 
)

Set the start and end timestamp of the scan received by this scanner (in terms of the host computer clock)

The given start and end must not be not_a_date_time. The given end time must be greater than the start time.

Definition at line 124 of file ScannerInfo.cpp.

Member Data Documentation

double datatypes::ScannerInfo::m_beamTilt
private

Beam tilt of this scanner in radians.

Definition at line 237 of file ScannerInfo.hpp.

UINT8 datatypes::ScannerInfo::m_deviceID
private

Accessor functions for scan flags.

Create and set scanner properties dependent on stored device ID Remove the all-zero elements at the end of the resolution map so that only the non-zero elements will remain Check for legal beam tilt of an 8L scanner.

Definition at line 212 of file ScannerInfo.hpp.

double datatypes::ScannerInfo::m_endAngle
private

Definition at line 217 of file ScannerInfo.hpp.

Position3D datatypes::ScannerInfo::m_mountingPosition
private

Definition at line 241 of file ScannerInfo.hpp.

UINT16 datatypes::ScannerInfo::m_processingFlags
private

Definition at line 219 of file ScannerInfo.hpp.

Time datatypes::ScannerInfo::m_scanEndTime
private

End timestamp of the scan received by this scanner.

Definition at line 224 of file ScannerInfo.hpp.

UINT32 datatypes::ScannerInfo::m_scanFlags
private

Flags for the single scan belonging to this scanner info.

Definition at line 239 of file ScannerInfo.hpp.

double datatypes::ScannerInfo::m_scanFrequency
private

Scan frequency of this scanner.

Raw start timestamp of the scan received by this scanner as given by the measuring device, i.e. including clock offset. Raw end timestamp of the scan received by this scanner as given by the measuring device, i.e. including clock offset.

Definition at line 235 of file ScannerInfo.hpp.

UINT8 datatypes::ScannerInfo::m_scannerType
private

Definition at line 213 of file ScannerInfo.hpp.

UINT16 datatypes::ScannerInfo::m_scanNumber
private

Definition at line 214 of file ScannerInfo.hpp.

Time datatypes::ScannerInfo::m_scanStartTime
private

Start timestamp of the scan received by this scanner.

Definition at line 222 of file ScannerInfo.hpp.

double datatypes::ScannerInfo::m_startAngle
private

Definition at line 216 of file ScannerInfo.hpp.


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


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Mon Oct 26 2020 03:27:30