8 #ifndef MSICHART_DEPTHPOLYGONOBJECT_H 9 #define MSICHART_DEPTHPOLYGONOBJECT_H 44 const std::vector<Point2D>& irPoints,
47 bool iIsVertical =
true,
52 virtual void Draw()
const;
106 void hCalculateTopAndBottomFaces(
const std::vector<Point2D>& irPoints);
111 void hDrawTopAndBottomFaces()
const;
116 bool hIsReverseOrder()
const;
119 inline bool DepthPolygonObject::hIsReverseOrder()
const Int32 mAngle
The depth direction.
Definition: DepthPolygonObject.h:89
void CalculateSideFace(const std::vector< Point2D > &irPoints)
bool mIsVertical
Indicates whether the depth polygon is vertical or horizontal.
Definition: DepthPolygonObject.h:90
bool mIsShownHiddenSideFace
Indicates whether the hidden side face is shown or not.
Definition: DepthPolygonObject.h:93
Represents a polygon area.
Definition: PolygonObject.h:17
Definition: DepthPolygonObject.h:24
bool mIsDepthCurvePolygon
Indicates whether current DepthPolygonObject is a DepthCurvePolygonObject.
Definition: DepthPolygonObject.h:94
virtual void GenerateImageMap(ImageMap &iorImageMap)
virtual bool PointInObject(const Point2D &irPoint)
GraphObject::Ptr mHiddenSideFacePtr
Hidden side face.
Definition: DepthPolygonObject.h:99
DepthLineObject::Ptr GetTopDepthLine() const
Definition: DepthPolygonObject.h:124
bool mIsShownSideFace
Indicates whether the side face is shown or not.
Definition: DepthPolygonObject.h:91
Definition: DepthPolygonObject.h:23
Definition: DepthPolygonObject.h:22
Definition: GraphCollectionObject.h:19
#define _ASSERTE(x)
Definition: Asserte.h:40
DepthLineObject::Ptr GetBottomDepthLine() const
Definition: DepthPolygonObject.h:129
DepthPolygonObject(const TripleId &irTripleId, GraphObjectManager *ipManager, const std::vector< Point2D > &irPoints, Int32 iDepth, Int32 iAngle, GraphCollectionObject *ipParentObject=NULL, bool iIsVertical=true, Int32 iShowFace=SF_FRONT|SF_SIDE|SF_HIDDEN_SIDE)
#define Int32
Definition: BasicTypes.h:20
virtual void GetClockwisePolygon(std::vector< Point2D > &orPolygon) const
std::vector< DepthLineObject::Ptr > mBottomDepthLines
Bottom depth Line.
Definition: DepthPolygonObject.h:97
Definition: SmartPtr.h:38
ShowFace
Definition: DepthPolygonObject.h:20
std::vector< DepthLineObject::Ptr > mTopDepthLines
Top depth Line.
Definition: DepthPolygonObject.h:96
std::vector< AreaRec * > ImageMap
Definition: ImageMap.h:99
GraphObject::Ptr GetHiddenSideFace() const
Definition: DepthPolygonObject.h:134
virtual void Draw() const
bool mIsShownFrontFace
Indicates whether the front face is shown or not.
Definition: DepthPolygonObject.h:92
virtual bool ObjectInRectangle(const Rect2D &irRect)
virtual ~DepthPolygonObject()
Definition: DepthPolygonObject.h:30
MSynch::SmartPtr< DepthPolygonObject > Ptr
Definition: DepthPolygonObject.h:33
Int32 mDepth
The depth value.
Definition: DepthPolygonObject.h:88
GraphObject::Ptr mSideFacePtr
Side face.
Definition: DepthPolygonObject.h:98
#define NULL
Definition: Null.h:10
Definition: GraphObjectManager.h:37
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
GraphObject::Ptr GetSideFace() const
Definition: DepthPolygonObject.h:138