|
ACF $AcfVersion:0$
|
Interface for 2D calibration and coordinate transformation with unit information. More...
#include <ICalibration2d.h>
Public Types | |
| enum | ChangeFlags { CF_CALIBRATION_CHANGED = 0x8d89e2 , CF_AREA_CHANGED , CF_UNITS_CHANGED } |
| enum | TransformationFlags { TF_SUPPORT_COMBINE = 1 << 10 } |
Extension of i2d::ITransformation2d::TransformationFlags. More... | |
Public Types inherited from i2d::ITransformation2d | |
| enum | ExactnessMode { EM_NONE , EM_EXACT , EM_VISUAL , EM_ANY } |
| enum | TransformationFlags { TF_FORWARD = 1 << 0 , TF_INVERTED = 1 << 1 , TF_INJECTIVE = 1 << 2 , TF_SURJECTIVE = 1 << 3 , TF_PRESERVE_NULL = 1 << 4 , TF_PRESERVE_DISTANCE = 1 << 5 , TF_PRESERVE_ANGLE = 1 << 6 , TF_AFFINE = 1 << 7 , TF_CONTINUES = 1 << 8 } |
| Flags indication type of this transformation and supported operations. More... | |
Public Types inherited from imath::TIMathFunction< Argument, Result > | |
| typedef Argument | ArgumentType |
| typedef Result | ResultType |
Public Types inherited from istd::IChangeable | |
| enum | ChangeFlags { CF_ACF_INTERNAL = 0 , CF_ALL_DATA , CF_ANY , CF_DESTROYING , CF_DELEGATED , CF_NO_UNDO } |
| Data model change notification flags. More... | |
| enum | SupportedOperations { SO_NONE = 0 , SO_OBSERVE = 1 << 0 , SO_COPY = 1 << 1 , SO_CLONE = 1 << 2 , SO_COMPARE = 1 << 3 , SO_RESET = 1 << 4 } |
| Flags for supported operations. More... | |
| enum | CompatibilityMode { CM_STRICT , CM_WITHOUT_REFS , CM_WITH_REFS , CM_CONVERT } |
| Control how relationship betweeen objects are interpreted. More... | |
| typedef QMultiMap< QByteArray, QVariant > | ChangeInfoMap |
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 istd::TUniqueInterfacePtr< i2d::ICalibration2d > | CreateCombinedCalibration (const ITransformation2d &transformation) const =0 |
| Create new calibration being combination of this calibration and the second one. | |
Public Member Functions inherited from i2d::ITransformation2d | |
| 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. | |
Public Member Functions inherited from imath::TISurjectFunction< CVector2d, CVector2d > | |
| 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. | |
Public Member Functions inherited from imath::TIMathFunction< Argument, Result > | |
| virtual bool | GetValueAt (const Argument &argument, Result &result) const =0 |
| Get function value for specified argument value. | |
| virtual Result | GetValueAt (const Argument &argument) const =0 |
| Get function value for specified argument value. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Public Member Functions inherited from iser::ISerializable | |
| 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. | |
Public Member Functions inherited from istd::IChangeable | |
| 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 istd::TUniqueInterfacePtr< istd::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 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 Public Member Functions inherited from istd::IChangeable | |
| 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. | |
Protected Member Functions inherited from istd::IChangeable | |
| virtual void | OnBeginChanges () |
| Callback function for begin change event. | |
| virtual void | OnEndChanges (const ChangeSet &changeSet) |
| Callback function for end change event. | |
Interface for 2D calibration and coordinate transformation with unit information.
Extends ITransformation2d to provide calibration-specific functionality including unit information, argument/result areas, and calibration combination operations.
Definition at line 22 of file ICalibration2d.h.
| Enumerator | |
|---|---|
| CF_CALIBRATION_CHANGED | |
| CF_AREA_CHANGED | |
| CF_UNITS_CHANGED | |
Definition at line 25 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 35 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.
|
pure virtual |
Get optional area where arguments are defined properly.
|
pure virtual |
Get unit description of calibration input (transformation function argument).
NULL, if this information is unsupported. Referenced by iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >::GetUnitName().
|
pure virtual |
Get optional area where results are defined properly.
|
pure virtual |
Get unit description of calibration output (transformation function result).
NULL, if this information is unsupported.