ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
#include <omnidirectional_camera_equipped_entity.h>
Public Member Functions | |
ENABLE_VTABLE () | |
COmnidirectionalCameraEquippedEntity (CComposableEntity *pc_parent) | |
Class constructor. | |
COmnidirectionalCameraEquippedEntity (CComposableEntity *pc_parent, const std::string &str_id, const CRadians &c_aperture, const CVector3 &c_offset) | |
Class constructor. | |
virtual void | Init (TConfigurationNode &t_tree) |
Initializes the state of the entity from the XML configuration tree. | |
const CVector3 & | GetOffset () const |
Returns the offset of the omnidirectional camera with respect to the reference point. | |
void | SetOffset (const CVector3 &c_offset) |
Sets the offset of the omnidirectionalcamera with respect to the reference point. | |
const CRadians & | GetAperture () const |
Returns the aperture of the visibility cone of the omnidirectional camera. | |
void | SetAperture (const CRadians &c_aperture) |
Sets the aperture of the visibility cone of the omnidirectional camera. | |
virtual std::string | GetTypeDescription () const |
Returns a string label for this class. |
Definition at line 21 of file omnidirectional_camera_equipped_entity.h.
argos::COmnidirectionalCameraEquippedEntity::COmnidirectionalCameraEquippedEntity | ( | CComposableEntity * | pc_parent | ) |
Class constructor.
This constructor is meant to be used with the Init() method.
pc_parent | The parent of this entity. |
Definition at line 9 of file omnidirectional_camera_equipped_entity.cpp.
argos::COmnidirectionalCameraEquippedEntity::COmnidirectionalCameraEquippedEntity | ( | CComposableEntity * | pc_parent, |
const std::string & | str_id, | ||
const CRadians & | c_aperture, | ||
const CVector3 & | c_offset | ||
) |
Class constructor.
This constructor is meant to be standalone. You should not call Init() after using this constructor, or memory leaks are likely to happen.
pc_parent | The parent of this entity. |
str_id | The id of this entity. |
c_aperture | The aperture of the visibility cone |
c_offset | The positional offset of this omnidirectionalcamera with respect to the robot reference point. |
Definition at line 16 of file omnidirectional_camera_equipped_entity.cpp.
Reimplemented from argos::CEntity.
const CRadians& argos::COmnidirectionalCameraEquippedEntity::GetAperture | ( | ) | const [inline] |
Returns the aperture of the visibility cone of the omnidirectional camera.
Definition at line 77 of file omnidirectional_camera_equipped_entity.h.
const CVector3& argos::COmnidirectionalCameraEquippedEntity::GetOffset | ( | ) | const [inline] |
Returns the offset of the omnidirectional camera with respect to the reference point.
Definition at line 61 of file omnidirectional_camera_equipped_entity.h.
virtual std::string argos::COmnidirectionalCameraEquippedEntity::GetTypeDescription | ( | ) | const [inline, virtual] |
Returns a string label for this class.
Reimplemented from argos::CEntity.
Definition at line 89 of file omnidirectional_camera_equipped_entity.h.
void argos::COmnidirectionalCameraEquippedEntity::Init | ( | TConfigurationNode & | t_tree | ) | [virtual] |
Initializes the state of the entity from the XML configuration tree.
CARGoSException | if a parse error occurs |
Reimplemented from argos::CEntity.
Definition at line 28 of file omnidirectional_camera_equipped_entity.cpp.
void argos::COmnidirectionalCameraEquippedEntity::SetAperture | ( | const CRadians & | c_aperture | ) | [inline] |
Sets the aperture of the visibility cone of the omnidirectional camera.
c_aperture | The aperture of the visibility cone of the omnidirectional camera. |
Definition at line 85 of file omnidirectional_camera_equipped_entity.h.
void argos::COmnidirectionalCameraEquippedEntity::SetOffset | ( | const CVector3 & | c_offset | ) | [inline] |
Sets the offset of the omnidirectionalcamera with respect to the reference point.
c_offset | The offset of the omnidirectionalcamera with respect to the reference point. |
Definition at line 69 of file omnidirectional_camera_equipped_entity.h.