backend.spheremodel
Class SphereParaPointModel

java.lang.Object
  extended by java.util.Observable
      extended by backend.spheremodel.SphereBasicObject
          extended by backend.spheremodel.SpherePointModel
              extended by 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
 
Method Summary
 SphereParaTransModel getTrans()
          getTrans will return the SphereParaTransModel that this point is a part of
 void setTrans(SphereParaTransModel newTrans)
          setTrans will set the SphereParaTransModel for this SphereParaPointModel.
 
Methods inherited from class backend.spheremodel.SpherePointModel
equals, getID, getLabel, getPoint, setLabel, setLocation
 
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
 

Constructor Detail

SphereParaPointModel

public SphereParaPointModel(javax.vecmath.Point3f loc,
                            SphereParaTransModel transMod)
Default constructor takes an initial location and SphereParaTransModel

Parameters:
loc - the default location for this point
transMod - 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 SphereParaPointModel
y - the y coordinate for the SphereParaPointModel
z - the z coordinate for the SphereParaPointModel
ptLbl - the label for the SphereParaPointModel
Method Detail

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)