AliceVision
Photogrammetric Computer Vision Framework
Public Types | Public Member Functions | List of all members
aliceVision::sfmData::CameraPose Class Reference

Public Types

using ptr = CameraPose *
 
using sptr = std::shared_ptr< CameraPose >
 

Public Member Functions

 CameraPose ()=default
 CameraPose default constructor.
 
 CameraPose (const geometry::Pose3 &transform, bool locked=false)
 CameraPose constructor. More...
 
CameraPose::ptr clone () const
 
const geometry::Pose3getTransform () const
 Get the 3d transformation of the camera. More...
 
bool isLocked () const
 Get the lock state of the camera. More...
 
bool operator== (const CameraPose &other) const
 operator ==
 
void setTransform (const geometry::Pose3 &transform)
 Set the 3d transformation of the camera. More...
 
void lock ()
 lock the camera pose
 
void unlock ()
 unlock the camera pose
 
void initializeState ()
 
EEstimatorParameterState getState () const
 
void setState (EEstimatorParameterState state)
 
bool isRotationOnly () const
 
void setRotationOnly (bool partial)
 
void setRemovable (bool removable)
 Can this pose be removed from sfmdata given heuristics ? More...
 
bool isRemovable () const
 Can this pose be removed from sfmdata given heuristics ? More...
 
void updateFromEstimator (const std::array< double, 6 > &data)
 

Constructor & Destructor Documentation

◆ CameraPose()

aliceVision::sfmData::CameraPose::CameraPose ( const geometry::Pose3 transform,
bool  locked = false 
)
inlineexplicit

CameraPose constructor.

Parameters
[in]transformThe camera initial 3d transformation
[in]lockedIf enable the camera pose is locked

Member Function Documentation

◆ getTransform()

const geometry::Pose3& aliceVision::sfmData::CameraPose::getTransform ( ) const
inline

Get the 3d transformation of the camera.

Returns
3d transformation

◆ isLocked()

bool aliceVision::sfmData::CameraPose::isLocked ( ) const
inline

Get the lock state of the camera.

Returns
true if the camera pose is locked

◆ isRemovable()

bool aliceVision::sfmData::CameraPose::isRemovable ( ) const
inline

Can this pose be removed from sfmdata given heuristics ?

Returns
true if it can be removed normally

◆ setRemovable()

void aliceVision::sfmData::CameraPose::setRemovable ( bool  removable)
inline

Can this pose be removed from sfmdata given heuristics ?

Parameters
removabletrue if it can be removed normally

◆ setRotationOnly()

void aliceVision::sfmData::CameraPose::setRotationOnly ( bool  partial)
inline

Set the flag for partial state Partial flag set to on means the camera translation is not known

◆ setTransform()

void aliceVision::sfmData::CameraPose::setTransform ( const geometry::Pose3 transform)
inline

Set the 3d transformation of the camera.

Parameters
[in]3dtransformation

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