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

Blink data view controller class class. More...

#import <BlinkPredictionViewController.h>

Inherits NSViewController, <CPTPlotAreaDelegate>, <CPTPlotSpaceDelegate>, <CPTPlotDataSource>, and <CPTPlotDelegate>.

Instance Methods

(void) - setParameters:titleSize:
 
(void) - generatePlotInView:
 
(void) - showData:
 
(void) - incomingCalibrationData:
 
(void) - resetGraph
 

Protected Attributes

CGFloat titleSize
 
CGFloat plotMaxTime
 
CPTGraph * graph
 
CPTScatterPlot * blinkDataPlot
 

Properties

IBOutlet CPTGraphHostingView * hostingView
 

Detailed Description

Blink data view controller class class.

This class contains the plot for the blink data.

Author
Benjamin Thiemann
Date
2016/11/16

Method Documentation

◆ generatePlotInView:()

- (void) generatePlotInView: (nonnull NSView *)  view

This method draws the graphs with all it's plots in the given view.

Parameters
viewThe view to draw in.

◆ incomingCalibrationData:()

- (void) incomingCalibrationData: (nonnull id)  sender

This method handles incoming calibraion data.

Parameters
senderThe sending instance.

◆ resetGraph()

- (void) resetGraph

This method resets the graph.

◆ setParameters:titleSize:()

- (void) setParameters: (NSUInteger)  time
titleSize: (NSUInteger)  aTitleSize 

This method sets the given parameters.

Parameters
timeThe maximum time (x axis).
aTitleSizeThe title size.

◆ showData:()

- (void) showData: (nonnull id)  sender

This method shows the data in the plot. Invoked when a data acquisition is completed.

Parameters
senderThe sending instance.

Member Data Documentation

◆ blinkDataPlot

- (CPTScatterPlot*) blinkDataPlot
protected

The blink data plot.

◆ graph

- (CPTGraph*) graph
protected

The grapph.

◆ plotMaxTime

- (CGFloat) plotMaxTime
protected

Maximum plot time (scaling of x axis).

◆ titleSize

- (CGFloat) titleSize
protected

The title size.

Property Documentation

◆ hostingView

- (IBOutlet CPTGraphHostingView*) hostingView
readwritenonatomicstrong

The hosting view for the graph.


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