argos::CCameraSensorTagDetectorAlgorithm Class Reference

This class provides the most general interface to a camera. More...

#include <camera_sensor_tag_detector_algorithm.h>

Inheritance diagram for argos::CCameraSensorTagDetectorAlgorithm:
Collaboration diagram for argos::CCameraSensorTagDetectorAlgorithm:

Classes

class  CUpdateOperation
 

Public Member Functions

 CCameraSensorTagDetectorAlgorithm ()
 
virtual ~CCameraSensorTagDetectorAlgorithm ()
 
virtual void Init (TConfigurationNode &t_tree)
 Initializes the resource. More...
 
virtual void Update (const CSquareMatrix< 3 > &c_projection_matrix, const std::array< CPlane, 6 > &arr_frustum_planes, const CTransformationMatrix3 &c_world_to_camera_transform, const CVector3 &c_camera_location, const CVector3 &c_bounding_box_position, const CVector3 &c_bounding_box_half_extents)
 
void AddCheckedRay (bool b_intersected, const CRay3 &c_ray)
 
void AddReading (const std::string &str_payload, const CVector2 &c_center_pixel, const std::array< CVector2, 4 > &arr_corner_pixels)
 
- Public Member Functions inherited from argos::CCameraSensorSimulatedAlgorithm
virtual ~CCameraSensorSimulatedAlgorithm ()
 
const std::vector< std::pair< bool, CRay3 > > & GetCheckedRays () const
 
- Public Member Functions inherited from argos::CCI_CameraSensorTagDetectorAlgorithm
 CCI_CameraSensorTagDetectorAlgorithm ()
 Constructor. More...
 
virtual ~CCI_CameraSensorTagDetectorAlgorithm ()
 Destructor. More...
 
const std::vector< SReading > & GetReadings () const
 
- Public Member Functions inherited from argos::CCI_CameraSensorAlgorithm
virtual ~CCI_CameraSensorAlgorithm ()
 
virtual void Reset ()
 Resets the resource. More...
 
virtual void Destroy ()
 Undoes whatever was done by Init(). More...
 
- Public Member Functions inherited from argos::CBaseConfigurableResource
virtual ~CBaseConfigurableResource ()
 Class destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from argos::CCameraSensorSimulatedAlgorithm
std::vector< std::pair< bool, CRay3 > > m_vecCheckedRays
 
- Protected Attributes inherited from argos::CCI_CameraSensorTagDetectorAlgorithm
std::vector< SReadingm_vecReadings
 

Detailed Description

This class provides the most general interface to a camera.

The camera sensor enables the user to extract information from the images acquired by the simulated or by the physical camera.

Definition at line 30 of file camera_sensor_tag_detector_algorithm.h.

Constructor & Destructor Documentation

argos::CCameraSensorTagDetectorAlgorithm::CCameraSensorTagDetectorAlgorithm ( )

Definition at line 21 of file camera_sensor_tag_detector_algorithm.cpp.

virtual argos::CCameraSensorTagDetectorAlgorithm::~CCameraSensorTagDetectorAlgorithm ( )
inlinevirtual

Definition at line 114 of file camera_sensor_tag_detector_algorithm.h.

Member Function Documentation

void argos::CCameraSensorTagDetectorAlgorithm::AddCheckedRay ( bool  b_intersected,
const CRay3 c_ray 
)
inline

Definition at line 125 of file camera_sensor_tag_detector_algorithm.h.

void argos::CCameraSensorTagDetectorAlgorithm::AddReading ( const std::string &  str_payload,
const CVector2 c_center_pixel,
const std::array< CVector2, 4 > &  arr_corner_pixels 
)
inline

Definition at line 131 of file camera_sensor_tag_detector_algorithm.h.

void argos::CCameraSensorTagDetectorAlgorithm::Init ( TConfigurationNode t_tree)
virtual

Initializes the resource.

Parameters
t_treethe base of the XML configuration tree to parse
Exceptions
CARGoSExceptionif an error occurs

Reimplemented from argos::CCI_CameraSensorAlgorithm.

Definition at line 28 of file camera_sensor_tag_detector_algorithm.cpp.

void argos::CCameraSensorTagDetectorAlgorithm::Update ( const CSquareMatrix< 3 > &  c_projection_matrix,
const std::array< CPlane, 6 > &  arr_frustum_planes,
const CTransformationMatrix3 c_world_to_camera_transform,
const CVector3 c_camera_location,
const CVector3 c_bounding_box_position,
const CVector3 c_bounding_box_half_extents 
)
virtual