Added basic GUI

Added more config loading and saving to human skeleton
Added smoothing of tracker reading to preven jitter
Adjust skeleton
This commit is contained in:
Eiren Rain committed 2021-01-24 08:16:20 +03:00
1 parent 2998662c44
commit 1940d2d60d
18 files changed
+987 -19

No files matched your search

@@ -1,8 +1,41 @@
package io.eiren.vr.processor;
import java.util.Map;
import io.eiren.util.ann.ThreadSafe;
import io.eiren.util.ann.VRServerThread;
public abstract class HumanSkeleton {
@VRServerThread
public abstract void updatePose();
@ThreadSafe
public abstract TransformNode getRootNode();
@ThreadSafe
public abstract Map<HumanJoint, Float> getJointsMap();
@ThreadSafe
public abstract void sentJointLength(HumanJoint joint, float newLength);
public enum HumanJoint {
HEAD("Head", ""),
NECK("Neck", ""),
WAIST("Waist", ""),
WASIT_VIRTUAL("Virtual waist", ""),
HIPS_WIDTH("Hips width", ""),
HIPS_LENGTH("Hips length", ""),
LEGS_LENGTH("Legs length", ""),
;
public final String name;
public final String description;
private HumanJoint(String name, String description) {
this.name = name;
this.description = description;
}
}
}