ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
pba::CameraT_< FT > Struct Template Reference

#include <DataInterface.h>

Public Types

typedef FT float_t
 

Public Member Functions

 CameraT_ ()
 
template<class CameraX >
void SetCameraT (const CameraX &cam)
 
void SetConstantCamera ()
 
void SetVariableCamera ()
 
void SetFixedIntrinsic ()
 
template<class Float >
void SetFocalLength (Float F)
 
float_t GetFocalLength () const
 
template<class Float >
void SetMeasurementDistortion (Float r)
 
float_t GetMeasurementDistortion () const
 
template<class Float >
void SetNormalizedMeasurementDistortion (Float r)
 
float_t GetNormalizedMeasurementDistortion () const
 
template<class Float >
void SetProjectionDistortion (Float r)
 
template<class Float >
void SetProjectionDistortion (const Float *r)
 
float_t GetProjectionDistortion () const
 
template<class Float >
void SetRodriguesRotation (const Float r[3])
 
template<class Float >
void GetRodriguesRotation (Float r[3]) const
 
template<class Float >
void SetQuaternionRotation (const Float q[4])
 
template<class Float >
void GetQuaternionRotation (Float q[4]) const
 
template<class Float >
void SetMatrixRotation (const Float *r)
 
template<class Float >
void GetMatrixRotation (Float *r) const
 
float GetRotationMatrixDeterminant () const
 
template<class Float >
void SetTranslation (const Float T[3])
 
template<class Float >
void GetTranslation (Float T[3]) const
 
template<class Float >
void SetCameraCenterAfterRotation (const Float c[3])
 
template<class Float >
void GetCameraCenter (Float c[3])
 
template<class Float >
void SetInvertedRT (const Float e[3], const Float T[3])
 
template<class Float >
void GetInvertedRT (Float e[3], Float T[3]) const
 
template<class Float >
void SetInvertedR9T (const Float e[9], const Float T[3])
 
template<class Float >
void GetInvertedR9T (Float e[9], Float T[3]) const
 

Public Attributes

float_t f
 
float_t t [3]
 
float_t m [3][3]
 
float_t radial
 
int distortion_type
 
float_t constant_camera
 

Detailed Description

template<class FT>
struct pba::CameraT_< FT >

Definition at line 48 of file DataInterface.h.

Member Typedef Documentation

◆ float_t

template<class FT >
typedef FT pba::CameraT_< FT >::float_t

Definition at line 49 of file DataInterface.h.

Constructor & Destructor Documentation

◆ CameraT_()

template<class FT >
pba::CameraT_< FT >::CameraT_ ( )
inline

Member Function Documentation

◆ GetCameraCenter()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::GetCameraCenter ( Float  c[3])
inline

Definition at line 300 of file DataInterface.h.

References pba::CameraT_< FT >::m, and pba::CameraT_< FT >::t.

Referenced by pba::AddStableNoise().

◆ GetFocalLength()

template<class FT >
float_t pba::CameraT_< FT >::GetFocalLength ( ) const
inline

Definition at line 90 of file DataInterface.h.

References pba::CameraT_< FT >::f.

◆ GetInvertedR9T()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::GetInvertedR9T ( Float  e[9],
Float  T[3] 
) const
inline

Definition at line 345 of file DataInterface.h.

References pba::CameraT_< FT >::m, and pba::CameraT_< FT >::t.

◆ GetInvertedRT()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::GetInvertedRT ( Float  e[3],
Float  T[3] 
) const
inline

◆ GetMatrixRotation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::GetMatrixRotation ( Float *  r) const
inline

Definition at line 266 of file DataInterface.h.

References pba::CameraT_< FT >::m.

◆ GetMeasurementDistortion()

template<class FT >
float_t pba::CameraT_< FT >::GetMeasurementDistortion ( ) const
inline

◆ GetNormalizedMeasurementDistortion()

template<class FT >
float_t pba::CameraT_< FT >::GetNormalizedMeasurementDistortion ( ) const
inline

◆ GetProjectionDistortion()

template<class FT >
float_t pba::CameraT_< FT >::GetProjectionDistortion ( ) const
inline

