de.ukn.hci.squidy.manager.data.impl
Class DataInertial

java.lang.Object
  extended by de.ukn.hci.squidy.manager.data.AbstractData
      extended by de.ukn.hci.squidy.manager.data.impl.DataObject
          extended by de.ukn.hci.squidy.manager.data.impl.DataAnalog
              extended by de.ukn.hci.squidy.manager.data.impl.DataInertial
All Implemented Interfaces:
IData

public class DataInertial
extends DataAnalog

DataInertial.

 Date: Feb 14, 2008
 Time: 9:36:46 PM
 

Version:
$Id: DataInertial.java 81 2009-11-19 22:45:00Z nitsche $$
Author:
Werner Koenig, werner.koenig@uni-konstanz.de, University of Konstanz, Roman Rädle, Roman.Raedle@uni-konstanz.de, University of Konstanz

Nested Class Summary
 
Nested classes/interfaces inherited from interface de.ukn.hci.squidy.manager.data.IData
IData.Type
 
Field Summary
protected  double a
           
protected  double absoluteValue
           
protected  double b
           
protected  double c
           
protected  boolean normalize
           
protected  double raw_a
           
protected  double raw_b
           
protected  double raw_c
           
 
Fields inherited from class de.ukn.hci.squidy.manager.data.impl.DataAnalog
value
 
Fields inherited from class de.ukn.hci.squidy.manager.data.AbstractData
attributes, source, timestamp
 
Constructor Summary
DataInertial()
           
DataInertial(Class<? extends IProcessable<?>> source, double raw_a, double raw_b, double raw_c, boolean normalize)
           
 
Method Summary
 void deserialize(Object[] serial)
           
 double getAbsoluteValue()
           
 DataInertial getClone()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 Object[] serialize()
           
 String toString()
           
 
Methods inherited from class de.ukn.hci.squidy.manager.data.impl.DataAnalog
getValue, setValue
 
Methods inherited from class de.ukn.hci.squidy.manager.data.AbstractData
acceptVisitor, dismissVisitor, getAttribute, getSource, getTimestamp, hasAttribute, notifyVisitors, setAttribute, setTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

raw_a

protected double raw_a

raw_b

protected double raw_b

raw_c

protected double raw_c

a

protected double a

b

protected double b

c

protected double c

absoluteValue

protected double absoluteValue

normalize

protected boolean normalize
Constructor Detail

DataInertial

public DataInertial()

DataInertial

public DataInertial(Class<? extends IProcessable<?>> source,
                    double raw_a,
                    double raw_b,
                    double raw_c,
                    boolean normalize)
Method Detail

getX

public double getX()
Returns:

getY

public double getY()
Returns:

getZ

public double getZ()
Returns:

getAbsoluteValue

public double getAbsoluteValue()
Returns:

getClone

public DataInertial getClone()
Specified by:
getClone in interface IData
Overrides:
getClone in class DataAnalog

deserialize

public void deserialize(Object[] serial)
Specified by:
deserialize in interface IData
Overrides:
deserialize in class DataAnalog

serialize

public Object[] serialize()
Specified by:
serialize in interface IData
Overrides:
serialize in class DataAnalog

toString

public String toString()
Overrides:
toString in class DataAnalog


Copyright © 2007-2010 Human-Computer-Interaction :: University of Konstanz. All Rights Reserved.