NASA World Wind

gov.nasa.worldwind.ogc.collada.impl
Class ColladaMeshShape.Geometry

java.lang.Object
  extended by gov.nasa.worldwind.ogc.collada.impl.ColladaMeshShape.Geometry
Enclosing class:
ColladaMeshShape

protected static class ColladaMeshShape.Geometry
extends Object

Geometry and attributes of a COLLADA triangles or lines element.


Field Summary
protected  ColladaAbstractGeometry colladaGeometry
          Collada element that defines this geometry.
protected  boolean doubleSided
          Indicates whether or not the geometry is double sided.
protected  Material material
          Material applied to this geometry.
protected  int offset
          Offset (in vertices) into the coord, normal, and texcoord buffers of this coordinates for this geometry.
protected  WWTexture texture
          Texture applied to this geometry.
 
Constructor Summary
ColladaMeshShape.Geometry(ColladaAbstractGeometry geometry)
          Create a new geometry instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colladaGeometry

protected ColladaAbstractGeometry colladaGeometry
Collada element that defines this geometry.


doubleSided

protected boolean doubleSided
Indicates whether or not the geometry is double sided. If double sided, the geometry must be rendered with backface culling disabled. This property is determined by the presence of a technique for the "GOOGLEEARTH" profile that includes a double_sided field.

See Also:
ColladaMeshShape.isDoubleSided(gov.nasa.worldwind.ogc.collada.ColladaAbstractGeometry)

material

protected Material material
Material applied to this geometry.


offset

protected int offset
Offset (in vertices) into the coord, normal, and texcoord buffers of this coordinates for this geometry.


texture

protected WWTexture texture
Texture applied to this geometry.

Constructor Detail

ColladaMeshShape.Geometry

public ColladaMeshShape.Geometry(ColladaAbstractGeometry geometry)
Create a new geometry instance.

Parameters:
geometry - COLLADA geometry to render.

NASA World Wind