Public Member Functions | Private Attributes | List of all members
datatypes::FieldRectangle Class Reference

#include <Fields.hpp>

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

Public Member Functions

void computePolygon ()
 fills the polygon clockwise More...
 
 FieldRectangle ()
 
double getLength () const
 
double getRefPointAngle () const
 
double getRefPointDist () const
 
double getRotAngle () const
 
virtual const UINT32 getUsedMemory () const
 
double getWidth () const
 
void setLength (double length)
 
void setRefPointAngle (double refPointAngle)
 
void setRefPointDist (double refPointDist)
 
void setRotAngle (double rotAngle)
 
void setWidth (double width)
 
virtual ~FieldRectangle ()
 
- Public Member Functions inherited from datatypes::FieldDescription
 FieldDescription ()
 
const Polygon2DgetFieldAsPolygon () const
 
FieldType getFieldType () const
 
- Public Member Functions inherited from datatypes::BasicData
 BasicData ()
 
UINT16 getDatatype ()
 
UINT16 getSourceId ()
 
virtual void setSourceId (UINT16 id)
 
virtual ~BasicData ()
 

Private Attributes

double m_length
 [m] More...
 
double m_refPointAngle
 [rad] More...
 
double m_refPointDist
 [m] More...
 
double m_rotAngle
 [rad] More...
 
double m_width
 [m] More...
 

Additional Inherited Members

- Public Types inherited from datatypes::FieldDescription
enum  FieldType {
  Undefined = 0, Segmented = 1, Rectangle = 2, Radial = 3,
  Dynamic = 4
}
 
- Static Public Member Functions inherited from datatypes::FieldDescription
static std::string fieldTypeToString (FieldType type)
 
- Protected Attributes inherited from datatypes::FieldDescription
Polygon2D m_fieldPolygon
 
FieldType m_fieldType
 
- Protected Attributes inherited from datatypes::BasicData
UINT16 m_datatype
 
UINT16 m_sourceId
 

Detailed Description

Definition at line 130 of file Fields.hpp.

Constructor & Destructor Documentation

datatypes::FieldRectangle::FieldRectangle ( )
inline

Definition at line 133 of file Fields.hpp.

virtual datatypes::FieldRectangle::~FieldRectangle ( )
inlinevirtual

Definition at line 138 of file Fields.hpp.

Member Function Documentation

void datatypes::FieldRectangle::computePolygon ( )
virtual

fills the polygon clockwise

Implements datatypes::FieldDescription.

Definition at line 82 of file Fields.cpp.

double datatypes::FieldRectangle::getLength ( ) const

Definition at line 98 of file Fields.cpp.

double datatypes::FieldRectangle::getRefPointAngle ( ) const

Definition at line 103 of file Fields.cpp.

double datatypes::FieldRectangle::getRefPointDist ( ) const

Definition at line 108 of file Fields.cpp.

double datatypes::FieldRectangle::getRotAngle ( ) const

Definition at line 113 of file Fields.cpp.

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

Implements datatypes::BasicData.

Reimplemented in datatypes::FieldDynamic.

Definition at line 142 of file Fields.hpp.

double datatypes::FieldRectangle::getWidth ( ) const

Definition at line 118 of file Fields.cpp.

void datatypes::FieldRectangle::setLength ( double  length)

Definition at line 126 of file Fields.cpp.

void datatypes::FieldRectangle::setRefPointAngle ( double  refPointAngle)

Definition at line 138 of file Fields.cpp.

void datatypes::FieldRectangle::setRefPointDist ( double  refPointDist)

Definition at line 143 of file Fields.cpp.

void datatypes::FieldRectangle::setRotAngle ( double  rotAngle)

Definition at line 152 of file Fields.cpp.

void datatypes::FieldRectangle::setWidth ( double  width)

Definition at line 163 of file Fields.cpp.

Member Data Documentation

double datatypes::FieldRectangle::m_length
private

[m]

Definition at line 164 of file Fields.hpp.

double datatypes::FieldRectangle::m_refPointAngle
private

[rad]

Definition at line 160 of file Fields.hpp.

double datatypes::FieldRectangle::m_refPointDist
private

[m]

Definition at line 161 of file Fields.hpp.

double datatypes::FieldRectangle::m_rotAngle
private

[rad]

Definition at line 162 of file Fields.hpp.

double datatypes::FieldRectangle::m_width
private

[m]

Definition at line 163 of file Fields.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