|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.xml.XMLStructureAdapter
hmi.graphics.collada.ColladaElement
hmi.graphics.collada.ColladaVertexWeights
public class ColladaVertexWeights
Joints and weights for a skin
| Field Summary | |
|---|---|
private int |
count
|
private ArrayList<Extra> |
extras
|
private float[] |
indexedWeights
|
private int |
indexLen
|
private ArrayList<Input> |
inputs
|
private int[] |
jointIndices
|
private String[] |
jointNames
|
private int |
jointOffset
|
private String |
jointSourceId
|
private float[] |
jointWeights
|
private boolean |
resolved
|
private int |
stride
|
private V |
v
|
private VCount |
vcount
|
private int |
weightOffset
|
private String |
weightSourceId
|
private static String |
XMLTAG
|
| Fields inherited from class hmi.graphics.collada.ColladaElement |
|---|
COLLADANAMESPACE |
| Fields inherited from class hmi.xml.XMLStructureAdapter |
|---|
ATTRIBUTE_TOKEN_DELIMITERS, COMMA_SEPARATOR, DECODEDARRAYSIZE, DEFAULT_RECOVER_MODE, NEWLINE, SYSTEMNEWLINE, TAB, TAB_STRING |
| Constructor Summary | |
|---|---|
ColladaVertexWeights()
Default constructor |
|
ColladaVertexWeights(Collada collada,
XMLTokenizer tokenizer)
Constructor used to create a ColladaVertexWeights Object from XML |
|
| Method Summary | |
|---|---|
StringBuilder |
appendAttributes(StringBuilder buf)
appends a String of attributes to buf. |
StringBuilder |
appendContent(StringBuilder buf,
XMLFormatting fmt)
Appends a String to buf that encodes the contents for the XML encoding. |
void |
decodeAttributes(HashMap<String,String> attrMap,
XMLTokenizer tokenizer)
decodes the XML attributes |
void |
decodeContent(XMLTokenizer tokenizer)
decodes the XML contents, i.e. the XML between the STag and ETag of the encoding. |
int[] |
getJointIndices()
Returns an array with the joint indices |
String[] |
getJointNames()
Return a String array with joint names |
float[] |
getJointWeights()
Returns an array with the joint weights |
int[] |
getVCount()
|
String |
getXMLTag()
returns the XML Stag for XML encoding |
void |
resolve()
Tries to resolve the reference for the input with joint semantic |
static String |
xmlTag()
The XML Stag for XML encoding |
| Methods inherited from class hmi.graphics.collada.ColladaElement |
|---|
addColladaNode, addColladaNodes, addToIdMap, getCollada, getColladaNodes, getId, getIdMap, getIdOrName, getIds, getName, getNamespace, getRecursiveColladaNodes, getRecursiveColladaNodes, getResources, getSid, report, reportNode, setCollada, setId, setName, setSid, urlToId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private ArrayList<Input> inputs
private ArrayList<Extra> extras
private V v
private VCount vcount
private int count
private String[] jointNames
private String jointSourceId
private String weightSourceId
private float[] indexedWeights
private float[] jointWeights
private int[] jointIndices
private int stride
private int jointOffset
private int weightOffset
private int indexLen
private boolean resolved
private static final String XMLTAG
| Constructor Detail |
|---|
public ColladaVertexWeights()
public ColladaVertexWeights(Collada collada,
XMLTokenizer tokenizer)
throws IOException
IOException| Method Detail |
|---|
public void resolve()
public String[] getJointNames()
public int[] getJointIndices()
public float[] getJointWeights()
public int[] getVCount()
public StringBuilder appendAttributes(StringBuilder buf)
appendAttributes in class ColladaElement
public void decodeAttributes(HashMap<String,String> attrMap,
XMLTokenizer tokenizer)
decodeAttributes in class ColladaElement
public StringBuilder appendContent(StringBuilder buf,
XMLFormatting fmt)
XMLStructureAdapter
appendContent in class XMLStructureAdapter
public void decodeContent(XMLTokenizer tokenizer)
throws IOException
XMLStructureAdapter
decodeContent in class XMLStructureAdapterIOExceptionpublic static String xmlTag()
public String getXMLTag()
getXMLTag in interface XMLStructuregetXMLTag in class XMLStructureAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||