backend.spheremodel
Class SphereParaPointModel
java.lang.Object
java.util.Observable
backend.spheremodel.SphereBasicObject
backend.spheremodel.SpherePointModel
backend.spheremodel.SphereParaPointModel
public class SphereParaPointModel
- extends SpherePointModel
SphereParaPointModel is used as one of the end points in a
SphereParaTransModel
Constructor Summary |
SphereParaPointModel(float x,
float y,
float z,
java.lang.String ptLbl)
This SphereParaPointModel constructor should only be used when reading
them in from a file that is because this ctor does not properly
initialize the SphereParaPointModel on its own you must call the
setTransMod function sometime after you initalize the
SphereParaPointModel to complete the initialization process. |
SphereParaPointModel(javax.vecmath.Point3f loc,
SphereParaTransModel transMod)
Default constructor takes an initial location and SphereParaTransModel |
Methods inherited from class backend.spheremodel.SphereBasicObject |
addChild, getChild, getChildCount, getSelected, isBeingRemoved, isHidden, notifyFamily, removeChild, setBeingRemoved, setHidden, setSelected |
Methods inherited from class java.util.Observable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SphereParaPointModel
public SphereParaPointModel(javax.vecmath.Point3f loc,
SphereParaTransModel transMod)
- Default constructor takes an initial location and SphereParaTransModel
- Parameters:
loc
- the default location for this pointtransMod
- a SphereParaTransModel which this point is a part of
SphereParaPointModel
public SphereParaPointModel(float x,
float y,
float z,
java.lang.String ptLbl)
- This SphereParaPointModel constructor should only be used when reading
them in from a file that is because this ctor does not properly
initialize the SphereParaPointModel on its own you must call the
setTransMod function sometime after you initalize the
SphereParaPointModel to complete the initialization process.
- Parameters:
x
- the x coordinate for the SphereParaPointModely
- the y coordinate for the SphereParaPointModelz
- the z coordinate for the SphereParaPointModelptLbl
- the label for the SphereParaPointModel
setTrans
public void setTrans(SphereParaTransModel newTrans)
- setTrans will set the SphereParaTransModel for this SphereParaPointModel.
Note that this function will only work when the file reading constructor
was also used
- Parameters:
newTrans
- the new SphereParaTransModel.
getTrans
public SphereParaTransModel getTrans()
- getTrans will return the SphereParaTransModel that this point is a part
of
- Returns:
- the sphere paralle transport model (SphereParaTransModel)