◆ GetQuaternionRotation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::GetQuaternionRotation ( Float  q[4]) const
inline

Definition at line 225 of file DataInterface.h.

References pba::CameraT_< FT >::m.

◆ GetRodriguesRotation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::GetRodriguesRotation ( Float  r[3]) const
inline

◆ GetRotationMatrixDeterminant()

template<class FT >
float pba::CameraT_< FT >::GetRotationMatrixDeterminant ( ) const
inline

Definition at line 274 of file DataInterface.h.

References pba::CameraT_< FT >::m.

◆ GetTranslation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::GetTranslation ( Float  T[3]) const
inline

Definition at line 287 of file DataInterface.h.

References pba::CameraT_< FT >::t.

Referenced by pba::CameraT_< FT >::GetInvertedRT().

◆ SetCameraCenterAfterRotation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetCameraCenterAfterRotation ( const Float  c[3])
inline

Definition at line 294 of file DataInterface.h.

References pba::CameraT_< FT >::m, and pba::CameraT_< FT >::t.

Referenced by pba::AddStableNoise().

◆ SetCameraT()

template<class FT >
template<class CameraX >
void pba::CameraT_< FT >::SetCameraT ( const CameraX &  cam)
inline

◆ SetConstantCamera()

template<class FT >
void pba::CameraT_< FT >::SetConstantCamera ( )
inline

Definition at line 80 of file DataInterface.h.

References pba::CameraT_< FT >::constant_camera.

◆ SetFixedIntrinsic()

template<class FT >
void pba::CameraT_< FT >::SetFixedIntrinsic ( )
inline

Definition at line 82 of file DataInterface.h.

References pba::CameraT_< FT >::constant_camera.

◆ SetFocalLength()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetFocalLength ( Float  F)
inline

Definition at line 87 of file DataInterface.h.

References pba::CameraT_< FT >::f.

◆ SetInvertedR9T()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetInvertedR9T ( const Float  e[9],
const Float  T[3] 
)
inline

Definition at line 328 of file DataInterface.h.

References pba::CameraT_< FT >::m, and pba::CameraT_< FT >::t.

◆ SetInvertedRT()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetInvertedRT ( const Float  e[3],
const Float  T[3] 
)
inline

◆ SetMatrixRotation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetMatrixRotation ( const Float *  r)
inline

Definition at line 257 of file DataInterface.h.

References pba::CameraT_< FT >::m.

Referenced by pba::CameraT_< FT >::GetInvertedRT().

◆ SetMeasurementDistortion()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetMeasurementDistortion ( Float  r)
inline

◆ SetNormalizedMeasurementDistortion()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetNormalizedMeasurementDistortion ( Float  r)
inline

◆ SetProjectionDistortion() [1/2]

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetProjectionDistortion ( const Float *  r)
inline

Definition at line 117 of file DataInterface.h.

References pba::CameraT_< FT >::SetProjectionDistortion().

◆ SetProjectionDistortion() [2/2]

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetProjectionDistortion ( Float  r)
inline

◆ SetQuaternionRotation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetQuaternionRotation ( const Float  q[4])
inline

Definition at line 202 of file DataInterface.h.

References pba::CameraT_< FT >::m.

◆ SetRodriguesRotation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetRodriguesRotation ( const Float  r[3])
inline

Definition at line 125 of file DataInterface.h.

References pba::CameraT_< FT >::m.

Referenced by pba::AddStableNoise(), and pba::CameraT_< FT >::SetInvertedRT().

◆ SetTranslation()

template<class FT >
template<class Float >
void pba::CameraT_< FT >::SetTranslation ( const Float  T[3])
inline

Definition at line 281 of file DataInterface.h.

References pba::CameraT_< FT >::t.

Referenced by pba::CameraT_< FT >::SetInvertedRT().

◆ SetVariableCamera()

template<class FT >
void pba::CameraT_< FT >::SetVariableCamera ( )
inline

Definition at line 81 of file DataInterface.h.

References pba::CameraT_< FT >::constant_camera.

Member Data Documentation

◆ constant_camera

◆ distortion_type

◆ f

◆ m

◆ radial

◆ t


The documentation for this struct was generated from the following file: