|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.Leaf
org.xith3d.scenegraph.Shape3D
org.xith3d.scenegraph.primitives.GeoSphere
public class GeoSphere
A geodesic sphere based on an icosahedron.
| Field Summary |
|---|
| Fields inherited from class org.xith3d.scenegraph.Node |
|---|
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, parent, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
GeoSphere(float radius,
int N,
Appearance app)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
boolean hemisphere,
Appearance app)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
boolean hemisphere,
org.openmali.vecmath2.Colorf color)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
boolean hemisphere,
java.lang.String texture)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
boolean hemisphere,
Texture texture)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
org.openmali.vecmath2.Colorf color)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
int features,
boolean colorAlpha,
int texCoordsSize)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
int features,
boolean colorAlpha,
int texCoordsSize,
boolean hemisphere)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
java.lang.String texture)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(float radius,
int N,
Texture texture)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
Appearance app)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
boolean hemisphere,
Appearance app)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
boolean hemisphere,
org.openmali.vecmath2.Colorf color)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
boolean hemisphere,
java.lang.String texture)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
boolean hemisphere,
Texture texture)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
org.openmali.vecmath2.Colorf color)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
int features,
boolean colorAlpha,
int texCoordsSize)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
int features,
boolean colorAlpha,
int texCoordsSize,
boolean hemisphere)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
java.lang.String texture)
Create a geodesic sphere based on an icosahedron. |
|
GeoSphere(int N,
Texture texture)
Create a geodesic sphere based on an icosahedron. |
|
| Method Summary | |
|---|---|
static GeometryArray |
createGeometry(int N,
int features,
boolean colorAlpha,
int texCoordsSize,
boolean hemisphere)
Creates the GeometryArray for a GeoSphere. |
static GeometryConstruct |
createGeometryConstructTA(int N,
int features,
boolean colorAlpha,
int texcoordsSize,
boolean hemisphere)
|
static TriangleArray |
createGeometryTA(int N,
int features,
boolean colorAlpha,
int texCoordsSize,
boolean hemisphere)
|
static GeometryType |
getGeometryConstructionTypeHint()
|
static void |
setGeometryConstructionTypeHint(GeometryType hint)
Sets the hint for this ShapeType's Geometry to be constructed of a certain type. |
| Methods inherited from class org.xith3d.scenegraph.Shape3D |
|---|
absorbDetails, freeOpenGLResources, getAppearance, getAppearance, getGeometry, isBumpMappingEnabled, isShadowReceiver, isVisible, newAppearance, setAppearance, setBounds, setBumpMappingEnabled, setBumpMappingEnabled, setGeometry, setIsShadowReceiver, setLive, setModListener, setVisible, sharedCopy, sharedCopy, traverse, updateBounds, updateBoundsCheap, updateWorldTransform, verifyAppChange |
| Methods inherited from class org.xith3d.scenegraph.Leaf |
|---|
dump, getPickHost, setPickHost |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
getName, getUserData, getUserData, getUserDataMap, isLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeoSphere(int N,
int features,
boolean colorAlpha,
int texCoordsSize,
boolean hemisphere)
N - Split each edge of the icosahedron N timesfeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public GeoSphere(float radius,
int N,
int features,
boolean colorAlpha,
int texCoordsSize,
boolean hemisphere)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timesfeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize - hemisphere - StaticTransform.scale(Shape3D, float)
public GeoSphere(int N,
int features,
boolean colorAlpha,
int texCoordsSize)
N - Split each edge of the icosahedron N timesfeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public GeoSphere(float radius,
int N,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timesfeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize - StaticTransform.scale(Shape3D, float)
public GeoSphere(int N,
boolean hemisphere,
Texture texture)
N - Split each edge of the icosahedron N timestexture - the Texture to be applied to this shape's Appearance
public GeoSphere(float radius,
int N,
boolean hemisphere,
Texture texture)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timeshemisphere - texture - the Texture to be applied to this shape's AppearanceStaticTransform.scale(Shape3D, float)
public GeoSphere(int N,
Texture texture)
N - Split each edge of the icosahedron N timestexture - the Texture to be applied to this shape's AppearanceStaticTransform.scale(Shape3D, float)
public GeoSphere(float radius,
int N,
Texture texture)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timestexture - the Texture to be applied to this shape's Appearance
public GeoSphere(int N,
boolean hemisphere,
java.lang.String texture)
N - Split each edge of the icosahedron N timestexture - the Texture to be applied to this shape's Appearance
public GeoSphere(float radius,
int N,
boolean hemisphere,
java.lang.String texture)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timeshemisphere - texture - the Texture to be applied to this shape's AppearanceStaticTransform.scale(Shape3D, float)
public GeoSphere(int N,
java.lang.String texture)
N - Split each edge of the icosahedron N timestexture - the Texture to be applied to this shape's AppearanceStaticTransform.scale(Shape3D, float)
public GeoSphere(float radius,
int N,
java.lang.String texture)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timestexture - the Texture to be applied to this shape's Appearance
public GeoSphere(int N,
boolean hemisphere,
org.openmali.vecmath2.Colorf color)
N - Split each edge of the icosahedron N timescolor - the color to be applied to this shape's Appearance's ColoringAttributes
public GeoSphere(float radius,
int N,
boolean hemisphere,
org.openmali.vecmath2.Colorf color)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timeshemisphere - color - the color to be applied to this shape's Appearance's ColoringAttributesStaticTransform.scale(Shape3D, float)
public GeoSphere(int N,
org.openmali.vecmath2.Colorf color)
N - Split each edge of the icosahedron N timescolor - the color to be applied to this shape's Appearance's ColoringAttributes
public GeoSphere(float radius,
int N,
org.openmali.vecmath2.Colorf color)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timescolor - the color to be applied to this shape's Appearance's ColoringAttributes
public GeoSphere(int N,
boolean hemisphere,
Appearance app)
N - Split each edge of the icosahedron N timesapp - the Appearance to be applied to this shape
public GeoSphere(float radius,
int N,
boolean hemisphere,
Appearance app)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timeshemisphere - app - the Appearance to be applied to this shapeStaticTransform.scale(Shape3D, float)
public GeoSphere(int N,
Appearance app)
N - Split each edge of the icosahedron N timesapp - the Appearance to be applied to this shape
public GeoSphere(float radius,
int N,
Appearance app)
radius - amount to enlarge the sphere byN - Split each edge of the icosahedron N timesapp - the Appearance to be applied to this shape| Method Detail |
|---|
public static void setGeometryConstructionTypeHint(GeometryType hint)
hint - public static GeometryType getGeometryConstructionTypeHint()
public static GeometryConstruct createGeometryConstructTA(int N,
int features,
boolean colorAlpha,
int texcoordsSize,
boolean hemisphere)
public static TriangleArray createGeometryTA(int N,
int features,
boolean colorAlpha,
int texCoordsSize,
boolean hemisphere)
public static GeometryArray createGeometry(int N,
int features,
boolean colorAlpha,
int texCoordsSize,
boolean hemisphere)
N - Split each edge of the icosahedron N timesfeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||