10 #ifndef MsiChart_GraphObject_h 11 #define MsiChart_GraphObject_h 15 #include "PDCHeader/PDCstring" 17 #include "../Common.h" 24 class GraphObjectManager;
68 virtual void Draw()
const = 0;
192 virtual void SetHover(
bool iIsHovered);
293 void hSetLineWidth(
Int32 iLineWidth)
const;
306 virtual void hGetFormatFromParent();
369 return sizeof(*this);
virtual float GetMemoryUsageEstimation() const
Definition: GraphObject.h:367
bool mIsDetectable
Indicate whether current object is detectable or not.
Definition: GraphObject.h:279
GraphCollectionObject * GetParentObject() const
Definition: GraphObject.h:321
virtual void DrawOutLine()
virtual void GetBoundingRect(Rect2D &orBoundingRect) const
bool mIsAnimationEnabled
Definition: GraphObject.h:283
Int32 mObjectId
Definition: Common.h:406
void SetLineWidth() const
bool mIsNativeAnimationEnabled
Definition: GraphObject.h:285
GraphObject(const TripleId &irTripleId, GraphObjectManager *ipManager, GraphCollectionObject *ipParentObject, bool iHasLine=true)
virtual Int32 DistanceToPoint(const Point2D &irPoint)
FormatLine::Ptr mFormatLinePtr
Definition: GraphObject.h:273
void SetNativeAnimationEnable(bool iIsNativeAnimationEnabled)
Definition: GraphObject.h:350
void SetFormatLine(FormatLine::Ptr iFormatLinePtr)
virtual void SetHover(bool iIsHovered)
Definition: GraphObject.h:371
Definition: GraphCollectionObject.h:19
void MakePolygonClockwise(std::vector< Point2D > &iorPolygon) const
virtual void SetProgress(double iProgress)
Definition: GraphObject.h:359
virtual Point2D GetCenterPoint() const
double mProgress
Definition: GraphObject.h:281
virtual void GenerateView()
virtual bool GetHover() const
Definition: GraphObject.h:376
void GetTripleId(TripleId &orTripleId) const
void ApplyLineFormat() const
EnumGraphObjectUsage
Definition: GraphObject.h:28
const TripleId mTripleId
Definition: GraphObject.h:275
virtual bool IsVirtual() const
Definition: GraphObject.h:380
virtual bool IsLayerObject() const
Definition: GraphObject.h:363
std::vector< Point2D > Polygon2D
Definition: GraphObject.h:25
FormatLine::Ptr GetFormatLine() const
Definition: GraphObject.h:326
void DrawGlowEffectForRect(const Rect2D &irRect, CGGradientRef iGradient) const
#define Int32
Definition: BasicTypes.h:20
void GetAngularBisectorIntersectionPoint(const Point2D &irA, const Point2D &irB, const Point2D &irC, float irDepth, Point2D &orBisectorPoint) const
virtual void ObjectsInRectange(const Rect2D &irRect, std::vector< GraphObject::Ptr > &iorSelectedObjects)
ChartContext::Ptr mChartContextPtr
Definition: GraphObject.h:276
void ApplyOutlineFormat() const
Int32 GetObjectId() const
Definition: GraphObject.h:312
void AppendRectangle2ImageMap(const Rect2D &irRect, ImageMap &iorImageMap) const
Definition: GraphObject.h:31
Definition: GraphObject.h:38
Int32 GetSeriesId() const
Definition: GraphObject.h:316
Definition: ChartContext.h:542
Int32 mSeriesId
Definition: Common.h:407
void SetDetectable(bool iIsDetectable)
Definition: GraphObject.h:336
void GetGraphObjectManager(GraphObjectManager *&oprManager)
Definition: GraphObject.h:384
virtual bool ObjectInRectangle(const Rect2D &irRect)=0
std::vector< AreaRec * > ImageMap
Definition: ImageMap.h:99
bool IsAnimationEnabled()
Definition: GraphObject.h:346
void DrawGlowEffectForPolygon(const Polygon2D &irPolygon, CGGradientRef iGradient) const
virtual void GetClockwisePolygon(std::vector< Point2D > &orPolygon) const =0
void SetHover(const TripleId &iTripleId, bool iIsHover)
virtual Point2D GetDataPoint()
Int32 GetChartAreaId() const
GraphObjectManager * mpManager
Definition: GraphObject.h:277
Definition: Msi_ccomvariant.h:24
virtual bool PointInObject(const Point2D &irPoint)
void SetOutlineWidth() const
virtual void Draw() const =0
Definition: GraphObject.h:32
virtual void GenerateImageMap(ImageMap &iorImageMap)
void AppendPolygon2ImageMap(const std::vector< Point2D > &irPolygon, ImageMap &iorImageMap) const
bool mIsHovered
Hover Effect, used in Graph matrix tooltip.
Definition: GraphObject.h:287
void ApplyInnerOutlineFormat() const
GraphObject LineObject
Definition: GraphObject.h:310
bool IsNativeAnimationEnabled()
Definition: GraphObject.h:355
Definition: GraphObjectManager.h:37
GraphCollectionObject * mpParentObject
Definition: GraphObject.h:272
void SetAnimationEnable(bool iIsAnimationEnabled)
Definition: GraphObject.h:341
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
Definition: GraphObject.h:30
virtual void GetOptions(Int32 iPropertyId, CComVariant *opValue) const
MSynch::SmartPtr< GraphObject > Ptr
Definition: GraphObject.h:42