org.cogchar.render.model.humanoid
Class HumanoidFigureManager
java.lang.Object
org.appdapter.core.log.BasicDebugger
org.cogchar.render.model.humanoid.HumanoidFigureManager
- All Implemented Interfaces:
- org.appdapter.core.log.Loggable
public class HumanoidFigureManager
- extends org.appdapter.core.log.BasicDebugger
- Author:
- Stu B.
| Fields inherited from interface org.appdapter.core.log.Loggable |
IMPO_HI, IMPO_HIHI, IMPO_LO, IMPO_LOLO, IMPO_MAX, IMPO_MIN, IMPO_NORM |
|
Method Summary |
void |
attachNodeToHumanoidBone(BonyRenderContext brc,
com.jme3.scene.Node toAttach,
org.appdapter.core.name.Ident robotIdent,
String boneName)
Mainly for attaching cameras to parts of robot, but potentially somewhat general purpose so I'll leave it here. |
void |
detachHumanoidFigures(BonyRenderContext brc)
|
HumanoidFigure |
getHumanoidFigure(org.appdapter.core.name.Ident charIdent)
|
Map<org.appdapter.core.name.Ident,HumanoidFigure> |
getHumanoidFigures()
|
HumanoidFigure |
getOrMakeHumanoidFigure(org.appdapter.help.repo.RepoClient qi,
org.appdapter.core.name.Ident charIdent,
HumanoidConfig hc,
org.appdapter.core.name.Ident bonyConfigGraph,
org.cogchar.blob.emit.RenderConfigEmitter rce)
|
HumanoidFigure |
setupHumanoidFigure(BonyRenderContext brc,
org.appdapter.help.repo.RepoClient qi,
org.appdapter.core.name.Ident charIdent,
org.appdapter.core.name.Ident bonyConfigGraph,
HumanoidConfig hc)
|
void |
toggleDebugSkeletons()
|
| Methods inherited from class org.appdapter.core.log.BasicDebugger |
checkDebugImportance, forceLog4jConfig, getLogger, getLoggerForClass, isLoggerUsable, logDebug, logError, logError, logInfo, logInfo, logInfoEvent, logWarning, logWarning, logWithException, setDebugImportanceThreshold, setLogger, useLoggerForClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HumanoidFigureManager
public HumanoidFigureManager()
getOrMakeHumanoidFigure
public HumanoidFigure getOrMakeHumanoidFigure(org.appdapter.help.repo.RepoClient qi,
org.appdapter.core.name.Ident charIdent,
HumanoidConfig hc,
org.appdapter.core.name.Ident bonyConfigGraph,
org.cogchar.blob.emit.RenderConfigEmitter rce)
getHumanoidFigure
public HumanoidFigure getHumanoidFigure(org.appdapter.core.name.Ident charIdent)
getHumanoidFigures
public Map<org.appdapter.core.name.Ident,HumanoidFigure> getHumanoidFigures()
setupHumanoidFigure
public HumanoidFigure setupHumanoidFigure(BonyRenderContext brc,
org.appdapter.help.repo.RepoClient qi,
org.appdapter.core.name.Ident charIdent,
org.appdapter.core.name.Ident bonyConfigGraph,
HumanoidConfig hc)
throws Throwable
- Throws:
Throwable
detachHumanoidFigures
public void detachHumanoidFigures(BonyRenderContext brc)
toggleDebugSkeletons
public void toggleDebugSkeletons()
attachNodeToHumanoidBone
public void attachNodeToHumanoidBone(BonyRenderContext brc,
com.jme3.scene.Node toAttach,
org.appdapter.core.name.Ident robotIdent,
String boneName)
- Mainly for attaching cameras to parts of robot, but potentially somewhat general purpose so I'll leave it here.
Currently (2012-09-28) called only from CameraMgr.addHeadCamera.
Note that it actually executes the attachment on the OpenGL render thread
Copyright © 2010-2013. All Rights Reserved.