public class PostureFunctions extends Object
| Modifier and Type | Field and Description |
|---|---|
static javafx.geometry.Point3D |
UP |
| Constructor and Description |
|---|
PostureFunctions() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkConfidences(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right) |
static boolean |
checkPosture(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture) |
static Collection<rst.tracking.PointingRay3DFloatType.PointingRay3DFloat> |
getAllRaysForSideAndTypesWithConfidence(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
double pointingProbability,
Collection<rst.tracking.PointingRay3DFloatType.PointingRay3DFloat.PointingType> types) |
static Collection<rst.tracking.PointingRay3DFloatType.PointingRay3DFloat> |
getAllRaysForSideWithConfidence(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
double pointingProbability) |
static javafx.geometry.Point3D |
getDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
JointPair jointPair) |
static double |
getElbowAngle(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right) |
static double |
getElbowHeightAngle(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
boolean relative) |
static double |
getHandHeightAngle(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
boolean relative) |
static JointPair |
getJointPair(boolean right,
rst.tracking.PointingRay3DFloatType.PointingRay3DFloat.PointingType type) |
static javafx.geometry.Point3D |
getPoint3D(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
Joints joint) |
static rst.tracking.PointingRay3DFloatType.PointingRay3DFloat |
getPointingRay(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
double pointingProbability,
rst.tracking.PointingRay3DFloatType.PointingRay3DFloat.PointingType type) |
static rst.tracking.PointingRay3DFloatType.PointingRay3DFloat |
getPointingRayWithConfidence(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
double pointingProbability,
rst.tracking.PointingRay3DFloatType.PointingRay3DFloat.PointingType type) |
static rst.geometry.Ray3DFloatType.Ray3DFloat |
getRay(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
JointPair jointPair) |
static double |
getSignedAngle(javafx.geometry.Point3D vector1,
javafx.geometry.Point3D vector2,
javafx.geometry.Point3D up) |
static double |
getSignedHorizontalAngle(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
boolean relative) |
static rst.math.Vec3DFloatType.Vec3DFloat |
getVec(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
Joints joint) |
static Joints |
otherJoint(Joints joint) |
static double |
postureConfidence(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right) |
static javafx.geometry.Point3D |
postureFrontDirection(javafx.geometry.Point3D up,
javafx.geometry.Point3D right) |
static javafx.geometry.Point3D |
postureFrontDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean relative) |
static javafx.geometry.Point3D |
postureFrontDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
javafx.geometry.Point3D up) |
static javafx.geometry.Point3D |
postureRightDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean relative) |
static javafx.geometry.Point3D |
postureRightDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
javafx.geometry.Point3D up) |
static javafx.geometry.Point3D |
postureUpDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture) |
static javafx.geometry.Point3D |
postureUpDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean relative) |
static javafx.geometry.Point3D |
projectOn(javafx.geometry.Point3D vector,
javafx.geometry.Point3D onto) |
static javafx.geometry.Point3D |
projectOrthogonal(javafx.geometry.Point3D vector,
javafx.geometry.Point3D orthogonal) |
static rst.math.Vec3DFloatType.Vec3DFloat |
subtract(rst.math.Vec3DFloatType.Vec3DFloat first,
rst.math.Vec3DFloatType.Vec3DFloat second) |
static javafx.geometry.Point3D |
toPoint3D(rst.geometry.TranslationType.Translation translation) |
static rst.geometry.TranslationType.Translation |
toTranslation(javafx.geometry.Point3D point) |
static rst.math.Vec3DFloatType.Vec3DFloat |
toVec3DFloat(javafx.geometry.Point3D point) |
static rst.math.Vec3DFloatType.Vec3DFloat |
toVec3DFloat(rst.geometry.TranslationType.Translation translation) |
public static final JointPair getJointPair(boolean right, rst.tracking.PointingRay3DFloatType.PointingRay3DFloat.PointingType type)
public static final rst.math.Vec3DFloatType.Vec3DFloat toVec3DFloat(rst.geometry.TranslationType.Translation translation)
public static final rst.math.Vec3DFloatType.Vec3DFloat toVec3DFloat(javafx.geometry.Point3D point)
public static final rst.math.Vec3DFloatType.Vec3DFloat getVec(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
Joints joint)
public static final rst.math.Vec3DFloatType.Vec3DFloat subtract(rst.math.Vec3DFloatType.Vec3DFloat first,
rst.math.Vec3DFloatType.Vec3DFloat second)
public static rst.geometry.Ray3DFloatType.Ray3DFloat getRay(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
JointPair jointPair)
public static final rst.tracking.PointingRay3DFloatType.PointingRay3DFloat getPointingRay(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
double pointingProbability,
rst.tracking.PointingRay3DFloatType.PointingRay3DFloat.PointingType type)
public static final rst.tracking.PointingRay3DFloatType.PointingRay3DFloat getPointingRayWithConfidence(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
double pointingProbability,
rst.tracking.PointingRay3DFloatType.PointingRay3DFloat.PointingType type)
public static final Collection<rst.tracking.PointingRay3DFloatType.PointingRay3DFloat> getAllRaysForSideAndTypesWithConfidence(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture, boolean right, double pointingProbability, Collection<rst.tracking.PointingRay3DFloatType.PointingRay3DFloat.PointingType> types)
public static final Collection<rst.tracking.PointingRay3DFloatType.PointingRay3DFloat> getAllRaysForSideWithConfidence(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture, boolean right, double pointingProbability)
public static final boolean checkPosture(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture)
public static final double postureConfidence(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right)
public static final boolean checkConfidences(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right)
public static final rst.geometry.TranslationType.Translation toTranslation(javafx.geometry.Point3D point)
public static final javafx.geometry.Point3D toPoint3D(rst.geometry.TranslationType.Translation translation)
public static final javafx.geometry.Point3D getPoint3D(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
Joints joint)
public static final javafx.geometry.Point3D getDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
JointPair jointPair)
public static final javafx.geometry.Point3D projectOn(javafx.geometry.Point3D vector,
javafx.geometry.Point3D onto)
public static final javafx.geometry.Point3D projectOrthogonal(javafx.geometry.Point3D vector,
javafx.geometry.Point3D orthogonal)
public static final double getSignedAngle(javafx.geometry.Point3D vector1,
javafx.geometry.Point3D vector2,
javafx.geometry.Point3D up)
public static final javafx.geometry.Point3D postureUpDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture)
public static final javafx.geometry.Point3D postureUpDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean relative)
public static final javafx.geometry.Point3D postureRightDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
javafx.geometry.Point3D up)
public static final javafx.geometry.Point3D postureRightDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean relative)
public static final javafx.geometry.Point3D postureFrontDirection(javafx.geometry.Point3D up,
javafx.geometry.Point3D right)
public static final javafx.geometry.Point3D postureFrontDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
javafx.geometry.Point3D up)
public static final javafx.geometry.Point3D postureFrontDirection(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean relative)
public static final double getElbowAngle(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right)
public static final double getHandHeightAngle(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
boolean relative)
public static final double getElbowHeightAngle(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
boolean relative)
public static final double getSignedHorizontalAngle(rst.tracking.TrackedPosture3DFloatType.TrackedPosture3DFloat posture,
boolean right,
boolean relative)
Copyright © 2016–2017 openbase.org. All rights reserved.