FLImaging 7.11.27.4
GUIManagerView.h
1#pragma once
2
10
11#include "GUIFixedViewPlacementSet.h"
12#include "DefinitionsGUI.h"
13#include <map>
14#include <set>
15
16class CUIThread;
17
19namespace FLImaging
20{
22 namespace GUI
23 {
25 class CGUIViewImage;
26 class CGUIView3D;
28 class CGUIViewDrawing;
29 class CGUIViewGraph;
30 class CGUIViewSNAP;
31 class CGUIMainFrame;
32 class CGUIViewImageObjectFigure;
33 class CGUIChildFrameBase;
34 class CInternalViewManager;
35 class CGUIDialogCreateStencil;
36 class CGUIWndGrip;
37
38 typedef struct sFixedViewDeclarationGroups
39 {
40 std::vector<CGUIFixedViewDeclaration*> vctImage;
41 std::vector<CGUIFixedViewDeclaration*> vctGraph;
42 std::vector<CGUIFixedViewDeclaration*> vct3D;
43 std::vector<CGUIFixedViewDeclaration*> vct3DPathEditor;
44 std::vector<CGUIFixedViewDeclaration*> vctSNAP;
45 std::vector<CGUIFixedViewDeclaration*> vctDrawing;
46 std::vector<CGUIFixedViewDeclaration*> vctNone;
47 }SFixedViewDeclarationGroups;
48
57 class FL_EXPORT CGUIManagerView : public Base::CFLBase
58 {
59 CGUIManagerView();
60 CGUIManagerView(const CGUIManagerView& rh);
61 public:
62
71
93 static const CResult CreateView(CGUIViewImageBase* pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle);
94
116 static const CResult CreateViewImage(CGUIViewImage* pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle);
117
139 static const CResult CreateViewGraph(CGUIViewGraph* pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle);
140
162 static const CResult CreateView3D(CGUIView3D* pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle);
163
185 static const CResult CreateView3DPathEditor(CGUIView3DPathEditor* pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle);
186
208 static const CResult CreateViewDrawing(CGUIViewDrawing* pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle);
209
221 static const CResult CloseView(CGUIViewImageBase* pView);
222
235
245 static const CResult DestroyAllViews();
246
256 static void RemoveViewThread(CUIThread* pThread);
257
270
280 static bool IsUsedUIMultiThread();
281
291 static void UseUIMultiThread(bool bUse);
292
302 static void SetThumbnailDraggingMode(bool bSet);
303
314
325
336
348 static void SetThumbnailDraggingImageSource(Base::CFLImage* pFliSource, int32_t i32SelectedPageIndex = -1);
349
361 static void SetThumbnailDraggingImageSource(Base::CFLImage* pFliSource, Base::CFLArray<int32_t>& flaSelectedThumbnailIndex);
362
373
383 static void GetSelectedThumbnailIndex(Base::CFLArray<int32_t>& flaSelectedThumbnailIndex);
384
395
406
416 static void ShowHelpDialogView3D(CGUIView3D* pView);
417
428
439
449 static void ShowHelpDialogMainFrame(CGUIMainFrame* pMF);
450
459
471 static std::string ExtractClassName(const type_info& rhs);
472
484 static std::string ExtractClassNameWithNamespace(const type_info& rhs);
485
497 static void CommonExtractClassName(std::string& strResult, size_t stInitialPosition);
498
516 static bool AddMultiDocTemplate(UINT uIDResource, CRuntimeClass* pDoc, CRuntimeClass* pFrame, CRuntimeClass* pView);
517
533 static bool AddWindow(CDocument* pDoc, CFrameWnd* pFrame, CView* pView);
534
546 static bool DeleteWindow(CDocument* pDoc);
547
559 static bool DeleteWindow(CFrameWnd* pFrame);
560
572 static bool DeleteWindow(CView* pView);
573
583 static int64_t GetMultiDocTemplateCount();
584
596 static CMultiDocTemplate* GetMultiDocTemplate(size_t stIndex);
597
609 static CMultiDocTemplate* GetMultiDocTemplate(std::string strMultiDocTemplateName);
610
622 static std::string GetMultiDocTemplateName(size_t stIndex);
623
639 static std::string GetMultiDocTemplateName(CRuntimeClass* pDoc, CRuntimeClass* pFrame, CRuntimeClass* pView);
640
652 static std::string GetMultiDocTemplateName(CMultiDocTemplate* pMultiDocTemplate);
653
663 static size_t GetViewCount();
664
676 static CGUIViewBase* FindViewByIndex(size_t stIndex);
677
691 static CGUIViewBase* FindViewByIndex(CRuntimeClass* pRtcView, size_t stIndex);
692
706 static CGUIViewBase* FindViewByIndexDerivedFrom(CRuntimeClass* pRtcView, size_t stIndex);
707
719 static CGUIViewBase* FindViewByViewNumber(size_t stViewNumber);
720
732 static CGUIViewBase* FindViewByViewNumber(const Base::CFLString<wchar_t>& strTitle);
733
747 static CGUIViewBase* FindViewByViewNumber(CRuntimeClass* pRtcView, size_t stViewNumber);
748
762 static CGUIViewBase* FindViewByViewNumber(CRuntimeClass* pRtcView, const Base::CFLString<wchar_t>& strTitle);
763
777 static CGUIViewBase* FindViewByViewNumberDerivedFrom(CRuntimeClass* pRtcView, size_t stViewNumber);
778
792 static CGUIViewBase* FindViewByViewNumberDerivedFrom(CRuntimeClass* pRtcView, const Base::CFLString<wchar_t>& strTitle);
793
805 static std::vector<CGUIViewBase*> FindView(const Base::CFLString<wchar_t>& strTitle);
806
818 static std::vector<CGUIViewBase*> FindView(CRuntimeClass* pRtcView);
819
831 static std::vector<CGUIViewBase*> FindViewDerivedFrom(CRuntimeClass* pRtcView);
832
846 static std::vector<CGUIViewBase*> FindView(CRuntimeClass* pRtcView, const Base::CFLString<wchar_t>& strTitle);
847
861 static std::vector<CGUIViewBase*> FindViewDerivedFrom(CRuntimeClass* pRtcView, const Base::CFLString<wchar_t>& strTitle);
862
872 static std::vector<CGUIViewImage*> FindViewImage();
873
887 static const CResult FindView(const Base::CFLString<wchar_t>& strTitle, std::vector<CGUIViewBase*>& vctResult);
888
902 static const CResult FindView(CRuntimeClass* pRtcView, std::vector<CGUIViewBase*>& vctResult);
903
917 static const CResult FindViewDerivedFrom(CRuntimeClass* pRtcView, std::vector<CGUIViewBase*>& vctResult);
918
934 static const CResult FindView(CRuntimeClass* pRtcView, const Base::CFLString<wchar_t>& strTitle, std::vector<CGUIViewBase*>& vctResult);
935
951 static const CResult FindViewDerivedFrom(CRuntimeClass* pRtcView, const Base::CFLString<wchar_t>& strTitle, std::vector<CGUIViewBase*>& vctResult);
952
964 static const CResult FindViewImage(std::vector<CGUIViewImage*>& vctResult);
965
975 static std::vector<CView*> GetViews();
976
986 static bool DoesViewImageExist();
987
997 static bool DoesViewGraphExist();
998
1008 static bool DoesView3DExist();
1009
1020
1031
1041 static bool DoesViewSNAPExist();
1042
1053
1064
1075
1086
1097
1108
1124 static std::vector<CGUIViewBase*> FindViewAnyOf(const Base::CFLString<wchar_t>& strTitle);
1125
1137 static CDocument* FindWindowVDocument(size_t stIndex);
1138
1150 static std::vector<CDocument*> FindWindowVDocument(const Base::CFLString<wchar_t>& strTitle);
1151
1163 static CFrameWnd* FindWindowFrame(size_t stIndex);
1164
1176 static std::vector<CFrameWnd*> FindWindowFrame(const Base::CFLString<wchar_t>& strTitle);
1177
1189 static CView* FindWindowView(size_t stIndex);
1190
1202 static std::vector<CView*> FindWindowView(const Base::CFLString<wchar_t>& strTitle);
1203
1223 static const CResult ActivateNextView(bool bCircular = true);
1224
1244 static const CResult ActivatePreviousView(bool bCircular = true);
1245
1257 static const CResult AddFixedViewDeclaration(CGUIFixedViewDeclaration* pFixedViewDeclaration);
1258
1269
1282
1294 static const CResult RemoveFixedViewDeclaration(size_t stIndex);
1317
1340
1365
1376
1389
1403 static const CResult AddFixedViewPlacementSet(CGUIFixedViewPlacementSet& fvpSet, bool bAddMenuItem = true);
1404
1418 static const CResult AddFixedViewPlacementSet(CGUIFixedViewPlacementSet* pFvpSet, bool bAddMenuItem = true);
1419
1431 static const CResult RemoveFixedViewPlacementSet(size_t stIndex);
1432
1443
1455 static CGUIFixedViewPlacementSet* GetFixedViewPlacementSet(size_t stIndex);
1456
1468 static CGUIFixedViewPlacementSet* GetFixedViewPlacementSet(const Base::CFLString<wchar_t>& strFvpSetName);
1469
1481 static int64_t GetFixedViewPlacementSetIndex(const CGUIFixedViewPlacementSet* pFvpSet);
1482
1493
1503 static CGUIFixedViewPlacementSet* GetSelectedFixedViewPlacementSet();
1504
1517
1529 static bool SelectFixedViewPlacementSet(size_t stIndex);
1530
1544 static const CResult CreateFixedView(size_t stIndex, bool bLoadFixedViewSetting = true);
1545
1555 static bool RelocateFixedView();
1556
1580 static const CResult CollectFixedViewDeclarationsByType(SFixedViewDeclarationGroups& sFvdGroups);
1581
1591 static bool PreDestroyViewImage();
1592
1602 static bool PreDestroyViewGraph();
1603
1613 static bool PreDestroyView3D();
1614
1625
1636
1646 static bool PreDestroyViewSNAP();
1647
1658
1668 static bool IsInitialized();
1669
1679 static int64_t GetSNAPViewSerialNumber();
1680
1693
1694 DeclareGetClassType();
1695
1696 public:
1697 static void LButtonDownOnNcHitView(const Base::TPoint<int>& tpScreen);
1698 static void LButtonUpOnNcHitView(const Base::TPoint<int>& tpScreen);
1699 static void MouseMoveOnNcHitView(Base::TPoint<int>& tpScreen);
1700 static bool InitializeLayoutGrip(CWnd* pWndParent);
1701 static void HideLayoutGrip();
1702 static void ViewNcHitTest(const Base::TPoint<int>& tpScreen);
1703
1704 // 동기화된 뷰 그룹의 Point of View 스케일 변경 메시지를 지연 전송(PostMessage)합니다.
1705 static void BroadcastSyncPOVScale(const std::set<CGUIViewImage*>& setSyncViewImageRoot);
1706 static void CollectRootSyncViewsPOVScale(CGUIViewImage* pViewImage, std::set<CGUIViewImage*>& setSyncViewImageRoot);
1707
1708 protected:
1709 static Foundation::CStencil* GetInternalStencilPtr();
1710 static const CResult RemoveMismatchedFixedViewDeclarations(const CGUIFixedViewPlacementSet* pFVPSet);
1711
1712 private:
1713 static bool Initialize();
1714 static bool Terminate();
1715
1716 static bool CreateFixedView();
1717 static bool ShowOnlySelectedFixedViews();
1718
1719 static void SetInitialize(bool bSet);
1720
1721 virtual void OnReceiveBroadcast(const Base::CBroadcastMessage* pMessage) override;
1722 static CGUIManagerView* GetObject();
1723
1724 private:
1725 CInternalViewManager* m_pInternal;
1726
1727 CGUIViewImage* m_pViewImageThumbnailDraggingSource;
1728 Base::CFLImage* m_pFliThumbnailDraggingSource;
1729 Base::CFLArray<int32_t> m_flaSelectedThumbnailIdx;
1730 bool m_bThumbnailDraggingMode;
1731
1732 bool m_bUsedUIMultiThread;
1733 std::map<CGUIViewImageBase*, CUIThread*>& m_mapThreads;
1734
1735 volatile bool m_bInitialized;
1736
1737 CGUIWndGrip* m_pLayoutGripVert;
1738 CGUIWndGrip* m_pLayoutGripHorz;
1739 Base::TPoint<int> m_tpScreenPrev;
1740 Base::TRect<int> m_trScreenVertRect;
1741 Base::TRect<int> m_trScreenHorzRect;
1742 int32_t m_i32MFOffsetX;
1743 int32_t m_i32MFOffsetY;
1744
1745 bool m_bHorzRectVisible;
1746 bool m_bVertRectVisible;
1747 bool m_bLButtonDownOnNcHitView;
1748
1749 std::vector<CMultiDocTemplate*>& m_vctMultiDocTemplates;
1750 std::map<std::string, CMultiDocTemplate*>& m_mapMultiDocTemplates;
1751 std::map<CMultiDocTemplate*, std::string>& m_mapMultiDocTemplatesReverse;
1752
1753 std::vector<CGUIFixedViewDeclaration*>& m_vctFixedViewDeclaration;
1754 std::vector<CGUIFixedViewPlacementSet*>& m_vctFixedViewPlacementSet;
1755
1756 std::vector<CDocument*>& m_vctDoc;
1757 std::vector<CFrameWnd*>& m_vctFrame;
1758 std::vector<CView*>& m_vctView;
1759
1760 std::vector <CGUIChildFrameBase*>& m_vctFrameToResize;
1761 std::set <int32_t>& m_setI32FrameX;
1762 std::set <int32_t>& m_setI32FrameY;
1763
1764 size_t m_stSelectedPlacementSet;
1765
1766 friend class CGUIManager;
1767
1768 friend class CInternalViewManager;
1769 friend class CGUIDialogCreateStencil;
1770 friend class CGUIFixedViewPlacementSet;
1771 };
1772 }
1773}
1774
브로드캐스트 메시지 클래스
Definition FLImagingBase/BroadcastMessage.h:27
Template type 의 배열 클래스.
Definition FLArray.h:71
FLImaging의 최상위 기저 클래스
Definition FLImagingBase/FLBase.h:36
FLImaging의 이미지 클래스
Definition FLImagingBase/FLImage.h:35
Template type 의 문자열 클래스
Definition FLString.h:34
점을 표현하는 간략화된 클래스
Definition FLImagingBase/TPoint.h:37
직사각형을 표현하는 간략화된 클래스
Definition FLImagingBase/TRect.h:37
FLImaging 모듈의 수행 결과 객체
Definition FLImagingBase/ResultsDef.h:1739
문자열을 Figure 로 변환하는 클래스
Definition FLImagingFoundation/Stencil.h:25
고정 뷰 선언에 관한 클래스
Definition GUIFixedViewDeclaration.h:31
static void UseUIMultiThread(bool bUse)
UI 멀티 스레딩 사용 여부를 설정합니다.
static std::vector< CView * > FindWindowView(const Base::CFLString< wchar_t > &strTitle)
지정된 제목과 일치하는 모든 MFC 뷰를 반환합니다.
virtual ~CGUIManagerView()
CGUIManagerView의 소멸자입니다.
static bool IsInitialized()
매니저가 초기화되었는지 확인합니다.
static std::vector< CGUIViewBase * > FindView(const Base::CFLString< wchar_t > &strTitle)
지정된 제목 문자열과 일치하는 모든 뷰를 반환합니다.
static CGUIViewBase * FindViewByViewNumberDerivedFrom(CRuntimeClass *pRtcView, size_t stViewNumber)
지정된 런타임 클래스에서 파생되고 주어진 뷰 번호와 일치하는 뷰를 반환합니다.
static const CResult CreateViewDrawing(CGUIViewDrawing *pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle)
지정된 영역에 드로잉 뷰를 생성합니다.
static void ShowHelpDialogViewDrawing(CGUIViewDrawing *pView)
지정된 드로잉 뷰에 대한 도움말 다이얼로그를 표시합니다.
static std::string GetMultiDocTemplateName(CMultiDocTemplate *pMultiDocTemplate)
지정된 다중 문서 템플릿의 이름을 반환합니다.
static CGUIViewBase * FindViewByIndex(size_t stIndex)
등록된 모든 뷰 중 지정된 인덱스의 뷰를 반환합니다.
static bool PreDestroyView3D()
모든 3D 뷰에 대한 사전 소멸 처리를 수행합니다.
static bool PreDestroyViewImage()
모든 이미지 뷰에 대한 사전 소멸 처리를 수행합니다.
static bool SelectFixedViewPlacementSet(const Base::CFLString< wchar_t > &strFvpSetName)
지정된 이름과 일치하는 고정 뷰 배치 세트를 선택합니다.
static int64_t GetMultiDocTemplateCount()
등록된 다중 문서 템플릿의 총 개수를 반환합니다.
static const CResult CreateView3DPathEditor(CGUIView3DPathEditor *pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle)
지정된 영역에 3D 경로 편집기 뷰를 생성합니다.
static CView * FindWindowView(size_t stIndex)
지정된 인덱스의 MFC 뷰를 반환합니다.
static bool DeleteWindow(CDocument *pDoc)
지정된 문서와 연결된 윈도우를 제거합니다.
static const CResult RemoveFixedViewDeclaration(CGUIFixedViewDeclaration *pFixedViewDeclaration)
지정된 Fixed View Declaration을 강제로 삭제하고, 매니저 컨테이너에서 제거합니다.
static std::vector< CGUIViewImage * > FindViewImage()
등록된 모든 이미지 뷰를 반환합니다.
static int64_t GetFixedViewDeclarationCount()
등록된 고정 뷰 선언의 총 개수를 반환합니다.
static const CResult CreateFixedView(size_t stIndex, bool bLoadFixedViewSetting=true)
지정된 인덱스에 해당하는 고정 뷰를 생성합니다.
static int64_t GetFixedViewPlacementSetIndex(const CGUIFixedViewPlacementSet *pFvpSet)
지정된 고정 뷰 배치 세트의 인덱스를 반환합니다.
static bool PreDestroyViewImageBase()
모든 기본 이미지 뷰에 대한 사전 소멸 처리를 수행합니다.
static CGUIViewBase * FindViewByIndexDerivedFrom(CRuntimeClass *pRtcView, size_t stIndex)
지정된 런타임 클래스에서 파생된 뷰 중 지정된 인덱스의 뷰를 반환합니다.
static CDocument * FindWindowVDocument(size_t stIndex)
지정된 인덱스의 윈도우와 연결된 문서를 반환합니다.
static void SetThumbnailDraggingImageSource(Base::CFLImage *pFliSource, int32_t i32SelectedPageIndex=-1)
썸네일 드래깅의 소스 이미지를 설정하며, 선택된 페이지 인덱스를 지정할 수 있습니다.
static std::vector< CDocument * > FindWindowVDocument(const Base::CFLString< wchar_t > &strTitle)
지정된 제목과 일치하는 윈도우와 연결된 모든 문서를 반환합니다.
static void ShowHelpDialogMainFrame(CGUIMainFrame *pMF)
지정된 메인 프레임에 대한 도움말 다이얼로그를 표시합니다.
static void ShowHelpDialogViewSNAP(CGUIViewSNAP *pView)
지정된 SNAP 뷰에 대한 도움말 다이얼로그를 표시합니다.
static const CResult DestroyAllViews()
등록된 모든 뷰를 소멸시키고 관련 리소스를 해제합니다.
static const CResult CollectFixedViewDeclarationsByType(SFixedViewDeclarationGroups &sFvdGroups)
현재 등록된 모든 Fixed View Declaration을 뷰 타입별로 분류하여 수집합니다.
static const CResult CloseView(CGUIViewImageBase *pView)
지정된 뷰를 소멸시키지 않고 닫습니다.
static int64_t GetFixedViewDeclarationIndex(const CGUIFixedViewDeclaration *pFVD)
지정된 고정 뷰 선언의 인덱스를 반환합니다.
static CMultiDocTemplate * GetMultiDocTemplate(size_t stIndex)
지정된 인덱스의 다중 문서 템플릿을 반환합니다.
static void ShowHelpDialogViewImage(CGUIViewImage *pView)
지정된 이미지 뷰에 대한 도움말 다이얼로그를 표시합니다.
static const CResult FindViewDerivedFrom(CRuntimeClass *pRtcView, const Base::CFLString< wchar_t > &strTitle, std::vector< CGUIViewBase * > &vctResult)
지정된 런타임 클래스에서 파생되고 주어진 제목과 일치하는 모든 뷰를 검색하고 결과를 출력 벡터에 저장합니다.
static void RemoveViewThread(CUIThread *pThread)
뷰 스레드 목록에서 지정된 UI 스레드를 제거합니다.
static CGUIViewBase * FindViewByViewNumber(const Base::CFLString< wchar_t > &strTitle)
뷰 번호 기준으로 지정된 제목 문자열과 일치하는 뷰를 반환합니다.
static CFrameWnd * FindWindowFrame(size_t stIndex)
지정된 인덱스의 프레임 윈도우를 반환합니다.
static const CResult AddFixedViewPlacementSet(CGUIFixedViewPlacementSet &fvpSet, bool bAddMenuItem=true)
고정 뷰 배치 세트를 참조로 추가하고, 선택적으로 메뉴 항목으로 등록합니다.
static const CResult FindView(const Base::CFLString< wchar_t > &strTitle, std::vector< CGUIViewBase * > &vctResult)
지정된 제목과 일치하는 모든 뷰를 검색하고 결과를 출력 벡터에 저장합니다.
static CGUIViewBase * FindViewByViewNumberDerivedFrom(CRuntimeClass *pRtcView, const Base::CFLString< wchar_t > &strTitle)
뷰 번호 기준으로 지정된 런타임 클래스에서 파생되고 주어진 제목과 일치하는 뷰를 반환합니다.
static const CResult ActivateNextView(bool bCircular=true)
현재 활성화된 뷰를 기준으로 serial number 순서상 다음 visible 뷰를 활성화합니다. bCircular 이 true 인 경우 마지막 뷰 도달 시 다시 첫 번째 뷰로 이...
static bool IsThumbnailDraggingMode()
현재 썸네일 드래깅 모드가 활성화되어 있는지 확인합니다.
static bool AddWindow(CDocument *pDoc, CFrameWnd *pFrame, CView *pView)
지정된 문서, 프레임, 뷰로 구성된 윈도우를 등록합니다.
static const CResult FindViewImage(std::vector< CGUIViewImage * > &vctResult)
등록된 모든 이미지 뷰를 검색하고 결과를 출력 벡터에 저장합니다.
static bool DeleteWindow(CFrameWnd *pFrame)
지정된 프레임과 연결된 윈도우를 제거합니다.
static const CResult RemoveFixedViewPlacementSet(size_t stIndex)
지정된 인덱스의 고정 뷰 배치 세트를 제거합니다.
static const CResult ClearFixedViewDeclarationAll()
등록된 모든 고정 뷰 선언을 제거합니다.
static std::vector< CFrameWnd * > FindWindowFrame(const Base::CFLString< wchar_t > &strTitle)
지정된 제목과 일치하는 모든 프레임 윈도우를 반환합니다.
static std::vector< CView * > GetViews()
등록된 모든 뷰를 반환합니다.
static CGUIFixedViewPlacementSet * GetSelectedFixedViewPlacementSet()
현재 선택된 고정 뷰 배치 세트의 포인터를 반환합니다.
static const CResult AddFixedViewPlacementSet(CGUIFixedViewPlacementSet *pFvpSet, bool bAddMenuItem=true)
고정 뷰 배치 세트를 포인터로 추가하고, 선택적으로 메뉴 항목으로 등록합니다.
static const CResult CreateViewImage(CGUIViewImage *pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle)
지정된 영역에 이미지 뷰를 생성합니다.
static bool SelectFixedViewPlacementSet(size_t stIndex)
지정된 인덱스의 고정 뷰 배치 세트를 선택합니다.
static bool DoesView3DExist()
3D 뷰가 하나 이상 존재하는지 확인합니다.
static size_t GetViewCount()
등록된 뷰의 총 개수를 반환합니다.
static CGUIViewBase * FindViewByViewNumber(CRuntimeClass *pRtcView, size_t stViewNumber)
지정된 런타임 클래스와 뷰 번호에 일치하는 뷰를 반환합니다.
static bool PreDestroyView3DPathEditor()
모든 3D 경로 편집기 뷰에 대한 사전 소멸 처리를 수행합니다.
static int64_t GetSelectedFixedViewPlacementSetIndex()
현재 선택된 고정 뷰 배치 세트의 인덱스를 반환합니다.
static CGUIViewBase * FindViewByViewNumber(CRuntimeClass *pRtcView, const Base::CFLString< wchar_t > &strTitle)
뷰 번호 기준으로 지정된 런타임 클래스와 제목에 일치하는 뷰를 반환합니다.
static const CResult CreateView(CGUIViewImageBase *pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle)
지정된 영역에 기본 이미지 뷰를 생성합니다.
static int64_t GetSNAPViewSerialNumber()
SNAP 뷰의 시리얼 번호를 반환합니다.
static bool PreDestroyViewSNAP()
모든 SNAP 뷰에 대한 사전 소멸 처리를 수행합니다.
static const CResult DestroyView(CGUIViewImageBase *pView)
지정된 뷰를 소멸시키고 관련 리소스를 해제합니다.
static int64_t GetFixedViewPlacementSetCount()
등록된 고정 뷰 배치 세트의 총 개수를 반환합니다.
static const CResult RemoveFixedViewDeclarationSafe(CGUIFixedViewDeclaration *pFixedViewDeclaration)
현재 선택된 PlacementSet에서 사용 중이지 않은 경우에만 지정된 Fixed View Declaration을 안전하게 제거합니다.
static bool DoesVisibleView3DPathEditorExist()
표시 중인 3D 경로 편집기 뷰가 하나 이상 존재하는지 확인합니다.
static bool DeleteWindow(CView *pView)
지정된 뷰와 연결된 윈도우를 제거합니다.
static const CResult CreateViewGraph(CGUIViewGraph *pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle)
지정된 영역에 그래프 뷰를 생성합니다.
static CGUIFixedViewPlacementSet * GetFixedViewPlacementSet(size_t stIndex)
지정된 인덱스의 고정 뷰 배치 세트를 반환합니다.
static void SetThumbnailDraggingImageSource(Base::CFLImage *pFliSource, Base::CFLArray< int32_t > &flaSelectedThumbnailIndex)
선택된 썸네일 인덱스 목록과 함께 썸네일 드래깅의 소스 이미지를 설정합니다.
static bool DoesVisibleViewDrawingExist()
표시 중인 드로잉 뷰가 하나 이상 존재하는지 확인합니다.
static const CResult RemoveFixedViewDeclarationIfUnused(CGUIFixedViewDeclaration *pFixedViewDeclaration)
다른 FixedViewPlacementSet에서 사용하지 않는 경우에만 지정된 Fixed View Declaration을 삭제하고 컨테이너에서 제거합니다.
static bool DoesVisibleViewSNAPExist()
표시 중인 SNAP 뷰가 하나 이상 존재하는지 확인합니다.
static void GetSelectedThumbnailIndex(Base::CFLArray< int32_t > &flaSelectedThumbnailIndex)
선택된 썸네일 인덱스 목록을 가져옵니다.
static CMultiDocTemplate * GetMultiDocTemplate(std::string strMultiDocTemplateName)
지정된 이름과 일치하는 다중 문서 템플릿을 반환합니다.
static void InitializeClassContainer()
뷰 관리에 사용되는 내부 클래스 컨테이너를 초기화합니다.
static std::vector< CGUIViewBase * > FindView(CRuntimeClass *pRtcView, const Base::CFLString< wchar_t > &strTitle)
지정된 런타임 클래스와 제목 모두 일치하는 모든 뷰를 반환합니다.
static const CResult RemoveFixedViewDeclaration(size_t stIndex)
지정된 인덱스의 고정 뷰 선언을 제거합니다.
static const CResult CreateView3D(CGUIView3D *pView, int32_t i32L, int32_t i32T, int32_t i32R, int32_t i32B, size_t stParentWindowHandle)
지정된 영역에 3D 뷰를 생성합니다.
static std::string GetMultiDocTemplateName(CRuntimeClass *pDoc, CRuntimeClass *pFrame, CRuntimeClass *pView)
지정된 런타임 클래스와 일치하는 다중 문서 템플릿의 이름을 반환합니다.
static std::vector< CGUIViewBase * > FindViewDerivedFrom(CRuntimeClass *pRtcView)
지정된 런타임 클래스에서 파생된 모든 뷰를 반환합니다.
static CGUIFixedViewPlacementSet * GetFixedViewPlacementSet(const Base::CFLString< wchar_t > &strFvpSetName)
지정된 이름과 일치하는 고정 뷰 배치 세트를 반환합니다.
static bool DoesViewSNAPExist()
SNAP 뷰가 하나 이상 존재하는지 확인합니다.
static const CResult FindView(CRuntimeClass *pRtcView, const Base::CFLString< wchar_t > &strTitle, std::vector< CGUIViewBase * > &vctResult)
지정된 런타임 클래스와 제목 모두 일치하는 모든 뷰를 검색하고 결과를 출력 벡터에 저장합니다.
static std::string ExtractClassNameWithNamespace(const type_info &rhs)
주어진 type_info에서 네임스페이스를 포함한 전체 클래스 이름을 추출합니다.
static const Base::CFLImage * GetThumbnailDraggingImageSource()
현재 썸네일 드래깅에 설정된 소스 이미지를 반환합니다.
static bool DoesVisibleViewGraphExist()
표시 중인 그래프 뷰가 하나 이상 존재하는지 확인합니다.
static bool DoesView3DPathEditorExist()
3D 경로 편집기 뷰가 하나 이상 존재하는지 확인합니다.
static bool PreDestroyViewGraph()
모든 그래프 뷰에 대한 사전 소멸 처리를 수행합니다.
static bool IsAvailableView(CGUIViewImageBase *pView)
지정된 뷰가 현재 사용 가능한 상태인지 확인합니다.
static std::vector< CGUIViewBase * > FindViewAnyOf(const Base::CFLString< wchar_t > &strTitle)
주어진 문자열과 일치하거나 유사한 제목을 가진 모든 뷰를 반환합니다. 대소문자를 구분하지 않고 비교하며, 뷰의 제목에 strTitle 이 포함되거나 strTitle 에 뷰의 제목이 ...
static bool DoesViewDrawingExist()
드로잉 뷰가 하나 이상 존재하는지 확인합니다.
static bool PreDestroyViewDrawing()
모든 드로잉 뷰에 대한 사전 소멸 처리를 수행합니다.
static void ShowHelpDialogView3D(CGUIView3D *pView)
지정된 3D 뷰에 대한 도움말 다이얼로그를 표시합니다.
static CGUIViewBase * FindViewByViewNumber(size_t stViewNumber)
지정된 뷰 번호와 일치하는 뷰를 반환합니다.
static std::string GetMultiDocTemplateName(size_t stIndex)
지정된 인덱스의 다중 문서 템플릿 이름을 반환합니다.
static std::vector< CGUIViewBase * > FindViewDerivedFrom(CRuntimeClass *pRtcView, const Base::CFLString< wchar_t > &strTitle)
지정된 런타임 클래스에서 파생되고 주어진 제목과 일치하는 모든 뷰를 반환합니다.
static const CResult AddFixedViewDeclaration(CGUIFixedViewDeclaration *pFixedViewDeclaration)
고정 뷰 선언을 매니저에 등록합니다.
static const CResult FindView(CRuntimeClass *pRtcView, std::vector< CGUIViewBase * > &vctResult)
지정된 런타임 클래스와 일치하는 모든 뷰를 검색하고 결과를 출력 벡터에 저장합니다.
static CGUIFixedViewDeclaration * GetFixedViewDeclaration(int64_t i64Index)
지정된 인덱스의 고정 뷰 선언을 반환합니다.
static bool RelocateFixedView()
현재 배치 설정에 따라 모든 고정 뷰를 재배치합니다.
static const CResult FindViewDerivedFrom(CRuntimeClass *pRtcView, std::vector< CGUIViewBase * > &vctResult)
지정된 런타임 클래스에서 파생된 모든 뷰를 검색하고 결과를 출력 벡터에 저장합니다.
static bool DoesVisibleView3DExist()
표시 중인 3D 뷰가 하나 이상 존재하는지 확인합니다.
static std::string ExtractClassName(const type_info &rhs)
주어진 type_info에서 네임스페이스를 제외한 클래스 이름을 추출합니다.
virtual Base::CFLString< wchar_t > GetFileName() const
뷰의 전역 설정 값이 저장되는 설정 파일의 경로를 반환합니다. 기본적으로 CGUIManager::GetConfigurationPath() 경로의 ViewGlobalSettings....
static void SetViewImageThumbnailDraggingSource(CGUIViewImage *pViewSource)
썸네일 드래깅의 소스 이미지 뷰를 설정합니다.
static void CommonExtractClassName(std::string &strResult, size_t stInitialPosition)
주어진 위치부터 클래스 이름 문자열을 추출하고 형식화하는 공통 헬퍼 함수입니다.
static CGUIViewImage * GetViewImageThumbnailDraggingSource()
현재 썸네일 드래깅에 설정된 소스 이미지 뷰를 반환합니다.
static void SetThumbnailDraggingMode(bool bSet)
썸네일 드래깅 모드 사용 여부를 설정합니다.
static const CResult ActivatePreviousView(bool bCircular=true)
현재 활성화된 뷰를 기준으로 serial number 순서상 이전 visible 뷰를 활성화합니다. bCircular 이 true 인 경우 첫 번째 뷰 도달 시 마지막 뷰로 이동합니...
static CGUIViewBase * FindViewByIndex(CRuntimeClass *pRtcView, size_t stIndex)
지정된 런타임 클래스와 일치하는 뷰 중 지정된 인덱스의 뷰를 반환합니다.
static void ShowHelpDialogViewGraph(CGUIViewGraph *pView)
지정된 그래프 뷰에 대한 도움말 다이얼로그를 표시합니다.
static bool DoesVisibleViewImageExist()
표시 중인 이미지 뷰가 하나 이상 존재하는지 확인합니다.
static bool AddMultiDocTemplate(UINT uIDResource, CRuntimeClass *pDoc, CRuntimeClass *pFrame, CRuntimeClass *pView)
지정된 리소스 및 런타임 클래스를 사용하여 새 다중 문서 템플릿을 등록합니다.
static bool IsUsedUIMultiThread()
UI 멀티 스레딩이 현재 활성화되어 있는지 확인합니다.
static bool DoesViewImageExist()
이미지 뷰가 하나 이상 존재하는지 확인합니다.
static bool DoesViewGraphExist()
그래프 뷰가 하나 이상 존재하는지 확인합니다.
static std::vector< CGUIViewBase * > FindView(CRuntimeClass *pRtcView)
지정된 런타임 클래스와 일치하는 모든 뷰를 반환합니다.
3D 뷰 클래스
Definition FLImagingGUI/GUIView3D.h:119
3D 경로 편집기 클래스
Definition FLImagingGUI/GUIView3DPathEditor.h:29
도면 뷰 클래스
Definition GUIViewDrawing.h:53
그래프 뷰 클래스
Definition FLImagingGUI/GUIViewGraph.h:46
뷰의 기반 클래스
Definition FLImagingGUI/GUIViewImageBase.h:44
이미지 뷰 클래스
Definition FLImagingGUI/GUIViewImage.h:361
SNAP 뷰 클래스
Definition FLImagingGUI/GUIViewSNAP.h:36
Definition D2DObject.h:12