|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used.
|
| |
Definition at line 3 of file HistogramControl.Designer.cs.
◆ HistogramControl()
| BioImager.HistogramControl.HistogramControl |
( |
Channel | c | ) |
|
Definition at line 24 of file HistogramControl.cs.
25 {
26 channel = c;
27 this.Dock = DockStyle.Fill;
28 InitializeComponent();
29 if (c.BitsPerPixel == 8)
30 {
31 graphMax = 255;
32 Bin = 1;
33 }
34 else
35 {
36 graphMax = ushort.MaxValue;
37 Bin = 10;
38 }
39
40 }
◆ Dispose()
| override void BioImager.HistogramControl.Dispose |
( |
bool | disposing | ) |
|
|
protected |
Clean up any resources being used.
- Parameters
-
| disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 14 of file HistogramControl.Designer.cs.
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
◆ UpdateChannel()
| void BioImager.HistogramControl.UpdateChannel |
( |
Channel | c | ) |
|
This function updates the channel variable with the channel that is passed in
- Parameters
-
| Channel | The channel to update |
Definition at line 163 of file HistogramControl.cs.
164 {
165 channel = c;
166 }
◆ UpdateView()
| void BioImager.HistogramControl.UpdateView |
( |
| ) |
|
This function is called when the view needs to be updated
Definition at line 168 of file HistogramControl.cs.
169 {
170 this.Invalidate();
171 }
◆ AxisNumbers
| bool BioImager.HistogramControl.AxisNumbers |
|
getset |
Definition at line 141 of file HistogramControl.cs.
142 {
143 get { return axisNumbers;}
144 set { axisNumbers = value; }
145 }
◆ AxisTicks
| bool BioImager.HistogramControl.AxisTicks |
|
getset |
Definition at line 149 of file HistogramControl.cs.
150 {
151 get { return axisTicks; }
152 set { axisTicks = value; }
153 }
◆ Bin
| float BioImager.HistogramControl.Bin |
|
getset |
Definition at line 44 of file HistogramControl.cs.
45 {
46 get
47 {
48 return bin;
49 }
50 set
51 {
52 bin = value;
53 }
54 }
◆ GraphMax
| int BioImager.HistogramControl.GraphMax |
|
getset |
Definition at line 81 of file HistogramControl.cs.
82 {
83 get { return graphMax; }
84 set { graphMax = value; }
85 }
◆ GraphMin
| int BioImager.HistogramControl.GraphMin |
|
getset |
Definition at line 88 of file HistogramControl.cs.
89 {
90 get { return graphMin; }
91 set { graphMin = value; }
92 }
◆ Max
| float BioImager.HistogramControl.Max |
|
getset |
Definition at line 69 of file HistogramControl.cs.
70 {
71 get { return max; }
72 set
73 {
74 if (channel != null)
75 channel.range[App.channelsTool.SelectedSample].Max = (int)value;
76 max = (int)value;
77 }
78 }
◆ Min
| float BioImager.HistogramControl.Min |
|
getset |
Definition at line 57 of file HistogramControl.cs.
58 {
59 get { return min; }
60 set
61 {
62 if(channel!=null)
63 channel.range[App.channelsTool.SelectedSample].Min = (int)value;
64 min = (int)value;
65 }
66 }
◆ MouseValX
| float BioImager.HistogramControl.MouseValX |
|
get |
◆ MouseValY
| float BioImager.HistogramControl.MouseValY |
|
get |
◆ MouseX
| int BioImager.HistogramControl.MouseX |
|
get |
◆ MouseY
| int BioImager.HistogramControl.MouseY |
|
get |
◆ StackHistogram
| bool BioImager.HistogramControl.StackHistogram |
|
getset |
Definition at line 95 of file HistogramControl.cs.
96 {
97 get
98 {
99 return stackHistogram;
100 }
101 set
102 {
103 stackHistogram = value;
104 }
105 }
The documentation for this class was generated from the following files: