|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.media.core.ImageCoordSystem
org.opensourcephysics.cabrillo.tracker.ReferenceFrame
public class ReferenceFrame
A ReferenceFrame is an image coordinate system with its origin determined by the position of a PointMass.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.opensourcephysics.media.core.ImageCoordSystem |
|---|
ImageCoordSystem.Loader |
| Field Summary |
|---|
| Fields inherited from class org.opensourcephysics.media.core.ImageCoordSystem |
|---|
decimal, firePropChange, sci, support |
| Constructor Summary | |
|---|---|
ReferenceFrame(ImageCoordSystem coords,
PointMass originTrack)
Constructs a ReferenceFrame with a default initial length. |
|
| Method Summary | |
|---|---|
ImageCoordSystem |
getCoords()
Gets the parent image coordinate system. |
PointMass |
getOriginTrack()
Gets the origin track of this reference frame. |
boolean |
isLocked()
Overrides isLocked method. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Responds to property change events. |
void |
setFixedOrigin(boolean fixed,
int n)
Overrides ImageCoordSystem setFixedOrigin method. |
void |
setLocked(boolean locked)
Overrides setLocked method. |
protected void |
setOrigins()
Sets the origins of the image coordinate system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReferenceFrame(ImageCoordSystem coords,
PointMass originTrack)
coords - the image coordinate system providing angle and scale dataoriginTrack - the point mass providing origin data| Method Detail |
|---|
public void setFixedOrigin(boolean fixed,
int n)
setFixedOrigin in class ImageCoordSystemfixed - ignoredn - the frame numberpublic void setLocked(boolean locked)
setLocked in class ImageCoordSystemlocked - true to lock the coordinate systempublic boolean isLocked()
isLocked in class ImageCoordSystemtrue if this is lockedpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenere - the property change eventpublic ImageCoordSystem getCoords()
public PointMass getOriginTrack()
protected void setOrigins()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||