// // MPT_FaceView.h // AUCoderDemo // // Created by Andrew Salamon on 5/19/06. // Copyright (c) 2006 Machine Perception Laboratory // University of California San Diego.// #import typedef enum { MPTFace_both = 0, MPTFace_facefinderOnly, MPTFace_modifiedFace } DisplayFaceType; @interface MPT_FaceView : NSImageView { NSImage *origImage; NSArray *faces; NSString *lastDropPath; DisplayFaceType faceType; BOOL overlayOnly; } - (void)resetFaceAndEyes; - (NSImage *)origImage; - (void)setOrigImage:(NSImage *)value; - (NSArray *)faces; - (void)setFaces:(NSArray *)value; - (NSString *)lastDropPath; - (void)setLastDropPath:(NSString *)value; - (DisplayFaceType)faceType; - (void)setFaceType:(DisplayFaceType)value; - (NSRect)imageRect; ///< The rect the image is being displayed in, probably won't be the same as the view frame, may even be outside the frame - (BOOL)overlayOnly; - (void)setOverlayOnly:(BOOL)value; @end