eyeDrops  v2.3
A new approach to detecting eye blinks.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Pages
SensorDataViewController.h
Go to the documentation of this file.
1 
31 #import <Cocoa/Cocoa.h>
32 #import <CorePlot/CorePlot.h>
33 
44 @interface SensorDataViewController : NSViewController <CPTPlotAreaDelegate, CPTPlotSpaceDelegate, CPTPlotDataSource, CPTScatterPlotDelegate>
45 {
49  CGFloat titleSize;
50 
54  CGFloat plotMaxTime;
55 
59  CPTGraph *graph;
60 
65 
69  CPTScatterPlot *negativeThresholdLine;
70 
75 
79  CPTScatterPlot *positiveThresholdLine;
80 
84  CPTScatterPlot *sensorDataPlot;
85 
89  bool isCalibrating;
90 }
91 
95 @property (strong, nonatomic, nonnull) IBOutlet CPTGraphHostingView *hostingView;
96 
105 - (void)setParameters:(NSUInteger)time titleSize:(NSUInteger)aTitleSize;
106 
113 - (void)generatePlotInView:(nonnull NSView *)view;
114 
121 - (void)showData:(nonnull id)sender;
122 
123 // - (NSUInteger)numberOfRecordsForPlot:(nonnull CPTPlot *)plot;
124 
131 - (void)incomingCalibrationData:(nonnull id)sender;
132 
136 - (void)resetGraph;
137 
138 @end
CPTScatterPlot * negativeThresholdLine
Definition: SensorDataViewController.h:70
CGFloat plotMaxTime
Definition: SensorDataViewController.h:55
Sensor data view controller class class.
Definition: SensorDataViewController.h:44
float positiveThresholdValue
Definition: SensorDataViewController.h:75
CPTGraph * graph
Definition: SensorDataViewController.h:60
bool isCalibrating
Definition: SensorDataViewController.h:90
CGFloat titleSize
Definition: SensorDataViewController.h:50
CPTScatterPlot * sensorDataPlot
Definition: SensorDataViewController.h:85
void resetGraph()
Definition: SensorDataViewController.m:93
float negativeThresholdValue
Definition: SensorDataViewController.h:65
CPTScatterPlot * positiveThresholdLine
Definition: SensorDataViewController.h:80
IBOutlet CPTGraphHostingView * hostingView
Definition: SensorDataViewController.h:96