|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgramschmidt.GSDataModel
public class GSDataModel
Class that holds the data (vectors) used in the application. Available data: - initial vectors - orthogonal vectors - normalized orthogonal vectors - projections used in calculations
Constructor Summary | |
---|---|
GSDataModel()
Create a new data model. |
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
Add a ChangeListener. |
void |
fireStateChanged(javax.swing.event.ChangeEvent e)
Notify all ChangeListeners. |
javax.vecmath.Vector3d |
getNormalizedVector(int i)
|
javax.vecmath.Vector3d |
getOrthogonalVector(int i)
|
javax.vecmath.Vector3d |
getProjectedVector(int i)
|
javax.vecmath.Vector3d |
getVector(int i)
|
boolean |
initialize(javax.vecmath.Vector3d v1,
javax.vecmath.Vector3d v2,
javax.vecmath.Vector3d v3)
Initialize the data using the given vectors. |
void |
removeChangeListener(javax.swing.event.ChangeListener l)
Remove a ChangeListener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GSDataModel()
Method Detail |
---|
public boolean initialize(javax.vecmath.Vector3d v1, javax.vecmath.Vector3d v2, javax.vecmath.Vector3d v3)
public javax.vecmath.Vector3d getVector(int i)
public javax.vecmath.Vector3d getOrthogonalVector(int i)
public javax.vecmath.Vector3d getNormalizedVector(int i)
public javax.vecmath.Vector3d getProjectedVector(int i)
public void addChangeListener(javax.swing.event.ChangeListener l)
public void removeChangeListener(javax.swing.event.ChangeListener l)
public void fireStateChanged(javax.swing.event.ChangeEvent e)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |