![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
#include <ICalibration2d.h>
Public Member Functions | |
virtual const CRectangle * | GetArgumentArea () const =0 |
Get optional area where arguments are defined properly. | |
virtual const CRectangle * | GetResultArea () const =0 |
Get optional area where results are defined properly. | |
virtual const imath::IUnitInfo * | GetArgumentUnitInfo () const =0 |
Get unit description of calibration input (transformation function argument). | |
virtual const imath::IUnitInfo * | GetResultUnitInfo () const =0 |
Get unit description of calibration output (transformation function result). | |
virtual std::unique_ptr< ICalibration2d > | CreateCombinedCalibration (const ITransformation2d &transformation) const =0 |
Create new calibration being combination of this calibration and the second one. | |
![]() | |
virtual int | GetTransformationFlags () const =0 |
Get flags of describing type of this transformation. | |
virtual bool | GetDistance (const CVector2d &origPos1, const CVector2d &origPos2, double &result, ExactnessMode mode=EM_NONE) const =0 |
Compute a shortness distance in transformed coordinations. | |
virtual bool | GetPositionAt (const CVector2d &origPosition, CVector2d &result, ExactnessMode mode=EM_NONE) const =0 |
Get position after transformation. | |
virtual bool | GetInvPositionAt (const CVector2d &transfPosition, CVector2d &result, ExactnessMode mode=EM_NONE) const =0 |
Get position after transformation. | |
virtual bool | GetLocalTransform (const CVector2d &origPosition, CAffine2d &result, ExactnessMode mode=EM_NONE) const =0 |
Get local transformation (from original to transformed coordinate system) at some original position. | |
virtual bool | GetLocalInvTransform (const CVector2d &transfPosition, CAffine2d &result, ExactnessMode mode=EM_NONE) const =0 |
Get local transformation (from transformed to original coordinate system) at some transformed position. | |
![]() | |
virtual bool | GetInvValueAt (const CVector2d &argument, CVector2d &result) const=0 |
Get inverted function value. | |
virtual CVector2d | GetInvValueAt (const CVector2d &argument) const=0 |
Get inverted function value. | |
![]() | |
virtual bool | GetValueAt (const CVector2d &argument, CVector2d &result) const=0 |
Get function value for specified argument value. | |
virtual CVector2d | GetValueAt (const CVector2d &argument) const=0 |
Get function value for specified argument value. | |
![]() | |
virtual bool | Serialize (IArchive &archive)=0 |
Load or store state of this object as a archive stream. | |
virtual quint32 | GetMinimalVersion (int versionId) const |
Get minimal needed version to correct storing of this data. | |
![]() | |
virtual int | GetSupportedOperations () const |
Get set of flags for supported operations. | |
virtual bool | CopyFrom (const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) |
Copy this object from another one. | |
virtual bool | IsEqual (const IChangeable &object) const |
Compare this object with another object. | |
virtual std::unique_ptr< IChangeable > | CloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const |
Make a copy of this object. | |
virtual bool | ResetData (CompatibilityMode mode=CM_WITHOUT_REFS) |
Reset data to its default state. | |
virtual QMutex * | GetChangesLock () const |
Get mutex beeing locked during changes, if available. | |
virtual void | BeginChanges (const ChangeSet &changeSet) |
Starts the change transaction. | |
virtual void | EndChanges (const ChangeSet &changeSet) |
Ends the change transaction. | |
virtual void | BeginChangeGroup (const ChangeSet &changeSet) |
Starts group of changes. | |
virtual void | EndChangeGroup (const ChangeSet &changeSet) |
Ends group of changes. | |
Additional Inherited Members | |
![]() | |
static const ChangeSet & | GetNoChanges () |
Get empty set of changes. | |
static const ChangeSet & | GetAnyChange () |
Get anonymous change set. | |
static const ChangeSet & | GetAllChanges () |
Get anonymous change set. | |
static const ChangeSet & | GetDelegatedChanges () |
Get delegated change set. | |
![]() | |
virtual void | OnBeginChanges () |
Callback function for begin change event. | |
virtual void | OnEndChanges (const ChangeSet &changeSet) |
Callback function for end change event. | |
Definition at line 21 of file ICalibration2d.h.
Enumerator | |
---|---|
CF_CALIBRATION_CHANGED | |
CF_AREA_CHANGED | |
CF_UNITS_CHANGED |
Definition at line 24 of file ICalibration2d.h.
Extension of i2d::ITransformation2d::TransformationFlags
.
Enumerator | |
---|---|
TF_SUPPORT_COMBINE | This calibration supports combinating with other calibrations, at least of the same type. |
Definition at line 34 of file ICalibration2d.h.
|
pure virtual |
Create new calibration being combination of this calibration and the second one.
Please note, that created object is owned by the caller and the caller must remove them.
Implemented in icalib::CAffineCalibration2d.
|
pure virtual |
Get optional area where arguments are defined properly.
Implemented in icalib::CAffineCalibration2d, icalib::CCalibration2dProxyComp, icalib::CNoneCalibration2d, icalib::CPerspectiveCalibration2d, and icalib::CSimpleLensCorrection.
|
pure virtual |
Get unit description of calibration input (transformation function argument).
nullptr
, if this information is unsupported. Implemented in icalib::CAffineCalibration2d, icalib::CCalibration2dProxyComp, icalib::CNoneCalibration2d, icalib::CPerspectiveCalibration2d, and icalib::CSimpleLensCorrection.
Referenced by i2dgui::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >::GetUnitName().
|
pure virtual |
Get optional area where results are defined properly.
Implemented in icalib::CAffineCalibration2d, icalib::CCalibration2dProxyComp, icalib::CNoneCalibration2d, icalib::CPerspectiveCalibration2d, and icalib::CSimpleLensCorrection.
|
pure virtual |
Get unit description of calibration output (transformation function result).
nullptr
, if this information is unsupported. Implemented in icalib::CAffineCalibration2d, icalib::CCalibration2dProxyComp, icalib::CNoneCalibration2d, icalib::CPerspectiveCalibration2d, and icalib::CSimpleLensCorrection.
© Witold Gantzke and Kirill Lepskiy