Project

General

Profile

BitmapToolkit Scol plugin

#include <ArCameraParam.h>

Public Member Functions

 ArCameraParam ()
 
 ArCameraParam (int width, int height, float nearclip, float farclip, std::string yamlfile)
 
 ArCameraParam (int width, int height, float nearclip, float farclip, Vector2 &flength, Vector2 &center)
 
 ~ArCameraParam ()
 
 ArCameraParam (const ArCameraParam &CI)
 
aruco::CameraParameters GetCameraParameter ()
 
void SetCameraParameter (std::string yamlfile)
 
cv::Size GetBitmapSize ()
 
void SetBitmapSize (int width, int height)
 
cv::Point2f GetClipping ()
 
void SetClipping (float nearclip, float farclip)
 
void GetProjectionMatrix (double m_proj[16], cv::Size screensize)
 
void SetCameraQuat (BtQuaternion quat)
 
BtQuaternion GetCameraQuat ()
 
void AddCameraImu (Vector3 gyro, Vector3 accel, double delta)
 
std::vector< ArImuDataGetCameraImu () const
 
void ResetCameraImu ()
 
Vector3 GetCameraOffset ()
 
void SetCameraOffset (Vector3 offset)
 

Public Attributes

aruco::CameraParameters camParam
 

Protected Attributes

BtQuaternion mCamQuat
 
std::vector< ArImuDatamImuData
 
Vector3 mCamOffset
 

Detailed Description

Definition at line 42 of file ArCameraParam.h.

Constructor & Destructor Documentation

◆ ArCameraParam() [1/4]

ArCameraParam::ArCameraParam ( )
inline

Definition at line 54 of file ArCameraParam.h.

◆ ArCameraParam() [2/4]

ArCameraParam::ArCameraParam ( int  width,
int  height,
float  nearclip,
float  farclip,
std::string  yamlfile 
)

Definition at line 28 of file ArCameraParam.cpp.

◆ ArCameraParam() [3/4]

ArCameraParam::ArCameraParam ( int  width,
int  height,
float  nearclip,
float  farclip,
Vector2 flength,
Vector2 center 
)

Definition at line 54 of file ArCameraParam.cpp.

◆ ~ArCameraParam()

ArCameraParam::~ArCameraParam ( )

Definition at line 76 of file ArCameraParam.cpp.

◆ ArCameraParam() [4/4]

ArCameraParam::ArCameraParam ( const ArCameraParam CI)

Definition at line 80 of file ArCameraParam.cpp.

Member Function Documentation

◆ AddCameraImu()

void ArCameraParam::AddCameraImu ( Vector3  gyro,
Vector3  accel,
double  delta 
)

Definition at line 160 of file ArCameraParam.cpp.

◆ GetBitmapSize()

cv::Size ArCameraParam::GetBitmapSize ( )

Definition at line 116 of file ArCameraParam.cpp.

◆ GetCameraImu()

std::vector< ArImuData > ArCameraParam::GetCameraImu ( ) const

Definition at line 165 of file ArCameraParam.cpp.

◆ GetCameraOffset()

Vector3 ArCameraParam::GetCameraOffset ( )

Definition at line 175 of file ArCameraParam.cpp.

◆ GetCameraParameter()

aruco::CameraParameters ArCameraParam::GetCameraParameter ( )

Definition at line 95 of file ArCameraParam.cpp.

◆ GetCameraQuat()

BtQuaternion ArCameraParam::GetCameraQuat ( )

Definition at line 155 of file ArCameraParam.cpp.

◆ GetClipping()

cv::Point2f ArCameraParam::GetClipping ( )

Definition at line 127 of file ArCameraParam.cpp.

◆ GetProjectionMatrix()

void ArCameraParam::GetProjectionMatrix ( double  m_proj[16],
cv::Size  screensize 
)

Definition at line 138 of file ArCameraParam.cpp.

◆ ResetCameraImu()

void ArCameraParam::ResetCameraImu ( )

Definition at line 170 of file ArCameraParam.cpp.

◆ SetBitmapSize()

void ArCameraParam::SetBitmapSize ( int  width,
int  height 
)

Definition at line 121 of file ArCameraParam.cpp.

◆ SetCameraOffset()

void ArCameraParam::SetCameraOffset ( Vector3  offset)

Definition at line 180 of file ArCameraParam.cpp.

◆ SetCameraParameter()

void ArCameraParam::SetCameraParameter ( std::string  yamlfile)

Definition at line 100 of file ArCameraParam.cpp.

◆ SetCameraQuat()

void ArCameraParam::SetCameraQuat ( BtQuaternion  quat)

Definition at line 150 of file ArCameraParam.cpp.

◆ SetClipping()

void ArCameraParam::SetClipping ( float  nearclip,
float  farclip 
)

Definition at line 132 of file ArCameraParam.cpp.

Member Data Documentation

◆ camParam

aruco::CameraParameters ArCameraParam::camParam

Definition at line 89 of file ArCameraParam.h.

◆ mCamOffset

Vector3 ArCameraParam::mCamOffset
protected

Definition at line 86 of file ArCameraParam.h.

◆ mCamQuat

BtQuaternion ArCameraParam::mCamQuat
protected

Definition at line 84 of file ArCameraParam.h.

◆ mImuData

std::vector<ArImuData> ArCameraParam::mImuData
protected

Definition at line 85 of file ArCameraParam.h.


The documentation for this class was generated from the following files: