artisynth.core.mechmodels
Class PointTarget

java.lang.Object
  extended by artisynth.core.mechmodels.MotionTarget
      extended by artisynth.core.mechmodels.PointTarget

public class PointTarget
extends MotionTarget

Contains motion target information for a point.


Nested Class Summary
 
Nested classes/interfaces inherited from class artisynth.core.mechmodels.MotionTarget
MotionTarget.TargetActivity
 
Constructor Summary
PointTarget(MotionTarget.TargetActivity explicitActivity)
           
 
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 artisynth.core.mechmodels.MotionTarget
getActivity, isPositionActive, isVelocityActive, setActivity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointTarget

public PointTarget(MotionTarget.TargetActivity explicitActivity)
Method Detail

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)