// // MPT_GKRPlugin.h // MPT_GKR // // Created by Andrew Salamon on 8/27/08. // Copyright 2008 Machine Perception Laboratory, University of California San Diego.. All rights reserved. // #import #import #import #import "GKR_Models.h" @interface MPT_GKRPlugin : MPT_PluginBase { IBOutlet NSView *prefView; BOOL GKR; BOOL logistic; BOOL CKF; BOOL training; BOOL saving; // Need to ignore incoming dating while we're trying to save trained models. // NSString *targetID; ///< Plugin ID of the SVM plugin that GKR will be working on. // NSString *poseID; ///< Plugin ID of the Pose Detector plugin. NSArray *targetLabels; GKR::Models *models; } - (IBAction)startTraining:(id)sender; - (IBAction)stopTraining:(id)sender; - (IBAction)chooseModelPath:(id)sender; - (BOOL)GKR; - (void)setGKR:(BOOL)value; - (BOOL)logistic; - (void)setLogistic:(BOOL)value; - (BOOL)CKF; - (void)setCKF:(BOOL)value; - (BOOL)training; - (void)setTraining:(BOOL)value; - (NSString *)targetID; - (void)setTargetID:(NSString *)value; - (NSString *)poseID; - (void)setPoseID:(NSString *)value; - (NSString *)modelPath; - (void)setModelPath:(NSString *)value; @end