org.xith3d.scenegraph.primitives
Class Ellipsoid
java.lang.Object
org.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.Leaf
org.xith3d.scenegraph.Shape3D
org.xith3d.scenegraph.primitives.Ellipsoid
- All Implemented Interfaces:
- org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.spatial.SpatialNode
public class Ellipsoid
- extends Shape3D
An ellipsoid using the stacks/slices specification.
|
Constructor Summary |
Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
Appearance app)
Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles |
Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
org.openmali.vecmath2.Colorf color)
Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles |
Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
int features,
boolean colorAlpha,
int texCoordsSize)
Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles |
Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
java.lang.String texture)
Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles |
Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
Texture texture)
Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles |
| 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.Node |
cloneNode, detach, duplicateNode, freeOpenGLResources, getBounds, getBoundsAutoCompute, getBoundsType, getBoundsTypeHint, getDefaultPickable, getIndentString, getInheritedNodeAttributes, getModListener, getOrderedChild, getOrderedState, getParent, getRoot, getShadowAttachment, getShowBounds, getTransformGroup, getTreeCell, getWorldBounds, getWorldTransform, getWorldTransform, isBillboard, isIgnoreBounds, isOccluder, isPickable, isRenderable, isUpdatableNode, mergeInheritedClipper, mergeInheritedNodes, mergeInheritedScissorRect, popGlobalIgnoreBounds, printBounds, pushGlobalIgnoreBounds, setBoundsAutoCompute, setBoundsDirty, setBoundsDirtyUpward, setBoundsTypeHint, setDefaultPickable, setGlobalIgnoreBounds, setIgnoreBounds, setIsOccluder, setOrderedChild, setParent, setPickable, setPickableRecursive, setPickableRecursive, setRenderable, setShadowAttachment, setShowBounds, setTransformGroup, setTreeCell, traverse, unmergeInheritedFog, unmergeInheritedLight, unmergeInheritedNodes, updateOrderedChild, updateTransformGroup |
| 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 |
Ellipsoid
public Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
int features,
boolean colorAlpha,
int texCoordsSize)
- Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles
- Parameters:
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisslices - Number of vertical stripes down the ellipsoidstacks - Number of stacked rings around the ellipsoidfeatures - the GeometryArray featurescolorAlpha - texCoordsSize -
Ellipsoid
public Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
Texture texture)
- Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles
- Parameters:
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisslices - Number of vertical stripes down the ellipsoidstacks - Number of stacked rings around the ellipsoidtexture - the Texture to be applied to this Shape's Appearance
Ellipsoid
public Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
java.lang.String texture)
- Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles
- Parameters:
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisslices - Number of vertical stripes down the ellipsoidstacks - Number of stacked rings around the ellipsoidtexture - the Texture to be applied to this Shape's Appearance
Ellipsoid
public Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
org.openmali.vecmath2.Colorf color)
- Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles
- Parameters:
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisslices - Number of vertical stripes down the ellipsoidstacks - Number of stacked rings around the ellipsoidcolor - the color to be applied to this Shape's Appearance's ColoringAttributes
Ellipsoid
public Ellipsoid(float rx,
float ry,
float rz,
int slices,
int stacks,
Appearance app)
- Create an ellipsoid using the stacks/slices specification
Creates 2*slices*(stacks-1) triangles
- Parameters:
rx - Radius along x axisry - Radius along y axisrz - Radius along z axisslices - Number of vertical stripes down the ellipsoidstacks - Number of stacked rings around the ellipsoidapp - the Appearance to be applide to this Shape