hmi.environment.avatars
Class GenericVirtualHumanBuilder
java.lang.Object
hmi.environment.avatars.GenericVirtualHumanBuilder
- All Implemented Interfaces:
- VirtualHumanBuilder
- Direct Known Subclasses:
- HmiVirtualHumanBuilder
public abstract class GenericVirtualHumanBuilder
- extends Object
- implements VirtualHumanBuilder
Generic implementation, takes a generic render-independent specification and loads the appropriate elements.
- Author:
- Dennis Reidsma
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.slf4j.Logger logger
theVirtualHuman
private GenericVirtualHuman theVirtualHuman
GenericVirtualHumanBuilder
public GenericVirtualHumanBuilder()
setVirtualHuman
protected void setVirtualHuman(GenericVirtualHuman vh)
getVirtualHuman
public VirtualHuman getVirtualHuman()
buildVirtualHuman
public VirtualHuman buildVirtualHuman(VirtualHumanSpec spec,
String id,
VirtualWorld vw,
SchedulingClock c)
- Load the virtual human, with the parameters that have been set.
- Specified by:
buildVirtualHuman in interface VirtualHumanBuilder
createVirtualHuman
protected void createVirtualHuman(String id)
buildBody
protected abstract void buildBody()
prepareMixedAnimation
protected void prepareMixedAnimation()
- load physicalhuman, mixed systems, clone animation joint, ...
initSpeechBinding
protected void initSpeechBinding()
initGestureBinding
protected void initGestureBinding()
initAnimationPlanner
protected void initAnimationPlanner()
setAvatarPose
protected void setAvatarPose()
glueFeetToFloor
public void glueFeetToFloor(PhysicalHumanoid pHuman)
- Connects the ankle segments to the world with a fixed, unmovable joint, to prevent the feet from slipping
- Parameters:
pHuman - human to tighten in place like this
initFaceController
protected void initFaceController()
initFacePlanner
protected void initFacePlanner()
initAudioPlanner
protected void initAudioPlanner()
initSpeechPlanner
protected void initSpeechPlanner()
initBMLRealizer
protected void initBMLRealizer(SchedulingClock c)