|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used. More...
|
| |
Definition at line 22 of file HistogramControl.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 155 of file HistogramControl.cs.
156 {
157 channel = c;
158 }
◆ UpdateView()
| void BioImager.HistogramControl.UpdateView |
( |
| ) |
|
This function is called when the view needs to be updated
Definition at line 160 of file HistogramControl.cs.
161 {
162 this.Invalidate();
163 }
◆ AxisNumbers
| bool BioImager.HistogramControl.AxisNumbers |
|
getset |
Definition at line 134 of file HistogramControl.cs.
135 {
136 get { return axisNumbers;}
137 set { axisNumbers = value; }
138 }
◆ AxisTicks
| bool BioImager.HistogramControl.AxisTicks |
|
getset |
Definition at line 141 of file HistogramControl.cs.
142 {
143 get { return axisTicks; }
144 set { axisTicks = value; }
145 }
◆ Bin
| float BioImager.HistogramControl.Bin |
|
getset |
Definition at line 43 of file HistogramControl.cs.
44 {
45 get
46 {
47 return bin;
48 }
49 set
50 {
51 bin = value;
52 }
53 }
◆ GraphMax
| int BioImager.HistogramControl.GraphMax |
|
getset |
Definition at line 77 of file HistogramControl.cs.
78 {
79 get { return graphMax; }
80 set { graphMax = value; }
81 }
◆ GraphMin
| int BioImager.HistogramControl.GraphMin |
|
getset |
Definition at line 83 of file HistogramControl.cs.
84 {
85 get { return graphMin; }
86 set { graphMin = value; }
87 }
◆ Max
| float BioImager.HistogramControl.Max |
|
getset |
Definition at line 66 of file HistogramControl.cs.
67 {
68 get { return max; }
69 set
70 {
71 if (channel != null)
72 channel.range[App.channelsTool.SelectedSample].Max = (int)value;
73 max = (int)value;
74 }
75 }
◆ Min
| float BioImager.HistogramControl.Min |
|
getset |
Definition at line 55 of file HistogramControl.cs.
56 {
57 get { return min; }
58 set
59 {
60 if(channel!=null)
61 channel.range[App.channelsTool.SelectedSample].Min = (int)value;
62 min = (int)value;
63 }
64 }
◆ 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 89 of file HistogramControl.cs.
90 {
91 get
92 {
93 return stackHistogram;
94 }
95 set
96 {
97 stackHistogram = value;
98 }
99 }
The documentation for this class was generated from the following files: