CEdgeLineContainer.h
Go to the documentation of this file.
1 #ifndef iedge_CEdgeLineContainer_included
2 #define iedge_CEdgeLineContainer_included
3 
4 
5 // ACF includes
7 #include "i2d/CObject2dBase.h"
8 
9 // ACF-Solutions includes
10 #include "iedge/CEdgeLine.h"
11 
12 
13 namespace iedge
14 {
15 
16 
18  public ibase::TSerializableContainer<CEdgeLine>,
19  public i2d::CObject2dBase
20 {
21 public:
24 
25  // reimplemented (i2d::CObject2dBase)
26  virtual void SetCalibration(const i2d::ICalibration2d* calibrationPtr, bool releaseFlag = false);
27 
28  // reimplemented (i2d::IObject2d)
29  virtual i2d::CVector2d GetCenter() const;
30  virtual void MoveCenterTo(const i2d::CVector2d& position);
31  virtual i2d::CRectangle GetBoundingBox() const;
32  virtual bool Transform(
33  const i2d::ITransformation2d& transformation,
34  i2d::ITransformation2d::ExactnessMode mode = i2d::ITransformation2d::EM_NONE,
35  double* errorFactorPtr = NULL);
36  virtual bool InvTransform(
37  const i2d::ITransformation2d& transformation,
38  i2d::ITransformation2d::ExactnessMode mode = i2d::ITransformation2d::EM_NONE,
39  double* errorFactorPtr = NULL);
40  virtual bool GetTransformed(
41  const i2d::ITransformation2d& transformation,
42  i2d::IObject2d& result,
43  i2d::ITransformation2d::ExactnessMode mode = i2d::ITransformation2d::EM_NONE,
44  double* errorFactorPtr = NULL) const;
45  virtual bool GetInvTransformed(
46  const i2d::ITransformation2d& transformation,
47  i2d::IObject2d& result,
48  i2d::ITransformation2d::ExactnessMode mode = i2d::ITransformation2d::EM_NONE,
49  double* errorFactorPtr = NULL) const;
50 
51  // reimplemented (istd::IChangeable)
52  virtual bool CopyFrom(const istd::IChangeable& object, CompatibilityMode mode = CM_WITHOUT_REFS);
53 
54 protected:
55  // reimplemented (ibase::TSerializableContainer)
56  virtual bool SerializeItem(CEdgeLine& item, iser::IArchive& archive);
57 };
58 
59 
60 } // namespace iedge
61 
62 
63 #endif // !iedge_CEdgeLineContainer_included
64 
65 
virtual i2d::CVector2d GetCenter() const
virtual void SetCalibration(const i2d::ICalibration2d *calibrationPtr, bool releaseFlag=false)
i2d::CObject2dBase BaseClass2
virtual bool GetInvTransformed(const i2d::ITransformation2d &transformation, i2d::IObject2d &result, i2d::ITransformation2d::ExactnessMode mode=i2d::ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const
virtual void MoveCenterTo(const i2d::CVector2d &position)
virtual bool GetTransformed(const i2d::ITransformation2d &transformation, i2d::IObject2d &result, i2d::ITransformation2d::ExactnessMode mode=i2d::ITransformation2d::EM_NONE, double *errorFactorPtr=NULL) const
virtual bool Transform(const i2d::ITransformation2d &transformation, i2d::ITransformation2d::ExactnessMode mode=i2d::ITransformation2d::EM_NONE, double *errorFactorPtr=NULL)
virtual bool InvTransform(const i2d::ITransformation2d &transformation, i2d::ITransformation2d::ExactnessMode mode=i2d::ITransformation2d::EM_NONE, double *errorFactorPtr=NULL)
virtual bool SerializeItem(CEdgeLine &item, iser::IArchive &archive)
virtual i2d::CRectangle GetBoundingBox() const
virtual bool CopyFrom(const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
ibase::TSerializableContainer< CEdgeLine > BaseClass

© 2007-2011 Witold Gantzke and Kirill Lepskiy