|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--gov.noaa.pmel.sgt.demo.TestData
Create SGTData objects containing test data.
These objects can be used for
graphics and analysis testing purposes.
| Field Summary | |
static int |
LOG_LOG
create log-log line |
static int |
PROFILE
create profile data |
static int |
RANDOM
create random data |
static int |
SINE
create sine wave |
static int |
SINE_RAMP
create sine wave with a ramp |
static int |
TIME_SERIES
create time series data |
static int |
X_SERIES
create longitude track data |
static int |
XY_GRID
create X-Y grid |
static int |
XZ_GRID
create X-Y grid |
static int |
Y_SERIES
create latitude track data |
static int |
YZ_GRID
create X-Y grid |
static int |
ZT_GRID
create Z-T grid |
| Constructor Summary | |
TestData()
Create default test data. |
|
TestData(int dir,
Range2D range,
int type,
float amp,
float off,
float per)
Create one-dimensional spatial test data. |
|
TestData(int dir,
Range2D range1,
Range2D range2,
int type,
float amp,
float off,
float per)
Create two-dimensional spatial test data. |
|
TestData(int dir,
Range2D range,
TimeRange trange,
float delta,
int type,
float amp,
float off,
float per)
Create time series test grid data. |
|
TestData(int dir,
TimeRange range,
float delta,
int type,
float amp,
float off,
float per)
Create time series test data. |
|
TestData(Range2D xrnge,
Range2D yrnge,
int num)
Create a Collection of points. |
|
| Method Summary | |
Collection |
getCollection()
Get the Collection of points created with the point constructor. |
SGTData |
getSGTData()
Get a SGTGrid or SGTLine object depending on type of constructor used. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int PROFILE
public static final int X_SERIES
public static final int Y_SERIES
public static final int TIME_SERIES
public static final int XY_GRID
public static final int XZ_GRID
public static final int YZ_GRID
public static final int ZT_GRID
public static final int LOG_LOG
public static final int SINE
public static final int RANDOM
public static final int SINE_RAMP
| Constructor Detail |
public TestData()
public TestData(int dir,
Range2D range,
int type,
float amp,
float off,
float per)
dir - direction of test data, TestData.X_SERIES,
TestData.Y_SERIES, TestData.PROFILE, TestData.LOG_LOGrange - minimum and maximum overwhich to createtype - type of series, TestData.SINE or TestData.RANDOMamp - amplitudeoff - offsetper - periodPROFILE,
X_SERIES,
Y_SERIES,
LOG_LOG,
SINE,
RANDOM
public TestData(int dir,
Range2D range1,
Range2D range2,
int type,
float amp,
float off,
float per)
dir - direction of test data, TestData.XY_GRID, TestData.XZ_GRID, TestData.YZ_GRIDrange1 - minimum and maximum overwhich to create for first axisrange2 - minimum and maximum overwhich to create for second axistype - type of series, TestData.SINE or TestData.RANDOMamp - amplitudeoff - offsetper - periodPROFILE,
X_SERIES,
Y_SERIES,
SINE,
RANDOM
public TestData(int dir,
TimeRange range,
float delta,
int type,
float amp,
float off,
float per)
dir - direction of test data, TestData.TIME_SERIESrange - minimum and maximum overwhich to createdelta - space between points in daystype - type of series, TestData.SINE or TestData.RANDOMamp - amplitudeoff - offsetper - periodPROFILE,
X_SERIES,
Y_SERIES,
SINE,
RANDOM
public TestData(int dir,
Range2D range,
TimeRange trange,
float delta,
int type,
float amp,
float off,
float per)
dir - direction of test data, TestData.ZT_SERIESrange - minimum and maximum for space axistrange - minimum and maximum overwhich to createdelta - space between points in daystype - type of series, TestData.SINE or TestData.RANDOMamp - amplitudeoff - offsetper - periodPROFILE,
X_SERIES,
Y_SERIES,
SINE,
RANDOM
public TestData(Range2D xrnge,
Range2D yrnge,
int num)
xrnge - range of values in xyrnge - range of values in ynum - number of values to create| Method Detail |
public Collection getCollection()
public SGTData getSGTData()
|
SGT Home | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||