artisynth.core.mechmodels
Class PointTarget
java.lang.Object
artisynth.core.mechmodels.MotionTarget
artisynth.core.mechmodels.PointTarget
public class PointTarget
- extends MotionTarget
Contains motion target information for a point.
Method Summary |
int |
getTargetPos(double[] buf,
double s,
double h,
PointState state,
int idx)
|
Point3d |
getTargetPos(PointState state)
|
void |
getTargetPos(Vector3d post,
double s,
double h,
PointState state)
|
int |
getTargetVel(double[] buf,
double s,
double h,
PointState state,
int idx)
|
Vector3d |
getTargetVel(PointState state)
|
void |
getTargetVel(Vector3d velt,
double s,
double h,
PointState state)
|
int |
setTargetPos(double[] buf,
int idx)
|
void |
setTargetPos(Point3d pos)
|
int |
setTargetVel(double[] buf,
int idx)
|
void |
setTargetVel(Vector3d vel)
|
void |
syncState(MotionTarget.TargetActivity prev,
PointState state)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointTarget
public PointTarget(MotionTarget.TargetActivity explicitActivity)
setTargetPos
public void setTargetPos(Point3d pos)
getTargetPos
public Point3d getTargetPos(PointState state)
setTargetVel
public void setTargetVel(Vector3d vel)
getTargetVel
public Vector3d getTargetVel(PointState state)
syncState
public void syncState(MotionTarget.TargetActivity prev,
PointState state)
getTargetVel
public void getTargetVel(Vector3d velt,
double s,
double h,
PointState state)
getTargetPos
public void getTargetPos(Vector3d post,
double s,
double h,
PointState state)
getTargetVel
public int getTargetVel(double[] buf,
double s,
double h,
PointState state,
int idx)
setTargetVel
public int setTargetVel(double[] buf,
int idx)
getTargetPos
public int getTargetPos(double[] buf,
double s,
double h,
PointState state,
int idx)
setTargetPos
public int setTargetPos(double[] buf,
int idx)