NASA World Wind

gov.nasa.worldwind.ogc.collada
Class ColladaTriangles

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by gov.nasa.worldwind.ogc.collada.ColladaAbstractObject
          extended by gov.nasa.worldwind.ogc.collada.ColladaAbstractGeometry
              extended by 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
ColladaTriangles(String ns)
          Construct an instance.
 
Method Summary
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, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColladaTriangles

public ColladaTriangles(String ns)
Construct an instance.

Parameters:
ns - the qualifying namespace URI. May be null to indicate no namespace qualification.
Method Detail

getVerticesPerShape

protected int getVerticesPerShape()
Indicates the number of vertices for each triangle.

Specified by:
getVerticesPerShape in class ColladaAbstractGeometry
Returns:
Three

NASA World Wind