10 #ifndef MsiChart_FunnelObject_h 11 #define MsiChart_FunnelObject_h 22 Int32 iHeight,
bool iIs2DFunnle);
45 virtual void Draw()
const;
68 void hDraw2DFunnel()
const;
69 void hDraw3DFunnel(
bool iIsOutline)
const;
70 void hDrawSurface(
bool iIsInnerSurface,
bool iIsLinePath)
const;
71 void hDrawTop()
const;
72 void hFillInnerSurface()
const;
77 void hCreate2DPolygon();
78 void hCreate3DPolygon();
80 bool hIsPointInPolygon(
const Point2D& irPoint)
const;
81 bool hIsPointInFunnelEllipse(
const Point2D& irPoint,
bool iIsTop,
bool iIsHeight,
bool iIsUpPart);
83 void hGenerateImageMap(
bool iIsInnerSurface,
ImageMap& iorImageMap);
87 std::vector<Point2D> mPolygon;
97 bool mBottomInsideTop;
float mTopRadiusA
Definition: FunnelObject.h:28
float mBottomRadiusA
Definition: FunnelObject.h:29
virtual void Draw() const
virtual bool PointInObject(const Point2D &irPoint)
Point2D mBottomCenter
Definition: FunnelObject.h:27
FunnelObject(const TripleId &irTripleId, GraphObjectManager *ipManager, GraphCollectionObject *ipParentObject, FunnelInfo &irFunnelInfo)
double mScale
Definition: FunnelObject.h:24
Definition: GraphCollectionObject.h:19
virtual bool SupportBevelEffect() const
virtual void DrawOutLine()
bool mIs2DFunnel
Definition: FunnelObject.h:34
virtual void GetClockwisePolygon(std::vector< Point2D > &orPolygon) const
Definition: ShapeObject.h:20
virtual void GenerateImageMap(ImageMap &iorImageMap)
virtual void GetBoundingRect(Rect2D &orBoundingRect) const
#define Int32
Definition: BasicTypes.h:20
float mBottomRadiusB
Definition: FunnelObject.h:31
Definition: FunnelObject.h:37
FunnelInfo(double iScale, Point2D &irTopCenter, Point2D &irBottomCenter, float iTopRadius, float iBottomRadius, Int32 iHeight, bool iIs2DFunnle)
Definition: SmartPtr.h:38
virtual bool IsCircularShape() const
virtual bool ObjectInRectangle(const Rect2D &irRect)
std::vector< AreaRec * > ImageMap
Definition: ImageMap.h:99
Point2D mTopCenter
Definition: FunnelObject.h:26
Definition: Msi_ccomvariant.h:24
MSynch::SmartPtr< FunnelObject > Ptr
Definition: FunnelObject.h:40
Point2D GetMiddlePoint() const
Int32 mHeight
Definition: FunnelObject.h:32
Definition: GraphObjectManager.h:37
virtual Point2D GetDataPoint()
virtual void GetOptions(Int32 iPropertyId, CComVariant *opValue) const
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
Definition: FunnelObject.h:19
float mTopRadiusB
Definition: FunnelObject.h:30
Int32 GetMiddleWidth() const