8 #ifndef MSICHART_DEPTHLINEOBJECT_H 9 #define MSICHART_DEPTHLINEOBJECT_H 32 bool iUseDarkerColor =
false);
43 virtual void Draw()
const;
void hCalculateSections(const std::vector< Point2D > &irPoints)
virtual void GetBoundingRect(Rect2D &orBoundingRect) const
virtual ~DepthLineObject()
virtual void SplitAtTangentPoints(std::vector< DepthLineObject::Ptr > &iorDepthLines)
size_t mSectionIndex
The index of the polyline sections, which is used for FormatFill.
Definition: DepthLineObject.h:119
void hGetPolygonByDepth(Int32 iDepth, std::vector< FPoint2D > &orPolygon) const
virtual void SplitAtIntersections(DepthLineObject::Ptr iDepthLinePtr, std::vector< DepthLineObject::Ptr > &iorDepthLines)
FPoint2D mStartPoint
Indicates the start point of straight depth line.
Definition: DepthLineObject.h:115
Definition: GraphCollectionObject.h:19
std::vector< Polygon2D > mSections
A list of polygons all the sections of the depth polyline.
Definition: DepthLineObject.h:113
virtual bool IsBefore(DepthLineObject::Ptr iDepthLinePtr) const
bool mIsStraightDepthLine
Indicates whether current depth line is a straight depth line;.
Definition: DepthLineObject.h:122
Int32 mDepth
The depth value.
Definition: DepthLineObject.h:117
std::vector< FPoint2D > mPolygon
A polygon for straight depth line.
Definition: DepthLineObject.h:114
Int32 GetIndex()
Definition: DepthLineObject.h:130
void SetIndex(Int32 i)
Definition: DepthLineObject.h:126
Definition: ShapeObject.h:20
virtual void RestoreDepthLine()
bool mIsVertical
Indicates whether the depth polyline is vertical or horizontal.
Definition: DepthLineObject.h:120
#define Int32
Definition: BasicTypes.h:20
FPoint2D mEndPoint
Indicates the end point of straight depth line.
Definition: DepthLineObject.h:116
virtual bool PointInObject(const Point2D &irPoint)
virtual void GenerateImageMap(ImageMap &iorImageMap)
Definition: SmartPtr.h:38
virtual void GetClockwisePolygon(std::vector< Point2D > &orPolygon) const
virtual void DrawOutLine()
virtual void Draw() const
std::vector< AreaRec * > ImageMap
Definition: ImageMap.h:99
Int32 mIndex
Identify current depth line. For debugging.
Definition: DepthLineObject.h:123
bool mUseDarkerColor
Indicates whether darker color should be used or not.
Definition: DepthLineObject.h:121
Int32 mAngle
The depth direction.
Definition: DepthLineObject.h:118
void hFillSection(size_t iSectionIndex) const
DepthLineObject(const TripleId &irTripleId, GraphObjectManager *ipManager, const std::vector< Point2D > &irPoints, Int32 iDepth, Int32 iAngle, GraphCollectionObject *ipParentObject, bool iIsVertical=true, bool iUseDarkerColor=false)
Definition: DepthLineObject.h:18
virtual bool ObjectInRectangle(const Rect2D &irRect)
Definition: GraphObjectManager.h:37
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
MSynch::SmartPtr< DepthLineObject > Ptr
Definition: DepthLineObject.h:21