hmi.graphics.util
Class SeamlessDaeHumanoidLoader
java.lang.Object
hmi.graphics.util.SeamlessDaeHumanoidLoader
- All Implemented Interfaces:
- DaeHumanoidLoader
public final class SeamlessDaeHumanoidLoader
- extends Object
- implements DaeHumanoidLoader
Helper class to load a seamless humanoid from a dae file. Useful when a fullfledged ElckerlycDemoEnvironment is not needed.
On request, after loading, the "null pose" for the humanoid is the H-Anim null pose.
Assumption about the collada file:
- after applying the joint renaming file, the animation root joint is called HumanoidRoot
- Author:
- Herwin van Welbergen, Dennis Reidsma
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
avatarAnimationRootJoint
private VJoint avatarAnimationRootJoint
avatarRenderNode
private VGLNode avatarRenderNode
avatarRenderRootJoint
private VJoint avatarRenderRootJoint
glScene
private GLScene glScene
SeamlessDaeHumanoidLoader
private SeamlessDaeHumanoidLoader()
SeamlessDaeHumanoidLoader
public SeamlessDaeHumanoidLoader(String id,
Resources resources,
String daeFile,
String colladaRenamingFile,
float colladaScalingFactor,
String colladaIncludeDir,
boolean setToHAnim,
String colladaRenderRootNode)
throws IOException
- Throws:
IOException
getAvatarAnimationRootJoint
public VJoint getAvatarAnimationRootJoint()
- Specified by:
getAvatarAnimationRootJoint in interface DaeHumanoidLoader
- Returns:
- the avatarAnimationRootJoint
getAvatarRenderNode
public VGLNode getAvatarRenderNode()
- Specified by:
getAvatarRenderNode in interface DaeHumanoidLoader
- Returns:
- the avatarRenderNode
getAvatarRenderRootJoint
public VJoint getAvatarRenderRootJoint()
- Specified by:
getAvatarRenderRootJoint in interface DaeHumanoidLoader
- Returns:
- the avatarRenderRootJoint
getGLScene
public GLScene getGLScene()
- Specified by:
getGLScene in interface DaeHumanoidLoader
- Returns:
- the GLScene