Package edu.tufts.hrilab.vision.stm
Class Grasp
java.lang.Object
edu.tufts.hrilab.vision.stm.Grasp
- All Implemented Interfaces:
Serializable
Describes a position from which an object can be grasped. Not guaranteed to
be valid for any robot.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintjavax.vecmath.Quat4djavax.vecmath.Vector3dgetPoint(int index) voidsetOrientation(double x, double y, double z, double w) voidsetOrientation(javax.vecmath.Quat4d orientation) voidsetPoint(int index, double x, double y, double z) voidsetPoint(int index, javax.vecmath.Vector3d point)
-
Constructor Details
-
Grasp
public Grasp() -
Grasp
public Grasp(javax.vecmath.Point3d point, javax.vecmath.Quat4d orientation) -
Grasp
-
-
Method Details
-
setPoint
public void setPoint(int index, double x, double y, double z) -
setPoint
public void setPoint(int index, javax.vecmath.Vector3d point) -
setOrientation
public void setOrientation(double x, double y, double z, double w) -
setOrientation
public void setOrientation(javax.vecmath.Quat4d orientation) -
getNumPoints
public int getNumPoints() -
getPoint
public javax.vecmath.Vector3d getPoint(int index) -
getOrientation
public javax.vecmath.Quat4d getOrientation()
-