Public Member Functions | Protected Member Functions | List of all members
icalib::CPerspectiveCalibration2d Class Reference

Perspective calibration. More...

#include <CPerspectiveCalibration2d.h>

Inheritance diagram for icalib::CPerspectiveCalibration2d:
i2d::ICalibration2d i2d::ITransformation2d iser::ISerializable istd::IChangeable istd::IPolymorphic icalib::CPerspectiveCalibration2dComp

Public Member Functions

 CPerspectiveCalibration2d ()
 
 CPerspectiveCalibration2d (const i2d::CAffine2d &affinePart, const i2d::CVector2d &perspectiveAxis)
 
void Reset ()
 Reset this calibration, set to be identity transform. More...
 
const i2d::CAffine2dGetAffinePart () const
 
i2d::CAffine2dGetAffinePartRef ()
 
virtual void SetAffinePart (const i2d::CAffine2d &value)
 
const i2d::CVector2dGetPerspAxis () const
 
virtual void SetPerspAxis (const i2d::CVector2d &value)
 
void SetArgumentArea (const i2d::CRectangle *areaPtr)
 
void SetResultArea (const i2d::CRectangle *areaPtr)
 
void SetArgumentUnitInfo (const imath::IUnitInfo *unitInfoPtr)
 
void SetResultUnitInfo (const imath::IUnitInfo *unitInfoPtr)
 
bool operator== (const CPerspectiveCalibration2d &calib) const
 
bool operator!= (const CPerspectiveCalibration2d &calib) const
 
virtual const i2d::CRectangleGetArgumentArea () const
 
virtual const i2d::CRectangleGetResultArea () const
 
virtual const imath::IUnitInfoGetArgumentUnitInfo () const
 
virtual const imath::IUnitInfoGetResultUnitInfo () const
 
virtual const ICalibration2d * CreateCombinedCalibration (const ITransformation2d &transformation) const
 
virtual int GetTransformationFlags () const
 
