Package gov.nasa.worldwind.ogc.collada
Class ColladaVertices
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
-
- gov.nasa.worldwind.ogc.collada.ColladaVertices
-
- All Implemented Interfaces:
XMLEventParser
public class ColladaVertices extends ColladaAbstractObject
Represents the COLLADA vertices element and provides access to its contents.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ColladaInput>
inputs
Inputs to the vertices element.-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description ColladaVertices(java.lang.String ns)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ColladaInput>
getInputs()
Indicates the vertex inputs.ColladaInput
getPositionInput()
Indicates the input with the semantic "POSITION".void
setField(java.lang.String keyName, java.lang.Object value)
-
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
getLocalExtent, getRoot
-
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setFields, setNamespaceURI, setParent
-
-
-
-
Field Detail
-
inputs
protected java.util.List<ColladaInput> inputs
Inputs to the vertices element.
-
-
Method Detail
-
getInputs
public java.util.List<ColladaInput> getInputs()
Indicates the vertex inputs.- Returns:
- Vertex inputs. May return an empty list, but never returns null.
-
getPositionInput
public ColladaInput getPositionInput()
Indicates the input with the semantic "POSITION".- Returns:
- The input labeled with semantic "POSITION", or null if no such input is set.
-
setField
public void setField(java.lang.String keyName, java.lang.Object value)
- Overrides:
setField
in classAbstractXMLEventParser
-
-