Changeset 25548
- Timestamp:
- Sep 24, 2009, 2:17:42 PM (17 years ago)
- Location:
- branches/pap/psModules/src/objects
- Files:
-
- 3 edited
-
pmModel.h (modified) (1 diff)
-
pmModelClass.c (modified) (1 diff)
-
pmModelClass.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/psModules/src/objects/pmModel.h
r25521 r25548 83 83 84 84 // This function sets the parameter limits for the given model 85 typedef bool (*pmModelSetLimitsFunc)(pmModelLimits type);85 typedef bool (*pmModelSetLimitsFunc)(pmModelLimitsType type); 86 86 87 87 /** pmModel data structure -
branches/pap/psModules/src/objects/pmModelClass.c
r25521 r25548 168 168 return (models[type].name); 169 169 } 170 171 172 void pmModelClassSetLimits(pmModelLimitsType type) 173 { 174 if (!models) { 175 pmModelClassInit(); 176 } 177 178 for (int i = 0; i < Nmodels; i++) { 179 models[i].modelSetLimits(type); 180 } 181 182 } 183 -
branches/pap/psModules/src/objects/pmModelClass.h
r25521 r25548 28 28 # ifndef PM_MODEL_CLASS_H 29 29 # define PM_MODEL_CLASS_H 30 31 #include <pmModel.h> 30 32 31 33 /// @addtogroup Objects Object Detection / Analysis Functions … … 73 75 pmModelType pmModelClassGetType (const char *name); 74 76 77 /// Set parameter limits for all models 78 void pmModelClassSetLimits(pmModelLimitsType type); 79 80 75 81 /// @} 76 82 # endif /* PM_MODEL_CLASS_H */
Note:
See TracChangeset
for help on using the changeset viewer.
