![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Attributable component for simple lens correction. More...
#include <CSimpleLensCorrectionComp.h>
Protected Member Functions | |
void | OnComponentCreated () override |
![]() | |
bool | IsComponentActive () const |
Check if component is active. | |
virtual void | OnComponentDestroyed () |
virtual const IRealComponentStaticInfo & | GetComponentStaticInfo () const =0 |
Get access to static info of this component. | |
![]() | |
virtual void | OnBeginChanges () |
Callback function for begin change event. | |
virtual void | OnEndChanges (const ChangeSet &changeSet) |
Callback function for end change event. | |
Additional Inherited Members | |
![]() | |
CComponentBase () | |
Create component and assign it to specific context. | |
CComponentBase (const CComponentBase &)=delete | |
CComponentBase & | operator= (const CComponentBase &)=delete |
virtual const ICompositeComponent * | GetParentComponent (bool ownerOnly=false) const |
Get parent of this component. | |
virtual void * | GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="") |
Get access to specified component interface. | |
virtual const IComponentContext * | GetComponentContext () const |
Get access to component context describing all application-specified component information loaded from components registry. | |
virtual void | SetComponentContext (const IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner) |
Set component context of this component. | |
![]() | |
![]() | |
CSimpleLensCorrection () | |
CSimpleLensCorrection (const i2d::CVector2d &opticalCenter, double distortionFactor=0, double scaleFactor=1) | |
void | Reset (const i2d::CVector2d &opticalCenter=i2d::CVector2d::GetZero(), double distortionFactor=0, double scaleFactor=1) |
Reset this calibration, set to be identity transform. | |
const i2d::CVector2d & | GetOpticalCenter () const |
virtual void | SetOpticalCenter (const i2d::CVector2d ¢er) |
double | GetDistortionFactor () const |
virtual void | SetDistortionFactor (double factor) |
double | GetScaleFactor () const |
virtual void | SetScaleFactor (double factor) |
bool | operator== (const CSimpleLensCorrection &calib) const |
bool | operator!= (const CSimpleLensCorrection &calib) const |
const i2d::CRectangle * | GetArgumentArea () const override |
Get optional area where arguments are defined properly. | |
const i2d::CRectangle * | GetResultArea () const override |
Get optional area where results are defined properly. | |
const imath::IUnitInfo * | GetArgumentUnitInfo () const override |
Get unit description of calibration input (transformation function argument). | |
const imath::IUnitInfo * | GetResultUnitInfo () const override |
Get unit description of calibration output (transformation function result). | |
std::unique_ptr< i2d::ICalibration2d > | CreateCombinedCalibration (const ITransformation2d &transformation) const override |
int | GetTransformationFlags () const override |
Get flags of describing type of this transformation. | |
bool | GetDistance (const i2d::CVector2d &origPos1, const i2d::CVector2d &origPos2, double &result, ExactnessMode mode=EM_NONE) const override |
Compute a shortness distance in transformed coordinations. | |
bool | GetPositionAt (const i2d::CVector2d &origPosition, i2d::CVector2d &result, ExactnessMode mode=EM_NONE) const override |
Get position after transformation. | |
bool | GetInvPositionAt (const i2d::CVector2d &transfPosition, i2d::CVector2d &result, ExactnessMode mode=EM_NONE) const override |
Get position after transformation. | |
bool | GetLocalTransform (const i2d::CVector2d &origPosition, i2d::CAffine2d &result, ExactnessMode mode=EM_NONE) const override |
Get local transformation (from original to transformed coordinate system) at some original position. | |
bool | GetLocalInvTransform (const i2d::CVector2d &transfPosition, i2d::CAffine2d &result, ExactnessMode mode=EM_NONE) const override |
Get local transformation (from transformed to original coordinate system) at some transformed position. | |
bool | GetInvValueAt (const i2d::CVector2d &argument, i2d::CVector2d &result) const override |
i2d::CVector2d | GetInvValueAt (const i2d::CVector2d &argument) const override |
bool | GetValueAt (const i2d::CVector2d &argument, i2d::CVector2d &result) const override |
i2d::CVector2d | GetValueAt (const i2d::CVector2d &argument) const override |
bool | Serialize (iser::IArchive &archive) override |
Load or store state of this object as a archive stream. | |
int | GetSupportedOperations () const override |
Get set of flags for supported operations. | |
bool | CopyFrom (const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override |
Copy this object from another one. | |
bool | IsEqual (const istd::IChangeable &object) const override |
Compare this object with another object. | |
std::unique_ptr< istd::IChangeable > | CloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const override |
Make a copy of this object. | |
bool | ResetData (CompatibilityMode mode=CM_WITHOUT_REFS) override |
Reset data to its default state. | |
![]() | |
virtual std::unique_ptr< ICalibration2d > | CreateCombinedCalibration (const ITransformation2d &transformation) const =0 |
Create new calibration being combination of this calibration and the second one. | |
![]() | |
![]() | |
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 quint32 | GetMinimalVersion (int versionId) const |
Get minimal needed version to correct storing of this data. | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
static const IRealComponentStaticInfo & | InitStaticInfo (IComponent *componentPtr) |
static QByteArray | GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray()) |
Attributable component for simple lens correction.
Definition at line 21 of file CSimpleLensCorrectionComp.h.
Definition at line 24 of file CSimpleLensCorrectionComp.h.
Definition at line 25 of file CSimpleLensCorrectionComp.h.
|
overrideprotectedvirtual |
Reimplemented from icomp::CComponentBase.
© Witold Gantzke and Kirill Lepskiy