Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
datatypes::ScannerInfo Class Reference

#include <ScannerInfo.hpp>

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

List of all members.

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.
double getEndAngle () const
const TimegetEndTimestamp () const
 Returns the end timestamp of the scan (in terms of the host computer clock)
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)
UINT8 getScannerType () const
UINT16 getScanNumber () const
 Returns the scan counter from scanner device.
double getStartAngle () const
const TimegetStartTimestamp () const
virtual const UINT32 getUsedMemory () const
bool isFrontMirrorSide ()
bool isRearMirrorSide ()
bool operator== (const ScannerInfo &other) const
 Equality predicate.
 ScannerInfo ()
 Empty constructor.
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.
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)
 ~ScannerInfo ()

Static Public Member Functions

static std::string scannerTypeToString (UINT8 st)

Private Attributes

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

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

Empty constructor.

Definition at line 18 of file ScannerInfo.cpp.

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.

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.

Definition at line 153 of file ScannerInfo.hpp.

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.

Definition at line 46 of file ScannerInfo.hpp.

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.

Definition at line 73 of file ScannerInfo.hpp.

virtual const UINT32 datatypes::ScannerInfo::getUsedMemory ( ) const [inline, virtual]

Implements datatypes::BasicData.

Definition at line 32 of file ScannerInfo.hpp.

Definition at line 88 of file ScannerInfo.cpp.

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.

Definition at line 43 of file ScannerInfo.hpp.

Definition at line 101 of file ScannerInfo.cpp.

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.

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.

Definition at line 108 of file ScannerInfo.cpp.

Definition at line 53 of file ScannerInfo.hpp.

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

Beam tilt of this scanner in radians.

Definition at line 237 of file ScannerInfo.hpp.

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.

Definition at line 217 of file ScannerInfo.hpp.

Definition at line 241 of file ScannerInfo.hpp.

Definition at line 219 of file ScannerInfo.hpp.

End timestamp of the scan received by this scanner.

Definition at line 224 of file ScannerInfo.hpp.

Flags for the single scan belonging to this scanner info.

Definition at line 239 of file ScannerInfo.hpp.

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.

Definition at line 213 of file ScannerInfo.hpp.

Definition at line 214 of file ScannerInfo.hpp.

Start timestamp of the scan received by this scanner.

Definition at line 222 of file ScannerInfo.hpp.

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 Wed Jun 14 2017 04:04:51