FLImaging
7.8.25.3
Toggle main menu visibility
FLImagingFoundation
FLImagingGUI
SNAPFigureOutputInfo.h
1
#pragma once
2
#include "DefinitionGUISNAP.h"
3
#include "DefinitionsGUI.h"
4
#include "../FLImagingFoundation/DefinitionsFigureText.h"
5
6
namespace
FLImaging
7
{
8
namespace
GUI
9
{
10
class
FL_EXPORT CSNAPFigureOutputInfo :
public
Base::CFLBase
11
{
12
SupportToDuplicateObject(CSNAPFigureOutputInfo, *
this
);
13
14
enum
ECrosshairSource
15
{
16
ECrosshairSource_Center = 0,
17
ECrosshairSource_ElementwiseCenter,
18
};
19
20
public
:
21
CSNAPFigureOutputInfo();
22
CSNAPFigureOutputInfo(
const
CSNAPFigureOutputInfo& rh);
23
virtual
~CSNAPFigureOutputInfo();
24
25
const
CResult
Assign
(
const
CSNAPFigureOutputInfo& rh);
26
27
void
SetMode(EFigureOutputMode eMode);
28
EFigureOutputMode GetMode()
const
;
29
30
void
SetLineColor(uint32_t u32Line);
31
uint32_t GetLineColor()
const
;
32
33
void
SetLineWidth(
float
f32LineWidth);
34
float
GetLineWidth()
const
;
35
36
void
SetFillColor(uint32_t u32Fill);
37
uint32_t GetFillColor()
const
;
38
39
void
SetPenStyle(EGUIViewImagePenStyle ePenStyle);
40
EGUIViewImagePenStyle
GetPenStyle()
const
;
41
42
void
SetLineColorAlphaRatio(
float
fRatio);
43
float
GetLineColorAlphaRatio()
const
;
44
45
void
SetFillColorAlphaRatio(
float
fRatio);
46
float
GetFillColorAlphaRatio()
const
;
47
48
void
SetEdgeColor(uint32_t u32Edge);
49
uint32_t GetEdgeColor()
const
;
50
51
void
EnableMakeCrosshair(
bool
bEnable);
52
bool
IsMakeCrosshairEnabled()
const
;
53
54
void
SetCrosshairSource(ECrosshairSource eSource);
55
ECrosshairSource GetCrosshairSource()
const
;
56
57
void
SetCrosshairLength(
double
f64Length);
58
double
GetCrosshairLength()
const
;
59
60
void
EnableCrosshairDiagonal(
bool
bEnable);
61
bool
IsCrosshairDiagonalEnabled()
const
;
62
63
DeclareGetClassType();
64
65
protected
:
66
EFigureOutputMode m_eMode;
67
68
uint32_t m_u32Line;
69
float
m_f32LineWidth;
70
uint32_t m_u32Fill;
71
EGUIViewImagePenStyle
m_ePenStyle;
72
float
m_fLineColorAlpha;
73
float
m_fFillColorAlpha;
74
uint32_t m_u32Edge;
75
76
bool
m_bMakeCrosshair;
77
ECrosshairSource m_eCrosshairSource;
78
double
m_f64CrosshairLength;
79
bool
m_bCrosshairDiagonal;
80
};
81
}
82
}
83
84
FLImaging::GUI
Definition
D2DObject.h:12
FLImaging::GUI::EGUIViewImagePenStyle
EGUIViewImagePenStyle
Pen Style in Image View.
Definition
DefinitionsGUI.h:9129
FLImagingCLR::GUI::EAvailableView3DFigureContextMenu::Assign
@ Assign
Set the value of CGUIPropertyItemView3DFigure to the specified figure.
Definition
DefinitionsGUIView3D.h:3531
FLImaging
Generated on
for FLImaging by
1.17.0