Package gov.nasa.worldwind.ogc.collada
Class ColladaTriangles
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
-
- gov.nasa.worldwind.ogc.collada.ColladaAbstractGeometry
-
- gov.nasa.worldwind.ogc.collada.ColladaTriangles
-
- All Implemented Interfaces:
XMLEventParser
public class ColladaTriangles extends ColladaAbstractGeometry
Represents the COLLADA triangles element and provides access to its contents.
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractGeometry
COORDS_PER_VERTEX, DEFAULT_TEX_COORD_SEMANTIC, inputs, TEX_COORDS_PER_VERTEX
-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description ColladaTriangles(java.lang.String ns)
Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getVerticesPerShape()
Indicates the number of vertices for each triangle.-
Methods inherited from class gov.nasa.worldwind.ogc.collada.ColladaAbstractGeometry
getCount, getFloatFromAccessor, getIndices, getInputs, getMaterial, getNormalAccessor, getNormals, getTexCoordAccessor, getTextureCoordinates, getVertexAccessor, getVertices, setField
-
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
-
-
-
-
Method Detail
-
getVerticesPerShape
protected int getVerticesPerShape()
Indicates the number of vertices for each triangle.- Specified by:
getVerticesPerShape
in classColladaAbstractGeometry
- Returns:
- Three
-
-