|
latest version v1.9 - last update 10 Apr 2010 |
|
the parameters for the class panTiltUnit More...
#include <ltiPanTiltUnit.h>


Public Types | |
| enum | eAngleFormatType |
Public Member Functions | |
| parameters () | |
| parameters (const parameters &other) | |
| parameters (float minPan, float maxPan, float minTilt, float maxTilt) | |
| ~parameters () | |
| const char * | getTypeName () const |
| parameters & | copy (const parameters &other) |
| parameters & | operator= (const parameters &other) |
| virtual functor::parameters * | clone () const |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
| eAngleFormatType | angleFormat |
| float | pan |
| float | tilt |
| bool | relativeMovement |
| const float | minPan |
| const float | minTilt |
the parameters for the class panTiltUnit
angle formats
| lti::panTiltUnit::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::functor::parameters.
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
| lti::panTiltUnit::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
| other | the parameters object to be copied |
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
| lti::panTiltUnit::parameters::parameters | ( | float | minPan, | |
| float | maxPan, | |||
| float | minTilt, | |||
| float | maxTilt | |||
| ) |
constructor
| minPan | ||
| maxPan | ||
| minTilt | ||
| maxTilt |
| lti::panTiltUnit::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::functor::parameters.
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
| virtual functor::parameters* lti::panTiltUnit::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Implements lti::functor::parameters.
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
| parameters& lti::panTiltUnit::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
| other | the parameters object to be copied |
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
| const char* lti::panTiltUnit::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::functor::parameters.
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
| parameters& lti::panTiltUnit::parameters::operator= | ( | const parameters & | other | ) |
copy the contents of a parameters object
| other | the parameters object to be copied |
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
| virtual bool lti::panTiltUnit::parameters::read | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | [virtual] |
read the parameters from the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::functor::parameters.
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
| virtual bool lti::panTiltUnit::parameters::write | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | const [virtual] |
write the parameters in the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::functor::parameters.
Reimplemented in lti::directedPerceptionPTU::parameters, and lti::sonyEviD100P::parameters.
Specifies if the pan and tilt values are measured in degrees or radiant.
Default: Radiant.
| const float lti::panTiltUnit::parameters::minPan |
The pan tilt unit can physically move between minPan and maxPan.
This values are always specified in radiants and automatically converted by the getMinPan() / getMaxPan() method if the angle format is set to degrees.
| const float lti::panTiltUnit::parameters::minTilt |
The pan tilt unit can physically move between minTilt and maxTilt.
This values are always specified in radiants and automatically converted by the getMinTilt() / getMaxTilt() method if the angle format is set to degrees.
Pan value to which the pan tilt device shall move.
Default: 0.
Specifies whether the pan tilt device shall move to a relative (true) or absolute Position (false).
This is here to ensure a well defined behavior. If a specific pan tilt device does not support the one or the other, catch it in setParameters(). This way any application can be informed about a relative or absolute movement.
Tilt value to which the pan tilt device shall move.
Default: 0.