Package dev.oxydien.mathimations.model
Class Pose
java.lang.Object
dev.oxydien.mathimations.model.Pose
Represents the complete pose of an entity at a point in time.
Contains the state of all model parts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Create a deep copy of this posestatic PosecreateDefault(Collection<String> partNames) Create a default pose with all parts at zero (scale = 1.0)Get the state of a specific model partGet all part names in this posevoidsetPart(String partName, ModelPartState state) Set the state of a specific model parttoString()
-
Constructor Details
-
Pose
public Pose() -
Pose
-
Pose
-
-
Method Details
-
getPart
Get the state of a specific model part- Parameters:
partName- The name/path of the part (e.g., "body/head" or "ROOT")- Returns:
- The ModelPartState or null if not present
-
setPart
Set the state of a specific model part -
createDefault
Create a default pose with all parts at zero (scale = 1.0)- Parameters:
partNames- All the part names in the model- Returns:
- A new Pose with default values
-
getPartNames
Get all part names in this pose -
copy
Create a deep copy of this pose -
toString
-