argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation Class Reference

#include <camera_sensor_algorithm.h>

Inheritance diagram for argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation:
Collaboration diagram for argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation:

Public Member Functions

 CBaseUpdateOperation (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)
 
virtual ~CBaseUpdateOperation ()
 
CRadians GetAngleWithCamera (const CPositionalEntity &c_entity) const
 
CVector2 ProjectOntoSensor (const CVector3 &c_vector) const
 
bool IsPointInsideFrustum (const CVector3 &c_point) const
 

Protected Attributes

const CSquareMatrix< 3 > & m_cProjectionMatrix
 
const std::array< CPlane, 6 > & m_arrFrustumPlanes
 
const CTransformationMatrix3m_cWorldToCameraTransform
 
const CVector3m_cCameraLocation
 

Detailed Description

Definition at line 27 of file camera_sensor_algorithm.h.

Constructor & Destructor Documentation

argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::CBaseUpdateOperation ( 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 
)
inline

Definition at line 31 of file camera_sensor_algorithm.h.

virtual argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::~CBaseUpdateOperation ( )
inlinevirtual

Definition at line 40 of file camera_sensor_algorithm.h.

Member Function Documentation

CRadians argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::GetAngleWithCamera ( const CPositionalEntity c_entity) const
inline

Definition at line 42 of file camera_sensor_algorithm.h.

bool argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::IsPointInsideFrustum ( const CVector3 c_point) const
inline

Definition at line 65 of file camera_sensor_algorithm.h.

CVector2 argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::ProjectOntoSensor ( const CVector3 c_vector) const
inline

Definition at line 50 of file camera_sensor_algorithm.h.

Member Data Documentation

const std::array<CPlane, 6>& argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::m_arrFrustumPlanes
protected

Definition at line 77 of file camera_sensor_algorithm.h.

const CVector3& argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::m_cCameraLocation
protected

Definition at line 79 of file camera_sensor_algorithm.h.

const CSquareMatrix<3>& argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::m_cProjectionMatrix
protected

Definition at line 76 of file camera_sensor_algorithm.h.

const CTransformationMatrix3& argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::m_cWorldToCameraTransform
protected

Definition at line 78 of file camera_sensor_algorithm.h.