When the OK button is clicked this function updates the entire PFSettings class with the user supplied values.
273 for (std::size_t propidx = 0; propidx < numProps; ++propidx)
275 CMFCPropertyGridProperty* currentProp =
m_wndPropList.GetProperty(propidx);
276 CString currentName = currentProp->GetName();
286 std::size_t subItemsCnt = currentProp->GetSubItemsCount();
288 CMFCPropertyGridProperty* subItemProp;
289 for ( std::size_t subIdx = 0; subIdx < subItemsCnt; ++subIdx)
291 subItemProp = currentProp->GetSubItem(subIdx);
292 CString subItemName = subItemProp->GetName();
296 std::size_t subSubItemCnt = subItemProp->GetSubItemsCount();
298 for (std::size_t subSubIdx = 0; subSubIdx < subSubItemCnt; ++subSubIdx)
305 std::size_t subSubItemCnt = subItemProp->GetSubItemsCount();
307 for (std::size_t subSubIdx = 0; subSubIdx < subSubItemCnt; ++subSubIdx)
369 std::size_t subItemsCnt = currentProp->GetSubItemsCount();
370 CMFCPropertyGridProperty* subItemProp;
371 for ( std::size_t subIdx = 0; subIdx < subItemsCnt; ++subIdx)
373 subItemProp = currentProp->GetSubItem(subIdx);
374 CString subItemName = subItemProp->GetName();
386 std::size_t subSubItemsCnt = subItemProp->GetSubItemsCount();
496 std::size_t subItemsCnt = currentProp->GetSubItemsCount();
497 CMFCPropertyGridProperty* subItemProp;
498 for ( std::size_t subIdx = 0; subIdx < subItemsCnt; ++subIdx)
500 subItemProp = currentProp->GetSubItem(subIdx);
501 CString subItemName = subItemProp->GetName();
528 std::size_t subItemsCnt = currentProp->GetSubItemsCount();
529 CMFCPropertyGridProperty* subItemProp;
531 for ( std::size_t subIdx = 0; subIdx < subItemsCnt; ++subIdx)
533 subItemProp = currentProp->GetSubItem(subIdx);
534 CString subItemName = subItemProp->GetName();
CPassFailSettings PFSettings
Definition: PassFail.h:49
T min_val
The value for the min variable.
Definition: PassFailSettings.h:61
CString name
The name to be displayed for this assembly of variables.
Definition: PassFailSettings.h:184
entry< double > Chart_radial_pixel_shift_max
Definition: PassFailSettings.h:119
entry< double > Secondary_readout_2_outer_min_min
Definition: PassFailSettings.h:138
vecEntry< long > Blemish_maximum_count
Definition: PassFailSettings.h:154
T value
the value of the pass/fail variable
Definition: PassFailSettings.h:33
entry< double > Secondary_readout_2_outer_quadrant_delta_max
Definition: PassFailSettings.h:139
entry< long > R_improve_V_dB_min
Definition: PassFailSettings.h:181
entry< long > All_Edge_IDs_detected
Definition: PassFailSettings.h:116
entry< double > Secondary_readout_1_center_mean_min
Definition: PassFailSettings.h:131
OtherPassFail other
Definition: PassFailSettings.h:213
entry< double > Secondary_readout_2_outer_mean_min
Definition: PassFailSettings.h:137
entry< double > Secondary_readout_2_center_mean_min
Definition: PassFailSettings.h:136
entry< long > Dead_pixels_max
Definition: PassFailSettings.h:157
CString group_name
The name to be displayed for the collection.
Definition: PassFailSettings.h:84
entry< double > Rotation_degrees_max
Definition: PassFailSettings.h:130
std::vector< T > value
A vector containing all the values of the variable.
Definition: PassFailSettings.h:90
entry< long > Horizontal_bars_OK_min
Definition: PassFailSettings.h:124
entry< double > Secondary_readout_2_outer_quadrant_mean_min_min
Definition: PassFailSettings.h:140
entry< double > Optical_center_offset_max
Definition: PassFailSettings.h:161
entry< long > Dead_pixel_clusters_max
Definition: PassFailSettings.h:156
entry< long > Mirrored_chart
Definition: PassFailSettings.h:126
CString group_name
The overall name for the pair.
Definition: PassFailSettings.h:54
std::vector< entry< CString > > ent_vec
Definition: PassFailSettings.h:193
entry< long > L_MTF50_delta2_gain_summary_all_dB_min
Definition: PassFailSettings.h:179
Blemish blemish
Definition: PassFailSettings.h:211
entry< double > Low_pixel_saturation_fraction_max
Definition: PassFailSettings.h:125
entry< long > R_improve_H_dB_min
Definition: PassFailSettings.h:180
entry< long > Hot_pixels_max
Definition: PassFailSettings.h:160
entry< double > Relative_illumination_corner_diff_pct_max
Definition: PassFailSettings.h:164
entry< double > FOV_degrees_diagonal_min
Definition: PassFailSettings.h:122
CString name
The name to be displayed for this assembly of variables.
Definition: PassFailSettings.h:169
entry< double > Optical_center_offset_X_max
Definition: PassFailSettings.h:162
entry< CString > passfail_ini_file_date
Definition: PassFailSettings.h:129
entry< double > Secondary_readout_1_outer_quadrant_delta_max
Definition: PassFailSettings.h:134
OISPassFail ois
Definition: PassFailSettings.h:212
T max_val
The value for the max variable.
Definition: PassFailSettings.h:62
entry< long > Color_expected_detected
Definition: PassFailSettings.h:120
CString name
The name to be displayed for this assembly of variables.
Definition: PassFailSettings.h:144
entry< double > MTF50P_CP_weighted_mean_min
Definition: PassFailSettings.h:128
CMFCPropertyGridCtrl m_wndPropList
Definition: PassFail.h:48
vecEntry< long > Blemish_size_pixels
Definition: PassFailSettings.h:155
CString name
the pass/fail variable (or key) name as given in the Imatest documentation
Definition: PassFailSettings.h:31
entry< double > Secondary_readout_1_outer_mean_min
Definition: PassFailSettings.h:132
minMaxEntry< double > Chart_mean_pixel_level_bounds
Definition: PassFailSettings.h:118
entry< long > Stepchart_expected_detected
Definition: PassFailSettings.h:141
entry< long > upside_down
Definition: PassFailSettings.h:142
entry< double > Relative_illumination_worst_corner_pct_min
Definition: PassFailSettings.h:165
entry< double > Convergence_angle_max
Definition: PassFailSettings.h:121
entry< long > Hot_pixel_clusters_max
Definition: PassFailSettings.h:159
entry< double > High_pixel_saturation_fraction_max
Definition: PassFailSettings.h:123
entry< double > Secondary_readout_1_outer_min_min
Definition: PassFailSettings.h:133
entry< double > Uniformity_RoverG_corners_pct_max
Definition: PassFailSettings.h:167
entry< double > Optical_center_offset_Y_max
Definition: PassFailSettings.h:163
entry< long > R_improve_ALL_dB_min
Definition: PassFailSettings.h:182
entry< long > Bayer_decode
Definition: PassFailSettings.h:117
entry< long > Defective_pixels_max_count
Definition: PassFailSettings.h:158
entry< double > Secondary_readout_1_outer_quadrant_mean_min_min
Definition: PassFailSettings.h:135
entry< double > MTF50P_ratio_min
Definition: PassFailSettings.h:127
SFRplusPassFail sfrplus
Definition: PassFailSettings.h:210
entry< double > Uniformity_BoverG_corners_pct_max
Definition: PassFailSettings.h:166
CString name
The name to be displayed for this assembly of variables.
Definition: PassFailSettings.h:195