28 I_ASSIGN(m_object2dProviderCompPtr,
"Object2dProvider",
"Provider of a 2D object",
true,
"Object2dProvider");
39 double* errorFactorPtr =
NULL)
override;
43 double* errorFactorPtr =
NULL)
override;
48 double* errorFactorPtr =
NULL)
const override;
53 double* errorFactorPtr =
NULL)
const override;
Implementation of a proxy of IObject2d interface realized over IObject2dProvider access.
virtual CRectangle GetBoundingBox() const override
Get bounding box of this shape.
virtual CVector2d GetCenter() const override
Returns center of this 2D-object.
virtual const ICalibration2d * GetCalibration() const override
Get access to transformation object, which transforms a local logical coordinate system to global one...
icomp::CComponentBase BaseClass
virtual void SetCalibration(const ICalibration2d *calibrationPtr, bool releaseFlag=false) override
Set calibration of this object.
virtual bool GetTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const override
Calulate transformation of the object into second one.
virtual bool Transform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) override
Transform this object using some transformation.
virtual bool GetInvTransformed(const ITransformation2d &transformation, IObject2d &result, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const override
Calulate inverse transformation of the object into second one.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual istd::TUniqueInterfacePtr< istd::IChangeable > CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const override
Make a copy of this object.
virtual bool InvTransform(const ITransformation2d &transformation, ITransformation2d::ExactnessMode mode=ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) override
Do inverse transformation of this object.
virtual void MoveCenterTo(const CVector2d &position) override
Move object to position position.
const i2d::IObject2d * GetObject2d() const
Definition of rectangle area orthogonal to axis of coordination system.
Definition of position or mathematical vector on 2D plane.
Interface for 2D calibration and coordinate transformation with unit information.
Common interface for describing the 2D-objects.
Common interface for a provider, which delivers a 2D-object.
Base class for component implementation.
Represents an input/output persistence archive for object serialization.
Common interface for data model objects, which can be changed.
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Unique ownership smart pointer for interface types.