eyeDrops  v2.3
A new approach to detecting eye blinks.
Instance Methods | Properties | List of all members
CalibrationWindowController Class Reference

The calibration window (controller). More...

#import <CalibrationWindowController.h>

Inherits NSWindowController.

Instance Methods

(id) - init
 
(void) - setNegativeThreshold:
 
(void) - setPositiveThreshold:
 

Properties

IBOutlet SensorDataViewControllersensorDataViewController
 
IBOutlet BlinkPredictionViewControllerblinkPredictionViewController
 
IBOutlet NSButton * cancelButton
 
IBOutlet NSButton * testCalibrationButton
 
IBOutlet NSButton * startCalibrationButton
 
IBOutlet NSButton * saveProfileButton
 
NSNumber * negativeThreshold
 
NSNumber * positiveThreshold
 
float hysteresis
 
float minValue
 
float maxValue
 
float minFall
 
float maxFall
 
float minRise
 
float maxRise
 
float riseTimeRangeMin
 
float riseTimeRangeMax
 
float eyeClosedTime
 
BOOL positiveThresholdSet
 
BOOL negativeThresholdSet
 
BOOL immediateUse
 
NSInteger state
 
NSString * profileName
 
IBOutlet NSTextField * positiveThresholdTextField
 
IBOutlet NSTextField * negativeThresholdTextField
 
IBOutlet NSView * immediateUseCheckbox
 

Detailed Description

The calibration window (controller).

This class represents the calibration window where all the calibration takes place. From here a test or normal calibration is started, the corresponding data from the RFDuino will be plotted and afterwards calibration parameters can be set or changed. Finally a user profile can be created with the just collected calibration data.

Author
Benjamin Thiemann
Date
2017/02/07

Method Documentation

◆ init()

- (id) init

Initialization method.

◆ setNegativeThreshold:()

- (void) setNegativeThreshold: (NSNumber*)  negativeThreshold

This method sets the negative threshold.

Parameters
negativeThresholdThe value to set.

◆ setPositiveThreshold:()

- (void) setPositiveThreshold: (NSNumber*)  positiveThreshold

This method sets the positive threshold.

Parameters
positiveThresholdThe value to set.

Property Documentation

◆ blinkPredictionViewController

- (IBOutlet BlinkPredictionViewController*) blinkPredictionViewController
readwriteatomic

◆ cancelButton

- (IBOutlet NSButton*) cancelButton
readwriteatomic

The left button to cancel the calibration and close the sheet.

◆ eyeClosedTime

- (float) eyeClosedTime
readwriteatomic

Bindings reference for eye closed time.

◆ hysteresis

- (float) hysteresis
readwriteatomic

Bindings reference for hysteresis.

◆ immediateUse

- (BOOL) immediateUse
readwriteatomic

Boolean value that indicates whether the newly created profile is being used immediately.

◆ immediateUseCheckbox

- (IBOutlet NSView*) immediateUseCheckbox
readwriteatomicweak

The checkbox to selecct immediateUse.

◆ maxFall

- (float) maxFall
readwriteatomic

Bindings reference for max fall time.

◆ maxRise

- (float) maxRise
readwriteatomic

Bindings reference for max rise time.

◆ maxValue

- (float) maxValue
readwriteatomic

Bindings reference for max value.

◆ minFall

- (float) minFall
readwriteatomic

Bindings reference for min fall time.

◆ minRise

- (float) minRise
readwriteatomic

Bindings reference for min rise time.

◆ minValue

- (float) minValue
readwriteatomic

Bindings reference for min value.

◆ negativeThreshold

- (NSNumber*) negativeThreshold
readwritenonatomicassign

Bindings reference for negative threshold. (NSNumber in order to be able to present placeholder string if number is not set yet, i.e. nil).

◆ negativeThresholdSet

- (BOOL) negativeThresholdSet
readwriteatomic

Boolean value that indicates whether the negative threshold has been set.

◆ negativeThresholdTextField

- (IBOutlet NSTextField*) negativeThresholdTextField
readwriteatomic

The textfield displaying the negative threshold.

◆ positiveThreshold

- (NSNumber*) positiveThreshold
readwritenonatomicassign

Bindings reference for positive threshold. (NSNumber in order to be able to present placeholder string if number is not set yet, i.e. nil).

◆ positiveThresholdSet

- (BOOL) positiveThresholdSet
readwriteatomic

Boolean value that indicates whether the positive threshold has been set.

◆ positiveThresholdTextField

- (IBOutlet NSTextField*) positiveThresholdTextField
readwriteatomic

The textfield displaying the positive threshold.

◆ profileName

- (NSString*) profileName
readwriteatomic

The name the new profile is going to have.

◆ riseTimeRangeMax

- (float) riseTimeRangeMax
readwriteatomic

Bindings reference for max total time.

◆ riseTimeRangeMin

- (float) riseTimeRangeMin
readwriteatomic

Bindings reference for min total time.

◆ saveProfileButton

- (IBOutlet NSButton*) saveProfileButton
readwriteatomic

The save profile button.

◆ sensorDataViewController

- (IBOutlet SensorDataViewController*) sensorDataViewController
readwriteatomic

The SemsorDataViewController.

◆ startCalibrationButton

- (IBOutlet NSButton*) startCalibrationButton
readwriteatomic

The right button to start the calibration.

◆ state

- (NSInteger) state
readwriteatomic

The state the window is in.

◆ testCalibrationButton

- (IBOutlet NSButton*) testCalibrationButton
readwriteatomic

The middle button to test the calibration.


The documentation for this class was generated from the following files: