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_camera_to_world_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_cCameraToWorldTransform
 
const CVector3m_cCameraLocation
 

Detailed Description

Definition at line 27 of file camera_sensor_algorithm.h.

Constructor & Destructor Documentation

◆ CBaseUpdateOperation()

argos::CCameraSensorSimulatedAlgorithm::CBaseUpdateOperation::CBaseUpdateOperation ( const CSquareMatrix< 3 > &  c_projection_matrix,
const std::array< CPlane, 6 > &  arr_frustum_planes,
const CTransformationMatrix3 c_camera_to_world_transform,
const CVector3 c_camera_location 
)
inline

Definition at line 31 of file camera_sensor_algorithm.h.

◆ ~CBaseUpdateOperation()

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

Definition at line 40 of file camera_sensor_algorithm.h.

Member Function Documentation

◆ GetAngleWithCamera()

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

Definition at line 42 of file camera_sensor_algorithm.h.

◆ IsPointInsideFrustum()

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

Definition at line 65 of file camera_sensor_algorithm.h.

◆ ProjectOntoSensor()

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

Definition at line 50 of file camera_sensor_algorithm.h.

Member Data Documentation

◆ m_arrFrustumPlanes

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

Definition at line 77 of file camera_sensor_algorithm.h.

◆ m_cCameraLocation

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

Definition at line 79 of file camera_sensor_algorithm.h.

◆ m_cCameraToWorldTransform

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

Definition at line 78 of file camera_sensor_algorithm.h.

◆ m_cProjectionMatrix

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

Definition at line 76 of file camera_sensor_algorithm.h.