|
||||||||||
| 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.GeoEllipsoid
public class GeoEllipsoid
Geodesic sphere, warped into an ellipsoid.
| 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 | |
|---|---|
GeoEllipsoid(float rx,
float ry,
float rz,
int N,
Appearance app)
Geodesic sphere, warped into an ellipsoid. |
|
GeoEllipsoid(float rx,
float ry,
float rz,
int N,
org.openmali.vecmath2.Colorf color)
Geodesic sphere, warped into an ellipsoid. |
|
GeoEllipsoid(float rx,
float ry,
float rz,
int N,
int features,
boolean colorAlpha,
int texCoordsSize)
Geodesic sphere, warped into an ellipsoid. |
|
GeoEllipsoid(float rx,
float ry,
float rz,
int N,
java.lang.String texture)
Geodesic sphere, warped into an ellipsoid. |
|
GeoEllipsoid(float rx,
float ry,
float rz,
int N,
Texture texture)
Geodesic sphere, warped into an ellipsoid. |
|
| Method Summary | |
|---|---|
static void |
geodesate(org.openmali.vecmath2.Vector3f a,
org.openmali.vecmath2.Vector3f b,
org.openmali.vecmath2.Vector3f c,
int N,
int offset,
org.openmali.vecmath2.Vector3f[] vertices)
This method can be used to geodesate a triangle. |
| 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 GeoEllipsoid(float rx,
float ry,
float rz,
int N,
int features,
boolean colorAlpha,
int texCoordsSize)
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisN - Split each edge of the icosahedron N timesfeatures - the GeometryArray featurescolorAlpha - texCoordsSize -
public GeoEllipsoid(float rx,
float ry,
float rz,
int N,
Texture texture)
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisN - Split each edge of the icosahedron N timestexture - the Texture to be applied to the shape's Appearance
public GeoEllipsoid(float rx,
float ry,
float rz,
int N,
java.lang.String texture)
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisN - Split each edge of the icosahedron N timestexture - the Texture to be applied to the shape's Appearance
public GeoEllipsoid(float rx,
float ry,
float rz,
int N,
org.openmali.vecmath2.Colorf color)
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisN - Split each edge of the icosahedron N timescolor - color to be applied to this shape's ColoringAttributes
public GeoEllipsoid(float rx,
float ry,
float rz,
int N,
Appearance app)
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisN - Split each edge of the icosahedron N timesapp - the Appearance to be applied to this shape| Method Detail |
|---|
public static void geodesate(org.openmali.vecmath2.Vector3f a,
org.openmali.vecmath2.Vector3f b,
org.openmali.vecmath2.Vector3f c,
int N,
int offset,
org.openmali.vecmath2.Vector3f[] vertices)
a - First corner (should be a unit vector)b - Second corner (should be a unit vector)c - Third corner (should be a unit vector)N - Number of splits in each edgeoffset - Offset to base vertex indexvertices - Target vertex array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||