|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.cal3d.core.CalCoreSkeleton
public class CalCoreSkeleton
The core skeleton class.
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,CalCoreBone> |
coreBonesByName
|
protected java.util.List<java.lang.Integer> |
listRootCoreBoneId
|
protected java.lang.String |
name
|
protected java.util.Vector<CalCoreBone> |
vectorCoreBone
|
| Constructor Summary | |
|---|---|
CalCoreSkeleton()
Constructs the core skeleton instance. |
|
| Method Summary | |
|---|---|
int |
addCoreBone(CalCoreBone coreBone)
Adds a core bone. |
void |
calculateBoneSpaces()
Calculates the bone spaces by inversion from the absolute transforms. |
void |
calculateState()
Calculates the current state. |
CalCoreBone |
getCoreBone(int coreBoneId)
Provides access to a core bone. |
CalCoreBone |
getCoreBone(java.lang.String name)
Gets the core bone specified by name. |
int |
getCoreBoneId(java.lang.String strName)
|
java.util.Vector<CalCoreBone> |
getCoreBones()
|
java.util.List<java.lang.Integer> |
getListRootCoreBoneId()
|
java.lang.String |
getName()
|
void |
reconnectChildren()
Reconnects the children of each bone based on the parent ids. |
void |
setName(java.lang.String name)
|
java.lang.String |
toStringAsTree()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.util.Vector<CalCoreBone> vectorCoreBone
protected java.util.Map<java.lang.String,CalCoreBone> coreBonesByName
protected java.util.List<java.lang.Integer> listRootCoreBoneId
| Constructor Detail |
|---|
public CalCoreSkeleton()
| Method Detail |
|---|
public int addCoreBone(CalCoreBone coreBone)
coreBone - A pointer to the core bone that should be added.
public void calculateState()
public void calculateBoneSpaces()
public CalCoreBone getCoreBone(int coreBoneId)
coreBoneId - The ID of the core bone that should be returned.
public int getCoreBoneId(java.lang.String strName)
strName - The name of the core bone that should be returned.
public CalCoreBone getCoreBone(java.lang.String name)
public java.util.List<java.lang.Integer> getListRootCoreBoneId()
public java.util.Vector<CalCoreBone> getCoreBones()
public void reconnectChildren()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String toStringAsTree()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||