virtual bool GetDistance (const i2d::CVector2d &origPos1, const i2d::CVector2d &origPos2, double &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetPositionAt (const i2d::CVector2d &origPosition, i2d::CVector2d &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetInvPositionAt (const i2d::CVector2d &transfPosition, i2d::CVector2d &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetLocalTransform (const i2d::CVector2d &origPosition, i2d::CAffine2d &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetLocalInvTransform (const i2d::CVector2d &transfPosition, i2d::CAffine2d &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetInvValueAt (const i2d::CVector2d &argument, i2d::CVector2d &result) const
 
virtual i2d::CVector2d GetInvValueAt (const i2d::CVector2d &argument) const
 
virtual bool GetValueAt (const i2d::CVector2d &argument, i2d::CVector2d &result) const
 
virtual i2d::CVector2d GetValueAt (const i2d::CVector2d &argument) const
 
virtual bool Serialize (iser::IArchive &archive)
 
virtual int GetSupportedOperations () const
 
virtual bool CopyFrom (const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 
virtual bool IsEqual (const istd::IChangeable &object) const
 
virtual istd::IChangeableCloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const
 
virtual bool ResetData (CompatibilityMode mode=CM_WITHOUT_REFS)
 
- Public Member Functions inherited from i2d::ICalibration2d
virtual const ICalibration2dCreateCombinedCalibration (const ITransformation2d &transformation) const =0
 

Protected Member Functions

void CalcTransformationFlags ()
 
virtual void OnEndChanges (const ChangeSet &changeSet)
 

Additional Inherited Members

- Public Types inherited from i2d::ICalibration2d
enum  ChangeFlags
 
enum  TransformationFlags
 

Detailed Description

Perspective calibration.

This class describe a perspective calibration. You need this calibration when your logical coordination system is flat, but not orthogonal to camera axis.

Definition at line 21 of file CPerspectiveCalibration2d.h.

Constructor & Destructor Documentation

icalib::CPerspectiveCalibration2d::CPerspectiveCalibration2d ( )
icalib::CPerspectiveCalibration2d::CPerspectiveCalibration2d ( const i2d::CAffine2d affinePart,
const i2d::CVector2d perspectiveAxis 
)

Member Function Documentation

void icalib::CPerspectiveCalibration2d::CalcTransformationFlags ( )
protected
virtual istd::IChangeable* icalib::CPerspectiveCalibration2d::CloneMe ( CompatibilityMode  mode = CM_WITHOUT_REFS) const
virtual
virtual bool icalib::CPerspectiveCalibration2d::CopyFrom ( const istd::IChangeable object,
CompatibilityMode  mode = CM_WITHOUT_REFS 
)
virtual
virtual const ICalibration2d* icalib::CPerspectiveCalibration2d::CreateCombinedCalibration ( const ITransformation2d &  transformation) const
virtual
const i2d::CAffine2d & icalib::CPerspectiveCalibration2d::GetAffinePart ( ) const
inline

Definition at line 117 of file CPerspectiveCalibration2d.h.

i2d::CAffine2d & icalib::CPerspectiveCalibration2d::GetAffinePartRef ( )
inline

Definition at line 123 of file CPerspectiveCalibration2d.h.

virtual const i2d::CRectangle* icalib::CPerspectiveCalibration2d::GetArgumentArea ( ) const
virtual

Implements i2d::ICalibration2d.

virtual const imath::IUnitInfo* icalib::CPerspectiveCalibration2d::GetArgumentUnitInfo ( ) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CPerspectiveCalibration2d::GetDistance ( const i2d::CVector2d origPos1,
const i2d::CVector2d origPos2,
double &  result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CPerspectiveCalibration2d::GetInvPositionAt ( const i2d::CVector2d transfPosition,
i2d::CVector2d result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CPerspectiveCalibration2d::GetInvValueAt ( const i2d::CVector2d argument,
i2d::CVector2d result 
) const
virtual
virtual i2d::CVector2d icalib::CPerspectiveCalibration2d::GetInvValueAt ( const i2d::CVector2d argument) const
virtual
virtual bool icalib::CPerspectiveCalibration2d::GetLocalInvTransform ( const i2d::CVector2d transfPosition,
i2d::CAffine2d result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CPerspectiveCalibration2d::GetLocalTransform ( const i2d::CVector2d origPosition,
i2d::CAffine2d result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

const i2d::CVector2d & icalib::CPerspectiveCalibration2d::GetPerspAxis ( ) const
inline

Definition at line 129 of file CPerspectiveCalibration2d.h.

virtual bool icalib::CPerspectiveCalibration2d::GetPositionAt ( const i2d::CVector2d origPosition,
i2d::CVector2d result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

virtual const i2d::CRectangle* icalib::CPerspectiveCalibration2d::GetResultArea ( ) const
virtual

Implements i2d::ICalibration2d.

virtual const imath::IUnitInfo* icalib::CPerspectiveCalibration2d::GetResultUnitInfo ( ) const
virtual

Implements i2d::ICalibration2d.

virtual int icalib::CPerspectiveCalibration2d::GetSupportedOperations ( ) const
virtual
virtual int icalib::CPerspectiveCalibration2d::GetTransformationFlags ( ) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CPerspectiveCalibration2d::GetValueAt ( const i2d::CVector2d argument,
i2d::CVector2d result 
) const
virtual
virtual i2d::CVector2d icalib::CPerspectiveCalibration2d::GetValueAt ( const i2d::CVector2d argument) const
virtual
virtual bool icalib::CPerspectiveCalibration2d::IsEqual ( const istd::IChangeable object) const
virtual
virtual void icalib::CPerspectiveCalibration2d::OnEndChanges ( const ChangeSet changeSet)
protectedvirtual
bool icalib::CPerspectiveCalibration2d::operator!= ( const CPerspectiveCalibration2d calib) const
inline

Definition at line 135 of file CPerspectiveCalibration2d.h.

References operator==().

bool icalib::CPerspectiveCalibration2d::operator== ( const CPerspectiveCalibration2d calib) const

Referenced by operator!=().

void icalib::CPerspectiveCalibration2d::Reset ( )

Reset this calibration, set to be identity transform.

virtual bool icalib::CPerspectiveCalibration2d::ResetData ( CompatibilityMode  mode = CM_WITHOUT_REFS)
virtual
virtual bool icalib::CPerspectiveCalibration2d::Serialize ( iser::IArchive archive)
virtual
virtual void icalib::CPerspectiveCalibration2d::SetAffinePart ( const i2d::CAffine2d value)
virtual
void icalib::CPerspectiveCalibration2d::SetArgumentArea ( const i2d::CRectangle areaPtr)
void icalib::CPerspectiveCalibration2d::SetArgumentUnitInfo ( const imath::IUnitInfo unitInfoPtr)
virtual void icalib::CPerspectiveCalibration2d::SetPerspAxis ( const i2d::CVector2d value)
virtual
void icalib::CPerspectiveCalibration2d::SetResultArea ( const i2d::CRectangle areaPtr)
void icalib::CPerspectiveCalibration2d::SetResultUnitInfo ( const imath::IUnitInfo unitInfoPtr)

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy