@ -387,6 +387,16 @@ public class BlenderContext {
objectConstraints . addAll ( constraints ) ;
objectConstraints . addAll ( constraints ) ;
}
}
/ * *
* Returns constraints applied to the feature of the given OMA .
* @param ownerOMA
* the constraints ' owner OMA
* @return a list of constraints or < b > null < / b > if no constraints are applied to the feature
* /
public List < Constraint > getConstraints ( Long ownerOMA ) {
return constraints . get ( ownerOMA ) ;
}
/ * *
/ * *
* @return all available constraints
* @return all available constraints
* /
* /
@ -418,7 +428,7 @@ public class BlenderContext {
* @return the animation data or null if none exists
* @return the animation data or null if none exists
* /
* /
public AnimationData getAnimData ( Long ownerOMA ) {
public AnimationData getAnimData ( Long ownerOMA ) {
return this . animData . get ( ownerOMA ) ;
return animData . get ( ownerOMA ) ;
}
}
/ * *
/ * *
@ -430,7 +440,7 @@ public class BlenderContext {
* the skeleton specified by the given OMA
* the skeleton specified by the given OMA
* /
* /
public void setSkeleton ( Long skeletonOMA , Skeleton skeleton ) {
public void setSkeleton ( Long skeletonOMA , Skeleton skeleton ) {
this . skeletons . put ( skeletonOMA , skeleton ) ;
skeletons . put ( skeletonOMA , skeleton ) ;
}
}
/ * *
/ * *
@ -465,7 +475,7 @@ public class BlenderContext {
* @return the skeleton specified by the given OMA
* @return the skeleton specified by the given OMA
* /
* /
public Skeleton getSkeleton ( Long skeletonOMA ) {
public Skeleton getSkeleton ( Long skeletonOMA ) {
return this . skeletons . get ( skeletonOMA ) ;
return skeletons . get ( skeletonOMA ) ;
}
}
/ * *
/ * *
@ -478,7 +488,7 @@ public class BlenderContext {
* the mesh ' s context
* the mesh ' s context
* /
* /
public void setMeshContext ( Long meshOMA , MeshContext meshContext ) {
public void setMeshContext ( Long meshOMA , MeshContext meshContext ) {
this . meshContexts . put ( meshOMA , meshContext ) ;
meshContexts . put ( meshOMA , meshContext ) ;
}
}
/ * *
/ * *
@ -490,7 +500,7 @@ public class BlenderContext {
* @return mesh ' s context
* @return mesh ' s context
* /
* /
public MeshContext getMeshContext ( Long meshOMA ) {
public MeshContext getMeshContext ( Long meshOMA ) {
return this . meshContexts . get ( meshOMA ) ;
return meshContexts . get ( meshOMA ) ;
}
}
/ * *
/ * *
@ -503,7 +513,7 @@ public class BlenderContext {
* the bones ' s context
* the bones ' s context
* /
* /
public void setBoneContext ( Long boneOMA , BoneContext boneContext ) {
public void setBoneContext ( Long boneOMA , BoneContext boneContext ) {
this . boneContexts . put ( boneOMA , boneContext ) ;
boneContexts . put ( boneOMA , boneContext ) ;
}
}
/ * *
/ * *