public class OffsetCustom extends OffsetAngles
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DELTATIMES_DEFAULT_UNIT
min
|
static java.lang.String |
DELTATIMES_FIELD
deltaTimes
|
static java.lang.String |
STARTTIME_FIELD
startTime
|
static java.lang.String |
XANGLES_DEFAULT_UNIT
deg
|
static java.lang.String |
XANGLES_FIELD
xAngles
|
static java.lang.String |
XRATES_DEFAULT_UNIT
deg/sec
|
static java.lang.String |
XRATES_FIELD
xRates
|
static java.lang.String |
YANGLES_DEFAULT_UNIT
deg
|
static java.lang.String |
YANGLES_FIELD
yAngles
|
static java.lang.String |
YRATES_DEFAULT_UNIT
deg/sec
|
static java.lang.String |
YRATES_FIELD
yRates
|
OFFSETANGLES_TAG, OFFSETANGLES_TYPE_CUSTOM, OFFSETANGLES_TYPE_FIXED, OFFSETANGLES_TYPE_RASTER, OFFSETANGLES_TYPE_SCAN, REF_TAG
Constructor and Description |
---|
OffsetCustom(java.util.Date startTime,
float[] deltaTimes,
float[] xAngles,
float[] xRates,
float[] yAngles,
float[] yRates)
If offsetAngles contains the attribute ref=custom a customised path of offset
angles can be specified by providing rotation angles and rates at certain times.
|
OffsetCustom(java.util.Date startTime,
java.lang.String deltaTimesUnits,
float[] deltaTimes,
java.lang.String xAnglesUnits,
float[] xAngles,
java.lang.String xRatesUnits,
float[] xRates,
java.lang.String yAnglesUnits,
float[] yAngles,
java.lang.String yRatesUnits,
float[] yRates)
If offsetAngles contains the attribute ref=custom a customised path of offset
angles can be specified by providing rotation angles and rates at certain times.
|
OffsetCustom(PointingElement org) |
OffsetCustom(java.lang.String startTime)
If offsetAngles contains the attribute ref=custom a customised path of offset
angles can be specified by providing rotation angles and rates at certain times.
|
OffsetCustom(java.lang.String startTime,
java.lang.String deltaTimes,
java.lang.String xAngles,
java.lang.String xRates,
java.lang.String yAngles,
java.lang.String yRates)
If offsetAngles contains the attribute ref=custom a customised path of offset
angles can be specified by providing rotation angles and rates at certain times.
|
Modifier and Type | Method and Description |
---|---|
OffsetCustom |
copy() |
float[] |
getDeltaTimes() |
float[] |
getDeltaTimes(java.lang.String unit) |
java.lang.String |
getDeltaTimesUnit() |
long |
getDurationMilliSecs()
Get the duration in milliseconds of this offset rotation
|
java.util.Date |
getEndDate() |
java.util.Date |
getStartDate() |
float[] |
getXAngles() |
float[] |
getXAngles(java.lang.String unit) |
java.lang.String |
getXAnglesUnit() |
float[] |
getXRates() |
float[] |
getXRates(java.lang.String unit) |
java.lang.String |
getXRatesUnit() |
float[] |
getYAngles() |
float[] |
getYAngles(java.lang.String unit) |
java.lang.String |
getYAnglesUnit() |
float[] |
getYRates() |
float[] |
getYRates(java.lang.String unit) |
java.lang.String |
getYRatesUnit() |
boolean |
isCustom()
True if this offset rotation is of the type custom.
|
void |
regenerate(PointingElement org) |
void |
setDeltaTimes(float[] deltaTimes) |
void |
setDeltaTimesUnit(java.lang.String unit) |
void |
setStartDate(java.util.Date date) |
void |
setXAngles(float[] xAngles) |
void |
setXAnglesUnit(java.lang.String unit) |
void |
setXRates(float[] xRates) |
void |
setXRatesUnit(java.lang.String unit) |
void |
setYAngles(float[] yAngles) |
void |
setYAnglesUnit(java.lang.String unit) |
void |
setYRates(float[] xAngles) |
void |
setYRatesUnit(java.lang.String unit) |
getStartTime, getUnit, isFixed, isRaster, isScan, setBooleanField, setFloatArrayField, setFloatField, setIntegerField, setStartTime, setStartTime, setStringField, setUnit, stringToFloatArray
addAttribute, addChild, asDataset, copyFrom, equals, getAttribute, getAttributes, getChild, getChildren, getDescription, getFirstLevelTextContent, getName, getValue, hasAttributtes, hasChildren, readFrom, removeAttribute, removeAttribute, setDescription, setValue, toString, toStringParameter, toXml, validate
public static java.lang.String XRATES_FIELD
public static java.lang.String YRATES_FIELD
public static java.lang.String XANGLES_FIELD
public static java.lang.String YANGLES_FIELD
public static java.lang.String DELTATIMES_FIELD
public static java.lang.String STARTTIME_FIELD
public static java.lang.String DELTATIMES_DEFAULT_UNIT
public static java.lang.String XANGLES_DEFAULT_UNIT
public static java.lang.String YANGLES_DEFAULT_UNIT
public static java.lang.String XRATES_DEFAULT_UNIT
public static java.lang.String YRATES_DEFAULT_UNIT
public OffsetCustom(PointingElement org)
public OffsetCustom(java.util.Date startTime, java.lang.String deltaTimesUnits, float[] deltaTimes, java.lang.String xAnglesUnits, float[] xAngles, java.lang.String xRatesUnits, float[] xRates, java.lang.String yAnglesUnits, float[] yAngles, java.lang.String yRatesUnits, float[] yRates) throws java.text.ParseException
startTime
- Start time of the off set rotationdeltaTimesUnits
- The time unit that is used to express the deltatimes (for example min).deltaTimes
- List of delta time. All entries must be positive (because the delta times are cumulative).xAnglesUnits
- The angle unit used to express the xAngles (for example deg)xAngles
- Rotation angles towards the offset-x-axis. The list must be of the same length as deltaTimesxRatesUnits
- The angle rotation speed unit used to express the xRates (for example deg/sec)xRates
- Rotation rate towards the offset-x-axis. The list must be of the same length as deltaTimesyAnglesUnits
- The angle unit used to express the yAngles (for example deg)yAngles
- Rotation angles towards the offset-y-axis. The list must be of the same length as deltaTimesyRatesUnits
- The angle rotation speed unit used to express the yRates (for example deg/sec)yRates
- Rotation rate towards the offset-y-axis. The list must be of the same length as deltaTimesjava.text.ParseException
public OffsetCustom(java.util.Date startTime, float[] deltaTimes, float[] xAngles, float[] xRates, float[] yAngles, float[] yRates) throws java.text.ParseException
startTime
- Start time of the off set rotationdeltaTimes
- List of delta time. All entries must be positive (because the delta times are cumulative). The time unit must be min.xAngles
- Rotation angles towards the offset-x-axis. The list must be of the same length as deltaTimes. The angles must be expressed in deg.xRates
- Rotation rate towards the offset-x-axis. The list must be of the same length as deltaTimes. The speed must be expressed in deg/sec.yAngles
- Rotation angles towards the offset-y-axis. The list must be of the same length as deltaTimes. The angles must be expressed in deg.yRates
- Rotation rate towards the offset-y-axis. The list must be of the same length as deltaTimes. The speed must be expressed in deg/sec.java.text.ParseException
public OffsetCustom(java.lang.String startTime, java.lang.String deltaTimes, java.lang.String xAngles, java.lang.String xRates, java.lang.String yAngles, java.lang.String yRates) throws java.text.ParseException
startTime
- Start time of the off set rotationdeltaTimes
- List of delta time. All entries must be positive (because the delta times are cumulative). The time unit must be min.xAngles
- Rotation angles towards the offset-x-axis. The list must be of the same length as deltaTimes. The angles must be expressed in deg.xRates
- Rotation rate towards the offset-x-axis. The list must be of the same length as deltaTimes. The speed must be expressed in deg/sec.yAngles
- Rotation angles towards the offset-y-axis. The list must be of the same length as deltaTimes. The angles must be expressed in deg.yRates
- Rotation rate towards the offset-y-axis. The list must be of the same length as deltaTimes. The speed must be expressed in deg/sec.java.text.ParseException
public OffsetCustom(java.lang.String startTime) throws java.text.ParseException
startTime
- Start time of the off set rotationjava.text.ParseException
public void regenerate(PointingElement org)
regenerate
in class PointingElement
public float[] getXRates()
public float[] getXRates(java.lang.String unit)
public float[] getYRates()
public float[] getYRates(java.lang.String unit)
public void setXRates(float[] xRates)
public void setYRates(float[] xAngles)
public java.lang.String getXRatesUnit()
public void setXRatesUnit(java.lang.String unit)
public void setYRatesUnit(java.lang.String unit)
public java.lang.String getYRatesUnit()
public void setXAngles(float[] xAngles)
public void setYAngles(float[] yAngles)
public float[] getXAngles()
public float[] getXAngles(java.lang.String unit)
public float[] getYAngles()
public float[] getYAngles(java.lang.String unit)
public java.lang.String getXAnglesUnit()
public java.lang.String getYAnglesUnit()
public void setXAnglesUnit(java.lang.String unit)
public void setYAnglesUnit(java.lang.String unit)
public void setDeltaTimes(float[] deltaTimes)
public float[] getDeltaTimes()
public float[] getDeltaTimes(java.lang.String unit)
public void setDeltaTimesUnit(java.lang.String unit)
public java.lang.String getDeltaTimesUnit()
public void setStartDate(java.util.Date date)
public java.util.Date getStartDate()
public long getDurationMilliSecs()
OffsetAngles
getDurationMilliSecs
in class OffsetAngles
public java.util.Date getEndDate()
public boolean isCustom()
OffsetAngles
isCustom
in class OffsetAngles
public OffsetCustom copy()
copy
in class OffsetAngles