8 #ifndef MSICHART_DEPTHRECTANGLEOBJECT_H 9 #define MSICHART_DEPTHRECTANGLEOBJECT_H 65 virtual void DoDraw()
const;
73 void hCalcuateTopAndSideFace();
78 void hFillTop()
const;
83 void hFillSide()
const;
88 void hFillFront()
const;
93 std::vector<Point2D> mTop;
94 std::vector<Point2D> mSide;
101 mutable unsigned char mFaceType;
102 unsigned char mDataPointFaceType;
Definition: RectangleObject.h:45
Definition: DepthRectangleObject.h:29
virtual bool PointInObject(const Point2D &irPoint)
virtual Int32 DistanceToPoint(const Point2D &irPoint)
Definition: GraphCollectionObject.h:19
virtual void GetBoundingRect(Rect2D &orBoundingRect) const
Get the bounding rectangle area of the rect.
Definition: DepthRectangleObject.h:23
virtual void DoDraw() const
This is a helper method;.
FaceType
Definition: DepthRectangleObject.h:18
Definition: DepthRectangleObject.h:21
#define Int32
Definition: BasicTypes.h:20
virtual void GenerateImageMap(ImageMap &iorImageMap)
virtual void SetRect(const Rect2D &irRect)
Definition: DepthRectangleObject.h:22
Definition: SmartPtr.h:38
MSynch::SmartPtr< DepthRectangleObject > Ptr
Definition: DepthRectangleObject.h:32
virtual void DrawOutLine()
Definition: DepthRectangleObject.h:20
std::vector< AreaRec * > ImageMap
Definition: ImageMap.h:99
virtual ~DepthRectangleObject()
virtual void GetClockwisePolygon(std::vector< Point2D > &orPolygon) const
Get the clockwise polygon that surrounding the object.
#define NULL
Definition: Null.h:10
Definition: GraphObjectManager.h:37
DepthRectangleObject(const TripleId &irTripleId, GraphObjectManager *ipManager, const Rect2D &irRect, Int32 iDepth, Int32 iAngle, GraphCollectionObject *ipParentObject=NULL, unsigned char iDataPointFaceType=FT_FRONT)
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
virtual Point2D GetDataPoint()