FLImaging 6.6.27.1
DefinitionsGUIViewGraph.h
1#pragma once
2
10
14namespace FLImagingCLR
15{
19 namespace GUI
20 {
27 public enum class EGraphType
28 {
35 Chart = 1,
36
44 };
45
52 public enum class EChartType
53 {
61
69
77
85 };
86
93 public enum class EViewGraphLoadOption
94 {
101 Default = 0x00000000,
102
109 Load = 0x00000001,
110
117 Append = 0x00000002,
118
125 OpenDialog = 0x00100000,
126 };
127
129 {
130 return static_cast<EViewGraphLoadOption>(static_cast<int32_t>(a) | static_cast<int32_t>(b));
131 }
132
134 {
135 return static_cast<EViewGraphLoadOption>(static_cast<int32_t>(a) & static_cast<int32_t>(b));
136 }
137
139 {
140 return static_cast<EViewGraphLoadOption>(~static_cast<int32_t>(a));
141 }
142
143 inline bool operator!(EViewGraphLoadOption a)
144 {
145 return static_cast<bool>(!static_cast<int32_t>(a));
146 }
147
154 public enum class EViewGraphIndicateType
155 {
162 None = 0x00000000,
163
170 Line = 0x00000001,
171
178 Value = 0x00000002,
179
186 Name = 0x00000004,
187
194 Arrow = 0x00000008,
195
202 All = 0x0000000f,
203 };
204
206 {
207 return static_cast<EViewGraphIndicateType>(static_cast<int32_t>(a) | static_cast<int32_t>(b));
208 }
209
211 {
212 return static_cast<EViewGraphIndicateType>(static_cast<int32_t>(a) & static_cast<int32_t>(b));
213 }
214
216 {
217 return static_cast<EViewGraphIndicateType>(~static_cast<int32_t>(a));
218 }
219
220 inline bool operator!(EViewGraphIndicateType a)
221 {
222 return static_cast<bool>(!static_cast<int32_t>(a));
223 }
224
225 inline const EViewGraphIndicateType& operator|=(EViewGraphIndicateType& a, const EViewGraphIndicateType& b)
226 {
227 return a = a | b;
228 }
229
230 inline const EViewGraphIndicateType& operator&=(EViewGraphIndicateType& a, const EViewGraphIndicateType& b)
231 {
232 return a = a & b;
233 }
234
241 public enum class EViewGraphExtrema
242 {
249 None = 0x00000000,
250
257 MinX = 0x00000001,
258
265 MaxX = 0x00000002,
266
273 MinY = 0x00000004,
274
281 MaxY = 0x00000008,
282 };
283
285 {
286 return static_cast<EViewGraphExtrema>(static_cast<int32_t>(a) | static_cast<int32_t>(b));
287 }
288
290 {
291 return static_cast<EViewGraphExtrema>(static_cast<int32_t>(a) & static_cast<int32_t>(b));
292 }
293
294 inline EViewGraphExtrema operator~(EViewGraphExtrema a)
295 {
296 return static_cast<EViewGraphExtrema>(~static_cast<int32_t>(a));
297 }
298
299 inline bool operator!(EViewGraphExtrema a)
300 {
301 return static_cast<bool>(!static_cast<int32_t>(a));
302 }
303
310 public enum class EViewGraphMenuItem
311 {
318 None = 300,
319
327
335
343
351
359
367
375
383
391
399
407
415
423
431
439
447
455
463
471
479
487
495
503
511
519
527
535
543
551
559
567
575
583
591
599
607
615
623
631
639
647
655
663
671
679
687
695
703
711
719
727
735
743 };
744
751 public enum class EAvailableViewGraphContextMenu : uint64_t
752 {
759 None = 0x00000000,
760
767 All = 0xffffffffffffffff,
768
775 Load = 0x00000001,
776
783 Append = 0x00000002,
784
791 Save = 0x00000004,
792
799 Close = 0x00000008,
800
807 Clear = 0x00000010,
808
815 Copy = 0x00000020,
816
823 ClearThenPaste = 0x00000040,
824
831 Paste = 0x00000080,
832
839 ToggleLogScale = 0x00000100,
840
848
855 ChangeChartType = 0x00000800,
856
863 ShowToolBar = 0x00004000,
864
871 Zoom = 0x00008000,
872
879 ViewSettings = 0x00010000,
880
887 Help = 0x00020000,
888
895 ChangeColor = 0x00040000,
896
903 EditChartName = 0x00080000,
904
911 ShowCrosshair = 0x00100000,
912
919 ShowLegend = 0x00200000,
920
927 MagnetCrosshair = 0x00400000,
928
935 ChangeGraphOrder = 0x00800000,
936
943 GetTrendline = 0x01000000,
944
951 ZoomAxisNone = 0x02000000,
952
959 ZoomAxisHorz = 0x04000000,
960
967 ZoomAxisVert = 0x08000000,
968
975 EditAxisLabel = 0x10000000,
976
983 SwitchAxis = 0x20000000,
984
991 EditExpression = 0x40000000,
992
999 AddExpression = 0x80000000,
1000
1007 AddData = 0x100000000,
1008
1015 AddDataByClick = 0x200000000,
1016
1023 ShowGraph = 0x800000000,
1024
1031 RemoveGraph = 0x2000000000,
1032
1039 RemoveData = 0x4000000000,
1040
1047 EditData = 0x8000000000,
1048
1055 Panning = 0x10000000000,
1056
1063 IndicateMinMax = 0x20000000000,
1064
1071 SetRange = 0x40000000000,
1072
1079 SetOpacityOfLegend = 0x80000000000,
1080
1088 ShowLayers = 0x100000000000,
1089
1097 LayerProperties = 0x200000000000,
1098
1106 ClearLayers = 0x400000000000,
1107 };
1108
1110 {
1111 return static_cast<EAvailableViewGraphContextMenu>(static_cast<int64_t>(a) | static_cast<int64_t>(b));
1112 }
1113
1115 {
1116 return static_cast<EAvailableViewGraphContextMenu>(static_cast<int64_t>(a) & static_cast<int64_t>(b));
1117 }
1118
1120 {
1121 return a = a | b;
1122 }
1123
1125 {
1126 return a = a & b;
1127 }
1128
1130 {
1131 return static_cast<EAvailableViewGraphContextMenu>(~static_cast<int64_t>(a));
1132 }
1133
1134 inline bool operator!(EAvailableViewGraphContextMenu a)
1135 {
1136 return static_cast<bool>(!static_cast<int64_t>(a));
1137 }
1138
1145 public enum class EGUIViewGraphHitArea
1146 {
1153 None = 0x000000,
1154
1161 Graph = 0x000001,
1162
1169 Legend = 0x000002,
1170
1177 AxisX = 0x000004,
1178
1185 AxisY = 0x000008,
1186 };
1187
1189 {
1190 return static_cast<EGUIViewGraphHitArea>(static_cast<int32_t>(a) | static_cast<int32_t>(b));
1191 }
1192
1194 {
1195 return static_cast<EGUIViewGraphHitArea>(static_cast<int32_t>(a) & static_cast<int32_t>(b));
1196 }
1197
1198 inline EGUIViewGraphHitArea operator~(EGUIViewGraphHitArea a)
1199 {
1200 return static_cast<EGUIViewGraphHitArea>(~static_cast<int32_t>(a));
1201 }
1202
1203 inline bool operator!(EGUIViewGraphHitArea a)
1204 {
1205 return static_cast<bool>(!static_cast<int32_t>(a));
1206 }
1207 }
1208}
EChartType
그래프의 차트 타입
Definition DefinitionsGUIViewGraph.h:53
@ Scatter
점 그래프
Definition DefinitionsGUIViewGraph.h:84
@ Bar
막대 그래프
Definition DefinitionsGUIViewGraph.h:68
@ Zoom
이미지 뷰의 스케일 확대, 축소, 핏 메뉴
Definition DefinitionsGUI.h:3345
@ ClearLayers
레이어 정리 메뉴
Definition DefinitionsGUI.h:3595
EViewGraphMenuItem
그래프 뷰의 팝업 메뉴 아이템
Definition DefinitionsGUIViewGraph.h:311
@ EditExpression
수식 수정
Definition DefinitionsGUIViewGraph.h:598
@ AddData
데이터 값 추가
Definition DefinitionsGUIViewGraph.h:614
@ Indicate
전체 그래프의 최대/최솟값 표시
Definition DefinitionsGUIViewGraph.h:646
@ EditData
선택한 데이터 값 수정
Definition DefinitionsGUIViewGraph.h:678
@ ShowGraph
그래프의 show/hide 상태 수정
Definition DefinitionsGUIViewGraph.h:638
@ ClearDisplayedValue
더블 클릭으로 띄운 값 지우기
Definition DefinitionsGUIViewGraph.h:406
@ ClearThenPaste
클립보드의 csv 데이터를 그래프 뷰에 붙여 넣는 메뉴. 기존에 로드 된 그래프를 닫은 후 붙여 넣기 수행
Definition DefinitionsGUIViewGraph.h:374
@ ZoomAxisNone
배율 조정 기본 모드
Definition DefinitionsGUIViewGraph.h:558
@ SwitchAxis
x축과 y축을 변경
Definition DefinitionsGUIViewGraph.h:590
@ RemoveMultipleGraph
여러 그래프 삭제
Definition DefinitionsGUIViewGraph.h:654
@ ChangeColor
색상 변경
Definition DefinitionsGUIViewGraph.h:462
@ RemoveData
선택한 데이터 삭제
Definition DefinitionsGUIViewGraph.h:670
@ EditChartName
그래프 이름 변경
Definition DefinitionsGUIViewGraph.h:470
@ ToggleLogScale
로그 스케일 모드 토글 메뉴
Definition DefinitionsGUIViewGraph.h:390
@ MagnetCrosshair
십자선이 가장 가까운 그래프 좌표에 그려지도록 설정
Definition DefinitionsGUIViewGraph.h:502
@ ZoomAxisHorz
배율 조정을 x 축에 대해서만 수행하는 모드
Definition DefinitionsGUIViewGraph.h:566
@ AddExpression
수식 추가
Definition DefinitionsGUIViewGraph.h:606
@ ChangeGraphOrder
그래프의 드로잉 순서 변경
Definition DefinitionsGUIViewGraph.h:510
@ AddDataByClick
클릭으로 데이터 값 추가
Definition DefinitionsGUIViewGraph.h:622
@ ChangeType_ScatterChart
점 그래프로 변환
Definition DefinitionsGUIViewGraph.h:430
@ ChangeType_BarChart
막대 그래프로 변환
Definition DefinitionsGUIViewGraph.h:414
@ SetLogBase
로그 밑 설정 메뉴
Definition DefinitionsGUIViewGraph.h:398
@ EditAxisLabel
축의 이름을 변경
Definition DefinitionsGUIViewGraph.h:582
@ ShowMultipleGraph
여러 그래프의 show/hide 상태 수정
Definition DefinitionsGUIViewGraph.h:630
@ RemoveGraph
그래프 삭제
Definition DefinitionsGUIViewGraph.h:662
@ SetOpacityOfLegend
그래프 뷰의 레전드에 대한 불투명도 설정
Definition DefinitionsGUIViewGraph.h:494
@ ChangeType_LineGraph
꺾은선 그래프로 변환
Definition DefinitionsGUIViewGraph.h:422
@ ViewSettings
그래프 뷰 설정
Definition DefinitionsGUIViewGraph.h:446
@ GetTrendline
추세선 그리기
Definition DefinitionsGUIViewGraph.h:518
@ ZoomAxisVert
배율 조정을 y 축에 대해서만 수행하는 모드
Definition DefinitionsGUIViewGraph.h:574
@ MaxY
Y 의 최대값 방향
Definition DefinitionsGUIView3D.h:2247
@ MinX
X 의 최소값 방향
Definition DefinitionsGUIView3D.h:2215
@ MinY
Y 의 최소값 방향
Definition DefinitionsGUIView3D.h:2223
@ MaxX
X 의 최대값 방향
Definition DefinitionsGUIView3D.h:2239
@ Expression
특정 조건에 부합하는 Figure 를 얻어 오는 메뉴
Definition DefinitionsGUI.h:2806
@ Clear
도형 정리 메뉴
Definition DefinitionsGUI.h:2058
EViewGraphExtrema
그래프 뷰의 최대/최소 값
Definition DefinitionsGUIViewGraph.h:242
@ Paste
클립보드에 복사되어 있는 Figure를 Image Figure로 붙여 넣는 메뉴
Definition DefinitionsGUI.h:1465
@ Legend
범례 메뉴
Definition DefinitionsGUIView3D.h:1598
EViewGraphLoadOption
그래프 뷰의 불러오기 옵션
Definition DefinitionsGUIViewGraph.h:94
@ ClearAllLayers
모든 레이어 정리 메뉴
Definition DefinitionsGUI.h:1137
@ ZoomOut
이미지 뷰의 스케일 축소 메뉴
Definition DefinitionsGUI.h:582
@ ShowCrosshair
십자선 보이기 메뉴
Definition DefinitionsGUI.h:834
@ ShowLayer_Drawing
그리기 레이어 보이기 메뉴
Definition DefinitionsGUI.h:1041
@ ShowAllLayers
모든 레이어 보이기 메뉴
Definition DefinitionsGUI.h:1017
@ ZoomIn
이미지 뷰의 스케일 확대 메뉴
Definition DefinitionsGUI.h:573
@ ZoomFit
이미지 뷰의 스케일을 화면 크기에 맞추는 메뉴
Definition DefinitionsGUI.h:591
@ Help
도움말 다이얼로그를 띄우는 메뉴
Definition DefinitionsGUI.h:968
@ ClearNamedLayer
이름으로 정의된 레이어 위 도형 및 텍스트 제거 메뉴
Definition DefinitionsGUI.h:1129
@ ShowNamedLayer
이름으로 정의된 그리기 레이어 보이기 메뉴
Definition DefinitionsGUI.h:1049
@ ShowToolBar
툴바 보이기 메뉴
Definition DefinitionsGUI.h:699
@ HideAllLayers
모든 레이어 감추기 메뉴
Definition DefinitionsGUI.h:1025
@ LayerProperties
레이어 속성 다이얼로그를 띄우는 메뉴
Definition DefinitionsGUI.h:1057
@ Save
저장 메뉴
Definition DefinitionsGUI.h:303
@ ClearLayer
레이어 위 도형 및 텍스트 제거 메뉴
Definition DefinitionsGUI.h:1121
@ Panning
이미지 뷰의 이동 메뉴
Definition DefinitionsGUI.h:618
@ Copy
이미지에 저장된 Figure 중 선택한 객체들을 복사하는 메뉴
Definition DefinitionsGUI.h:6266
EGUIViewGraphHitArea
그래프 뷰 위에서의 마우스의 위치
Definition DefinitionsGUIViewGraph.h:1146
@ AxisX
X 축 영역
Definition DefinitionsGUIViewGraph.h:1177
@ Graph
그래프 영역
Definition DefinitionsGUIViewGraph.h:1161
@ AxisY
Y 축 영역
Definition DefinitionsGUIViewGraph.h:1185
EAvailableViewGraphContextMenu
그래프 뷰에 대해 가능한 컨텍스트 메뉴
Definition DefinitionsGUIViewGraph.h:752
@ SetRange
그래프 뷰의 표시 범위 지정
Definition DefinitionsGUIViewGraph.h:1071
@ ShowLayers
레이어 보이기 메뉴
Definition DefinitionsGUIViewGraph.h:1088
@ ChangeChartType
차트 모양 변경
Definition DefinitionsGUIViewGraph.h:855
@ IndicateMinMax
그래프의 최대/최솟값 표시
Definition DefinitionsGUIViewGraph.h:1063
EGraphType
그래프 타입
Definition DefinitionsGUIViewGraph.h:28
@ Chart
차트
Definition DefinitionsGUIViewGraph.h:35
EViewGraphIndicateType
표시 유형
Definition DefinitionsGUIViewGraph.h:155
@ Arrow
해당 값 위치에 화살표를 표시
Definition DefinitionsGUIViewGraph.h:194
@ Name
그래프의 이름을 표시
Definition DefinitionsGUIViewGraph.h:186
@ Value
해당 값을 표시
Definition DefinitionsGUIViewGraph.h:178
@ Close
창 닫기
Definition DefinitionsGUI.h:6726
@ Unknown
Unknown
Definition DefinitionsGUI.h:4887
@ Append
추가
Definition DefinitionsGUI.h:58
@ Default
기본
Definition DefinitionsGUI.h:42
@ OpenDialog
다이얼로그 열기
Definition DefinitionsGUI.h:82
@ Load
불러오기
Definition DefinitionsGUI.h:50
@ Line
Line 타입
Definition DefinitionsGUIView3D.h:50
@ ShowLegend
범례 보이기 메뉴
Definition DefinitionsGUIView3D.h:302
@ All
모든 메뉴
Definition DefinitionsGUIView3D.h:2891
@ None
메뉴 없음
Definition DefinitionsGUIView3D.h:2883