|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.chart.j3d.gui.SOCRBinned2DData
public class SOCRBinned2DData
A trivial implementation of Binned2DData for test purposes
Field Summary | |
---|---|
protected float[][] |
data
|
protected org.freehep.j3d.plot.Rainbow |
rainbow
|
protected boolean |
rangeZFound
|
protected int |
xBins
|
protected int |
yBins
|
protected float |
zMax
|
protected float |
zMin
|
Constructor Summary | |
---|---|
SOCRBinned2DData()
|
|
SOCRBinned2DData(java.net.URL fileUrl)
|
|
SOCRBinned2DData(java.net.URL base,
java.lang.String fileName)
|
Method Summary | |
---|---|
javax.vecmath.Color3b |
colorAt(int xIndex,
int yIndex)
Get the Color at the specified bin |
protected void |
findZRange()
|
void |
getDataFromJTable(javax.swing.JTable dataTable)
|
protected void |
loadBinSizes()
|
protected void |
loadBinSizes(java.io.BufferedReader in)
|
protected void |
loadBinSizes(int xDefault,
int yDefault)
|
void |
loadDataFloat(java.io.BufferedReader in)
|
void |
loadDataFloat(java.io.FileInputStream fin)
|
void |
loadDataFloat(java.net.URL fileUrl)
|
void |
loadDataFloat(java.net.URL base,
java.lang.String fileName)
|
void |
setDataAt(float value,
int xIndex,
int yIndex)
|
int |
xBins()
Number of bins on the X axis |
float |
xMax()
Axis maximum on the X Axis |
float |
xMin()
Axis minimum on the X Axis |
int |
yBins()
Number of bins on the Y axis |
float |
yMax()
Axis maximum on the Y Axis |
float |
yMin()
Axis minimum on the Y Axis |
float |
zAt(int xIndex,
int yIndex)
Get Z value at the specified bin |
float |
zMax()
Maximum data value on the Z Axis |
float |
zMin()
Minimum data value on the Z Axis |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int xBins
protected int yBins
protected org.freehep.j3d.plot.Rainbow rainbow
protected float[][] data
protected float zMin
protected float zMax
protected boolean rangeZFound
Constructor Detail |
---|
public SOCRBinned2DData() throws java.io.IOException
java.io.IOException
public SOCRBinned2DData(java.net.URL base, java.lang.String fileName) throws java.io.IOException
java.io.IOException
public SOCRBinned2DData(java.net.URL fileUrl) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void loadDataFloat(java.net.URL base, java.lang.String fileName) throws java.io.IOException
java.io.IOException
public void loadDataFloat(java.net.URL fileUrl) throws java.io.IOException
java.io.IOException
public void loadDataFloat(java.io.FileInputStream fin) throws java.io.IOException
java.io.IOException
protected void loadBinSizes(java.io.BufferedReader in) throws java.io.IOException
java.io.IOException
protected void loadBinSizes()
protected void loadBinSizes(int xDefault, int yDefault)
public void loadDataFloat(java.io.BufferedReader in) throws java.io.IOException
java.io.IOException
protected void findZRange()
public int xBins()
org.freehep.j3d.plot.Binned2DData
xBins
in interface org.freehep.j3d.plot.Binned2DData
public int yBins()
org.freehep.j3d.plot.Binned2DData
yBins
in interface org.freehep.j3d.plot.Binned2DData
public float xMin()
org.freehep.j3d.plot.Binned2DData
xMin
in interface org.freehep.j3d.plot.Binned2DData
public float xMax()
org.freehep.j3d.plot.Binned2DData
xMax
in interface org.freehep.j3d.plot.Binned2DData
public float yMin()
org.freehep.j3d.plot.Binned2DData
yMin
in interface org.freehep.j3d.plot.Binned2DData
public float yMax()
org.freehep.j3d.plot.Binned2DData
yMax
in interface org.freehep.j3d.plot.Binned2DData
public float zMin()
org.freehep.j3d.plot.Binned2DData
zMin
in interface org.freehep.j3d.plot.Binned2DData
public float zMax()
org.freehep.j3d.plot.Binned2DData
zMax
in interface org.freehep.j3d.plot.Binned2DData
public float zAt(int xIndex, int yIndex)
org.freehep.j3d.plot.Binned2DData
zAt
in interface org.freehep.j3d.plot.Binned2DData
public javax.vecmath.Color3b colorAt(int xIndex, int yIndex)
org.freehep.j3d.plot.Binned2DData
colorAt
in interface org.freehep.j3d.plot.Binned2DData
public void getDataFromJTable(javax.swing.JTable dataTable)
public void setDataAt(float value, int xIndex, int yIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |