3#include "SNAPFeatureBase.h"
4#include "SNAPFigureOutputInfo.h"
12 class CSNAPFigureOutputInfo;
14 class FL_EXPORT CSNAPFeatureViewImage :
public CSNAPFeatureBase
16 SupportToDuplicateObject(CSNAPFeatureViewImage, *
this);
19 CSNAPFeatureViewImage();
20 CSNAPFeatureViewImage(
const CSNAPFeatureViewImage& rhs);
21 CSNAPFeatureViewImage(
const CSNAPFeatureViewImage* pRhs);
22 virtual ~CSNAPFeatureViewImage();
24 virtual const CResult
Assign(
const CSNAPFeatureViewImage& rhs);
25 virtual const CResult
Assign(
const CSNAPFeatureViewImage* pRhs);
27 virtual const CResult
Clear()
override;
29 virtual const CResult SetViewImage(
const CGUIViewImage* pViewImage);
30 virtual const CGUIViewImage* GetViewImage()
const;
32 virtual const CResult
SetImage(
const Base::CFLImage* pFliImage);
33 virtual const Base::CFLImage* GetImage()
const;
35 virtual const CResult AddFigure(
const Foundation::CFLFigure* pFliFigure,
const CSNAPFigureOutputInfo* pFoiData =
nullptr);
36 virtual Foundation::CFLFigureArray GetFigures()
const;
38 virtual const CResult AddImageFigure(
const Foundation::CFLFigure* pFliFigure);
39 virtual Foundation::CFLFigureArray GetImageFigures()
const;
41 virtual const CResult SetPageNumber(int32_t i32PageNumber);
42 virtual int32_t GetPageNumber()
const;
44 virtual const CResult SetPageName(
const Base::CFLString<wchar_t>& flsPageName);
45 virtual Base::CFLString<wchar_t> GetPageName()
const;
47 virtual const CResult SetViewCenter(
const Base::TPoint<double>& tpCenter);
48 virtual Base::TPoint<double> GetViewCenter()
const;
50 virtual const CResult SetViewScale(
double f64Scale);
51 virtual double GetViewScale()
const;
53 virtual const CResult SetFileNameWithPath(
const Base::CFLString<wchar_t>& flsFileNameWithPath);
54 virtual Base::CFLString<wchar_t> GetFileNameWithPath()
const;
56 virtual const CResult Execute();
59 virtual const CResult ClearImage();
61 virtual const CResult ClearFigureObjects();
62 virtual const CResult
ZoomFit();
63 virtual const CResult
Load();
64 virtual const CResult
Save();
65 virtual const CResult SaveWithLayer();
67 DeclareGetClassType();
70 virtual bool IsViewObjectAlive()
const;
73 CGUIViewImage* m_pViewImage;
74 Base::CFLImage* m_pFliImage;
76 std::vector<Foundation::CFLFigure*>& m_vctFigures;
77 std::vector<CSNAPFigureOutputInfo>& m_vctFigureOutputInfos;
78 std::vector<Foundation::CFLFigure*>& m_vctFigureObjects;
79 std::vector<Foundation::CFLFigure*>& m_vctImageFigures;
81 int32_t m_i32PageNumber;
83 bool m_bPageNameInput;
84 Base::CFLString<wchar_t> m_flsPageName;
86 Base::CFLString<wchar_t> m_flsFileName;
A class of image view.
Definition GUIViewImage.h:319
Definition D2DObject.h:12
@ Assign
Set the value of CGUIPropertyItemView3DFigure to the specified figure.
Definition DefinitionsGUIView3D.h:2930
@ ClearLayers
Clear layers Menu.
Definition DefinitionsGUI.h:3672
@ ZoomFit
Zoom to fit.
Definition DefinitionsGUI.h:591
@ Save
Save file.
Definition DefinitionsGUI.h:303
@ SetImage
If the image above the image view changes.
Definition DefinitionsGUI.h:5080
@ Clear
Clear all the figure objects.
Definition DefinitionsGUI.h:2110
@ ClearAll
Remove all the figures on image.
Definition DefinitionsGUI.h:1412
@ Load
Default Load.
Definition DefinitionsGUI.h:50