Index

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES

A B C D E F G H I L M N O P R S T V W X Y

## A

alpha1 - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The alpha wave component of an EEG.
alpha2 - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The alpha wave component of an EEG.
attention - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The interpreted attention level (a value between 0 and 100, where 100 indicates high attention).

## B

batteryLevel - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The battery level (a value between 0 and 128, where 128 indicates a full battery).
beta1 - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The beta wave component of an EEG.
beta2 - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The beta wave component of an EEG.
bigEndianBytesToFloat(byte[]) - Static method in class com.NeuroSky.ThinkGear.Util.StreamParser
  Assuming the @c bytes array contains the 4 bytes of an IEEE 754 floating point number in network byte order (big-endian), this function returns the corresponding Java floating point number.

## C

clamp(float, float, float) - Static method in class com.NeuroSky.Util.MathHelper
  Limit a value to between `floor` and `ceiling`.
closeConnection() - Method in class com.NeuroSky.ThinkGear.IO.Connection
  Closes the connection to the ThinkGear headset.
closeConnection() - Method in class com.NeuroSky.ThinkGear.IO.DummyConnection
closeConnection() - Method in class com.NeuroSky.ThinkGear.IO.HeadsetConnection
com.NeuroSky.ThinkGear.IO - package com.NeuroSky.ThinkGear.IO
com.NeuroSky.ThinkGear.Util - package com.NeuroSky.ThinkGear.Util
com.NeuroSky.Util - package com.NeuroSky.Util
Connection - Class in com.NeuroSky.ThinkGear.IO
  This class defines an implementation of the ThinkGear driver.
Connection() - Constructor for class com.NeuroSky.ThinkGear.IO.Connection
cubicBezier(Vector2, Vector2, Vector2, Vector2, float) - Static method in class com.NeuroSky.Util.MathHelper
  Generate a point in a cubic Bezier curve defined by two anchor and two control points, and a parameter.

## D

dampColor(int, float) - Static method in class com.NeuroSky.Util.MathHelper
  Apply a multiplicative factor to each component in a color represented by an integer (0x00RRGGBB).
DataListener - Interface in com.NeuroSky.ThinkGear.Util
dataValueReceived(int, int, int, byte[], Object) - Method in interface com.NeuroSky.ThinkGear.Util.DataListener
delta - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The delta wave component of an EEG (0 to 3 Hz).
DummyConnection - Class in com.NeuroSky.ThinkGear.IO
  This class implements a dummy ThinkGear driver.
DummyConnection() - Constructor for class com.NeuroSky.ThinkGear.IO.DummyConnection

## E

errorRate - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The signal error rate of the headset (a value between 0 and 128, where 128 indicates that the signal is completely bad).
exp(float) - Static method in class com.NeuroSky.Util.MathHelper
  Calculate the value of `e^x` given an input `x`.

## F

flush() - Method in class com.NeuroSky.ThinkGear.IO.Connection
  Flushes data in the output buffer directly to the headset.
flush() - Method in class com.NeuroSky.ThinkGear.IO.DummyConnection
flush() - Method in class com.NeuroSky.ThinkGear.IO.HeadsetConnection

## G

gamma1 - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The gamma wave component of an EEG.
gamma2 - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The gamma wave component of an EEG.

## H

HeadsetConnection - Class in com.NeuroSky.ThinkGear.IO
  This class implements a live ThinkGear driver.
HeadsetConnection() - Constructor for class com.NeuroSky.ThinkGear.IO.HeadsetConnection
HeadsetData - Class in com.NeuroSky.ThinkGear.Util
  This class is a convenience class to store data coming from a ThinkGear EM headset.
HeadsetData() - Constructor for class com.NeuroSky.ThinkGear.Util.HeadsetData
  Class constructor taking no parameters and initializing all instance variables to invalid (negative) values.
HeadsetData(int, int, int, int, float, float, float, float, float, float, float, float) - Constructor for class com.NeuroSky.ThinkGear.Util.HeadsetData
  Class constructor specifying values for each of the instance variables.

## I

isConnected() - Method in class com.NeuroSky.ThinkGear.IO.Connection
  Check whether the driver is connected to a ThinkGear headset.
isConnected() - Method in class com.NeuroSky.ThinkGear.IO.DummyConnection
isConnected() - Method in class com.NeuroSky.ThinkGear.IO.HeadsetConnection
isOffHead() - Method in class com.NeuroSky.ThinkGear.Util.HeadsetData
  Check whether the headset is off the head.

## L

length() - Method in class com.NeuroSky.Util.Vector2
lerp(float, float, float) - Static method in class com.NeuroSky.Util.MathHelper
  Linearly interpolate a value between the current value and target value.
lerpColor(int, int, float) - Static method in class com.NeuroSky.Util.MathHelper
  Linearly interpolate between two colors.
log(float) - Static method in class com.NeuroSky.Util.MathHelper
  Calculate the natural log of an input `x`, i.e.

## M

MathHelper - Class in com.NeuroSky.Util
  This class implements a bunch of utility functions to perform various transformation and computational operations.
MathHelper() - Constructor for class com.NeuroSky.Util.MathHelper
meditation - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The interpreted meditation level (a value between 0 and 100, where 100 indicates high meditation).

## N

normalize() - Method in class com.NeuroSky.Util.Vector2
normalizeValue(float) - Static method in class com.NeuroSky.Util.MathHelper
  Perform a custom normalization procedure on a value, involving applying a natural logarithm, then scaling the number to a range between 0 and 1.

## O

openConnection(String) - Method in class com.NeuroSky.ThinkGear.IO.Connection
  Open a connection to the ThinkGear headset using a unique device identifier.
openConnection(String, int) - Method in class com.NeuroSky.ThinkGear.IO.Connection
  Open a connection to the ThinkGear headset using a unique device identifier and a channel number.
openConnection(String, int) - Method in class com.NeuroSky.ThinkGear.IO.DummyConnection
openConnection(String) - Method in class com.NeuroSky.ThinkGear.IO.DummyConnection
openConnection(String, int) - Method in class com.NeuroSky.ThinkGear.IO.HeadsetConnection
openConnection(String) - Method in class com.NeuroSky.ThinkGear.IO.HeadsetConnection

## P

parseByte(int) - Method in class com.NeuroSky.ThinkGear.Util.StreamParser
  Parses the byte @b as part of a ThinkGear data stream.
PARSER_CODE_8BIT_RAW - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_CODE_ATTENTION - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_CODE_BATTERY - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_CODE_EEG_POWERS - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_CODE_MEDITATION - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_CODE_POOR_SIGNAL - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_CODE_RAW - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_CODE_RAW_MARKER - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_TYPE_2BYTERAW - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser
PARSER_TYPE_PACKETS - Static variable in class com.NeuroSky.ThinkGear.Util.StreamParser

## R

read(byte[]) - Method in class com.NeuroSky.ThinkGear.IO.Connection
  Reads data from the headset into a byte array reference passed in as a parameter.
read(byte[]) - Method in class com.NeuroSky.ThinkGear.IO.DummyConnection
read(byte[]) - Method in class com.NeuroSky.ThinkGear.IO.HeadsetConnection
rotate(float, Vector2) - Static method in class com.NeuroSky.Util.MathHelper
  Rotate a point about the origin (0,0) over an angle.

## S

set(Vector2) - Method in class com.NeuroSky.Util.Vector2
set(double, double) - Method in class com.NeuroSky.Util.Vector2
smoothDamp(float, float, float[], int, float, float) - Static method in class com.NeuroSky.Util.MathHelper
  Critically damp a value towards a target value.
StreamParser - Class in com.NeuroSky.ThinkGear.Util
StreamParser(int, DataListener, Object) - Constructor for class com.NeuroSky.ThinkGear.Util.StreamParser
  Constructs a ThinkGear parser object of the given @c parserType, and registers the given @c listener.

## T

theta - Variable in class com.NeuroSky.ThinkGear.Util.HeadsetData
  The theta wave component of an EEG (4 to 7 Hz).
toString() - Method in class com.NeuroSky.ThinkGear.Util.HeadsetData
  Overridden `toString()` method to print out all of the instance variables in a comprehensible manner.
toString() - Method in class com.NeuroSky.Util.Vector2
toStringArray() - Method in class com.NeuroSky.ThinkGear.Util.HeadsetData
  Generate debug output where the different debug strings are tokenized into separate `String[]` elements.

## V

Vector2 - Class in com.NeuroSky.Util
Vector2() - Constructor for class com.NeuroSky.Util.Vector2
Vector2(double, double) - Constructor for class com.NeuroSky.Util.Vector2
Vector2(float, float) - Constructor for class com.NeuroSky.Util.Vector2
Vector2(Vector2) - Constructor for class com.NeuroSky.Util.Vector2

## W

write(int) - Method in class com.NeuroSky.ThinkGear.IO.Connection
  Writes a value to the headset.
write(byte[], int, int) - Method in class com.NeuroSky.ThinkGear.IO.Connection
  Writes a value to the headset.
write(int) - Method in class com.NeuroSky.ThinkGear.IO.DummyConnection
write(byte[], int, int) - Method in class com.NeuroSky.ThinkGear.IO.DummyConnection
write(int) - Method in class com.NeuroSky.ThinkGear.IO.HeadsetConnection
write(byte[], int, int) - Method in class com.NeuroSky.ThinkGear.IO.HeadsetConnection

## X

x - Variable in class com.NeuroSky.Util.Vector2

## Y

y - Variable in class com.NeuroSky.Util.Vector2

A B C D E F G H I L M N O P R S T V W X Y

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV NEXT | FRAMES NO FRAMES