|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpl.mipl.mars.rmc.util.RmcElement jpl.mipl.mars.rmc.util.Derivation
public class Derivation
Purpose: Implementation of Derivation tag from RMC file.
Copyright 2003, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledge. 2003.============================================================================ Modification History : ---------------------- Date Who What ---------------------------------------------------------------------------- 06/06/2003 Nick Initial Release ============================================================================
Constructor Summary | |
---|---|
Derivation()
Default constructor. |
|
Derivation(Element node)
Constructor. |
|
Derivation(String id,
String referenceFrameName,
List referenceFrameIndices,
String[] offset,
String[] orienatation)
Constructor. |
Method Summary | |
---|---|
String |
getId()
Returns the id of the derivation. |
String[] |
getOffset()
Returns the offset of the derivation. |
String |
getOffsetX()
Returns the x-offset of the derivation. |
String |
getOffsetY()
Returns the y-offset of the derivation. |
String |
getOffsetZ()
Returns the z-offset of the derivation. |
String[] |
getOrientation()
Returns the orientation of the derivation. |
String |
getOrientationS()
Returns the s quaternion position of the derivation. |
String |
getOrientationV1()
Returns the v1 quaternion position of the derivation. |
String |
getOrientationV2()
Returns the v2 quaternion position of the derivation. |
String |
getOrientationV3()
Returns the v3 quaternion position of the derivation. |
List |
getReferenceFrameIndices()
Returns the reference frame RMC of the derivation. |
int |
getReferenceFrameIndicesSize()
Return the number of reference frame indices specified for this derivation RMC |
String |
getReferenceFrameName()
Returns the reference frame name of the derivation. |
boolean |
offsetIsDefined()
Predicate test for offset |
boolean |
orientationIsDefined()
Predicate test for orientation |
boolean |
referenceFrameIsDefined()
Predicate test for reference frmae |
void |
setId(String id)
Sets the id of the derivation. |
void |
setOffset(String[] offset)
Sets the offset of the derivation. |
void |
setOffsetX(String offsetX)
Sets the x-offset of the derivation. |
void |
setOffsetY(String offsetY)
Sets the y-offset of the derivation. |
void |
setOffsetZ(String offsetZ)
Sets the z-offset of the derivation. |
void |
setOrientation(String[] orientation)
Sets the orientation of the derivation. |
void |
setOrientationS(String orientationS)
Sets the s quaternion position of the derivation. |
void |
setOrientationV1(String orientationV1)
Sets the v1 quaternion position of the derivation. |
void |
setOrientationV2(String orientationV2)
Sets the v2 quaternion position of the derivation. |
void |
setOrientationV3(String orientationV3)
Sets the v3 quaternion position of the derivation. |
void |
setReferenceFrameIndices(List referenceFrameIndices)
Sets the name of the derivation. |
void |
setReferenceFrameName(String referenceFrameName)
Sets the reference frame name of the derivation. |
Element |
toDOM()
Returns a DOM tree structure of a Derivation element including nested elements. |
String |
toXML()
Returns an XML-formatted string of this object. |
Methods inherited from class jpl.mipl.mars.rmc.util.RmcElement |
---|
compareTo, createEmptyDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Derivation()
public Derivation(String id, String referenceFrameName, List referenceFrameIndices, String[] offset, String[] orienatation)
id
- Id of the derivationreferenceFrameName
- Reference frame name of the derivationreferenceFrameIndices
- Reference frame RMC of the derivationoffset
- Offset of the derivationorientation
- Orientation of the derivationpublic Derivation(Element node)
node
- DOM Element of type DerivationMethod Detail |
---|
public void setId(String id)
id
- Id of the derivationpublic void setReferenceFrameName(String referenceFrameName)
referenceFrameName
- Reference frame name of the derivationpublic void setReferenceFrameIndices(List referenceFrameIndices)
name
- Name of the derivationpublic void setOrientation(String[] orientation)
offset
- String array of length 4 of the orientation of the derivationpublic void setOffset(String[] offset)
offset
- String array of length 3 of the offset of the derivationpublic String getId()
public String getReferenceFrameName()
public List getReferenceFrameIndices()
public int getReferenceFrameIndicesSize()
public String[] getOffset()
public String[] getOrientation()
public String getOrientationS()
public void setOrientationS(String orientationS)
orientationS
- S-quaternion position of the derivationpublic String getOrientationV1()
public void setOrientationV1(String orientationV1)
orientationV1
- V1-quaternion position of the derivationpublic String getOrientationV2()
public void setOrientationV2(String orientationV2)
orientationV2
- V2-quaternion position of the derivationpublic String getOrientationV3()
public void setOrientationV3(String orientationV3)
orientationV3
- V3-quaternion position of the derivationpublic String getOffsetX()
public void setOffsetX(String offsetX)
offsetX
- X-offset of the derivationpublic String getOffsetY()
public void setOffsetY(String offsetY)
offsetY
- Y-offset of the derivationpublic String getOffsetZ()
public void setOffsetZ(String offsetZ)
offsetZ
- Z-offset of the derivationpublic boolean offsetIsDefined()
public boolean orientationIsDefined()
public boolean referenceFrameIsDefined()
public String toXML()
toXML
in class RmcElement
public Element toDOM()
toDOM
in class RmcElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |