// // MPT_AUView.h // AUCoderDemo // // Created by Andrew Salamon on 5/17/06. // Copyright (c) 2006 Machine Perception Laboratory // University of California San Diego. // #import @interface MPT_AUView : NSView { int AU; NSString *AUString; NSString *AUDisplayString; float min; float max; float defaultMin; float defaultMax; NSMutableArray *values; unsigned int count; // how many values to display at once BOOL noValue; BOOL enabled; BOOL clearValues; // Clear values before adding a new one } + (NSRect)defaultFrame; - (int)AU; - (void)setAU:(int)value; - (NSString *)AUString; - (void)setAUString:(NSString *)value; - (float)defaultMin; - (void)setDefaultMin:(float)value; - (float)defaultMax; - (void)setDefaultMax:(float)value; - (float)min; - (void)setMin:(float)value; - (float)max; - (void)setMax:(float)value; - (void)resetDynamicRange; ///< Reset min and max to default values. - (void)addValue:(float)value; - (void)addNoValue; //< Missed face, for example //- (void)clearValue; - (unsigned int)count; - (void)setCount:(unsigned int)newCount; - (BOOL)isEnabled; - (void)setEnabled:(BOOL)value; @end