8 #ifndef MsiChart_LayerObject_h 9 #define MsiChart_LayerObject_h 11 #include "PDCHeader/PDCvector" 52 virtual void Draw()
const;
101 const std::vector<Int32>& irObjectIds,
Int32& iorDistance,
Int32 iRadius,
105 void GetAllGraphObjectInfo(std::vector<CGRect> &iAllGraphObjectsBorder, std::vector<MsiChart::TripleId > &iAllGraphObjectsTripleId);
127 void hGenerateLayerObjectView()
const;
129 void hMakeClearForHoveredGrid(
GraphObject::Ptr iGraphObjectPtr,
double iRatio)
const;
Definition: LayerObjectIOSHelper.h:16
Definition: LayerObject.h:21
void GetAllGraphObjectInfo(std::vector< CGRect > &iAllGraphObjectsBorder, std::vector< MsiChart::TripleId > &iAllGraphObjectsTripleId)
Int32 GetFrameIndex() const
Get frame index.
Definition: LayerObject.h:148
virtual void GetClockwisePolygon(std::vector< Point2D > &orPolygon) const
void SetProgress(double iProgress)
virtual void DrawOutLine()
virtual bool IsLayerObject() const
Definition: LayerObject.h:152
bool mIsAnimationNeeded
Definition: LayerObject.h:122
bool IsInGraphObjectsList(const GraphObject *ipGraphObject)
float mPreviousScale
Definition: LayerObject.h:125
virtual void GenerateView()
bool IsEmpty() const
Check whether the current LayerObject is empty.
std::vector< GraphObject::Ptr > mGraphObjectList
A collection of GraphObjects which share the same format properties.
Definition: LayerObject.h:120
Definition: LayerObjectWINHelper.h:16
MSynch::SmartPtr< LayerObject > Ptr
Definition: LayerObject.h:29
GraphObject::Ptr OnPointDetectionEx(const Point2D &irCursor, const std::vector< Int32 > &irObjectIds, Int32 &iorDistance, Int32 iRadius, std::vector< GraphObject::Ptr > &iorGraphObjectsAround, EnumGraphObjectUsage iUsage=GOU_NORMAL_HIGHLIGHT)
void AddGraphObject(GraphObject::Ptr iGraphObjectPtr)
virtual void Draw() const
Definition: LayerObjectHelper.h:15
std::string GetTemplateNodeKey() const
LayerObject(const TripleId &irTripleId, GraphObjectManager *ipManager, bool iIsAnimationNeeded)
Int32 mFrameIndex
Definition: LayerObject.h:123
virtual float GetMemoryUsageEstimation() const
bool IsAnimationNeeded() const
Definition: LayerObject.h:140
EnumGraphObjectUsage
Definition: GraphObject.h:28
bool DeleteRedrawGraphObject(GraphObject::Ptr iGraphObjectPtr)
bool IsInRedrawGraphObjectsList(const GraphObject *ipGraphObject)
void ResetLayerView()
Remove current layer view from its superview and clear reference.
double GetAnimationDuration() const
Get the duration of animation;.
void GetGraphObjectList(std::vector< GraphObject::Ptr > &orGraphObjectList)
Definition: LayerObject.h:157
void DrawWithContext(CGContextRef ipCGContext, const CGRect &irRect)
void EnableAnimation(bool iIsAnimationNeeded)
Definition: LayerObject.h:135
#define Int32
Definition: BasicTypes.h:20
int getGraphObjectsCount()
bool mIsInSeriesRenderer
Definition: LayerObject.h:121
std::vector< GraphObject::Ptr > mRedrawGraphObjectList
Definition: LayerObject.h:117
virtual bool ObjectInRectangle(const Rect2D &irRect)
void * mpLayerObjectView
Definition: LayerObject.h:124
void AnimationDidFinished()
Definition: GraphObject.h:38
bool DeleteGraphObject(GraphObject::Ptr iGraphObjectPtr)
virtual void ObjectsInRectange(const Rect2D &irRect, std::vector< GraphObject::Ptr > &iorSelectedObjects)
Definition: GraphObjectManager.h:37
void SetFrameIndex(Int32 iFrameIndex)
Set frame index.
Definition: LayerObject.h:144
void AddRedrawGraphObject(GraphObject::Ptr iGraphObjectPtr)
Use four Int32 values to represent a 2D rectangle.
Definition: Rect2D.h:25
Definition: GraphObject.h:30