com.yobotics.simulationconstructionset
Class DataBufferEntry

java.lang.Object
  extended by com.yobotics.simulationconstructionset.DataBufferEntry

public class DataBufferEntry
extends java.lang.Object


Constructor Summary
DataBufferEntry(YoVariable variable, int nPoints)
           
 
Method Summary
 boolean checkIfDataIsEqual(DataBufferEntry entry2, int inPoint, int outPoint, double epsilon)
           
 void enableAutoScale(boolean autoScale)
           
 double[] getData()
           
 double getManualMaxScaling()
           
 double getManualMinScaling()
           
 double getMax()
           
 double getMax(int leftIndex, int rightIndex, int leftPlotIndex, int rightPlotIndex)
           
 double getMin()
           
 double getMin(int leftIndex, int rightIndex, int leftPlotIndex, int rightPlotIndex)
           
 YoVariable getVariable()
           
 boolean isAutoScaleEnabled()
           
 boolean minMaxChanged()
           
 void resetMinMaxChanged()
           
 void setManualScaling(double minScaling, double maxScaling)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataBufferEntry

public DataBufferEntry(YoVariable variable,
                       int nPoints)
Method Detail

getData

public double[] getData()

enableAutoScale

public void enableAutoScale(boolean autoScale)

setManualScaling

public void setManualScaling(double minScaling,
                             double maxScaling)

isAutoScaleEnabled

public boolean isAutoScaleEnabled()

getManualMinScaling

public double getManualMinScaling()

getManualMaxScaling

public double getManualMaxScaling()

getVariable

public YoVariable getVariable()

resetMinMaxChanged

public void resetMinMaxChanged()

minMaxChanged

public boolean minMaxChanged()

getMax

public double getMax()

getMin

public double getMin()

getMax

public double getMax(int leftIndex,
                     int rightIndex,
                     int leftPlotIndex,
                     int rightPlotIndex)

getMin

public double getMin(int leftIndex,
                     int rightIndex,
                     int leftPlotIndex,
                     int rightPlotIndex)

checkIfDataIsEqual

public boolean checkIfDataIsEqual(DataBufferEntry entry2,
                                  int inPoint,
                                  int outPoint,
                                  double epsilon)