net.jbeans.j3d.modeler.geometry.util
Class GeometryInfo

java.lang.Object
  extended bycom.sun.j3d.utils.geometry.GeometryInfo
      extended bynet.jbeans.j3d.modeler.geometry.util.GeometryInfo

public class GeometryInfo
extends com.sun.j3d.utils.geometry.GeometryInfo

GeometryInfo provides same functionalities as GeometryInfo(com.sun.j3d.utils.geometry.GeometryInfo). It is however capable of produceing GeometryArray using either by-copying or by-reference mode. The default is by-reference mode.

Version:
$Revision: 1.3 $
Author:
Masahiro Takatsuka (masa@jbeans.net)
See Also:
GeometryInfo

Field Summary
static int BY_COPY
           
static int BY_REFERENCE
           
static int COLOR
           
static int COORDINATE
           
static int NORMAL
           
static int PRIMITIVE_FIRST
           
static int PRIMITIVE_LAST
           
static int TEXTCOORD
           
 
Fields inherited from class com.sun.j3d.utils.geometry.GeometryInfo
POLYGON_ARRAY, QUAD_ARRAY, TRIANGLE_ARRAY, TRIANGLE_FAN_ARRAY, TRIANGLE_STRIP_ARRAY
 
Constructor Summary
GeometryInfo(int i)
           
 
Method Summary
 javax.media.j3d.GeometryArray getGeometryArray()
           
 javax.media.j3d.IndexedGeometryArray getIndexedGeometryArray()
           
 javax.media.j3d.IndexedGeometryArray getIndexedGeometryArray(boolean flag)
           
 void recomputeIndices(int flag)
           
 void setGeometryMode(int mode)
           
 
Methods inherited from class com.sun.j3d.utils.geometry.GeometryInfo
compact, convertToIndexedTriangles, getColorIndices, getColors, getContourCounts, getCoordinateIndices, getCoordinates, getGeometryArray, getIndexedGeometryArray, getNormalIndices, getNormals, getNumColorComponents, getNumTexCoordComponents, getPrimitive, getStripCounts, getTexCoordSetCount, getTexCoordSetMap, getTextureCoordinateIndices, getTextureCoordinateIndices, getTextureCoordinates, getTextureCoordinates, getUseCoordIndexOnly, indexify, indexify, recomputeIndices, reset, reset, reverse, setColorIndices, setColors, setColors, setColors, setColors, setColors3, setColors3, setColors4, setColors4, setContourCounts, setCoordinateIndices, setCoordinates, setCoordinates, setCoordinates, setCoordinates, setNormalIndices, setNormals, setNormals, setStripCounts, setTexCoordSetMap, setTextureCoordinateIndices, setTextureCoordinateIndices, setTextureCoordinateParams, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates2, setTextureCoordinates3, setUseCoordIndexOnly, unindexify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BY_REFERENCE

public static final int BY_REFERENCE
See Also:
Constant Field Values

BY_COPY

public static final int BY_COPY
See Also:
Constant Field Values

PRIMITIVE_FIRST

public static final int PRIMITIVE_FIRST
See Also:
Constant Field Values

PRIMITIVE_LAST

public static final int PRIMITIVE_LAST
See Also:
Constant Field Values

COORDINATE

public static final int COORDINATE
See Also:
Constant Field Values

COLOR

public static final int COLOR
See Also:
Constant Field Values

NORMAL

public static final int NORMAL
See Also:
Constant Field Values

TEXTCOORD

public static final int TEXTCOORD
See Also:
Constant Field Values
Constructor Detail

GeometryInfo

public GeometryInfo(int i)
Method Detail

setGeometryMode

public void setGeometryMode(int mode)

getGeometryArray

public javax.media.j3d.GeometryArray getGeometryArray()

getIndexedGeometryArray

public javax.media.j3d.IndexedGeometryArray getIndexedGeometryArray()

getIndexedGeometryArray

public javax.media.j3d.IndexedGeometryArray getIndexedGeometryArray(boolean flag)

recomputeIndices

public void recomputeIndices(int flag)


Copyright © 1995-2004 net.jbeans. All Rights Reserved.