|
||||||||||
| 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.Disk
public class Disk
A disk created by crushing/transforming a cone.
The disk will be parallel to the x/y plane.
| Field Summary |
|---|
| Fields inherited from class org.xith3d.scenegraph.Node |
|---|
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
Disk(float radius,
int slices,
Appearance app)
Generates the Geometry of a disk parallel to the x/y plane. |
|
Disk(float radius,
int slices,
org.openmali.vecmath2.Colorf color)
Generates the Geometry of a disk parallel to the x/y plane. |
|
Disk(float radius,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
A disk is created by crushing a cone. |
|
Disk(float radius,
int slices,
java.lang.String texture)
Generates the Geometry of a disk parallel to the x/y plane. |
|
Disk(float radius,
int slices,
Texture texture)
Generates the Geometry of a disk parallel to the x/y plane. |
|
Disk(int slices,
Appearance app)
Generates the Geometry of a disk parallel to the x/y plane. |
|
Disk(int slices,
org.openmali.vecmath2.Colorf color)
Generates the Geometry of a disk parallel to the x/y plane. |
|
Disk(int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generates the Geometry of a disk parallel to the x/y plane. |
|
Disk(int slices,
java.lang.String texture)
Generates the Geometry of a disk parallel to the x/y plane. |
|
Disk(int slices,
Texture texture)
Generates the Geometry of a disk parallel to the x/y plane. |
|
| Method Summary | |
|---|---|
static Geometry |
createGeometry(float radius,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static GeometryConstruct |
createGeometryConstructTA(float radius,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generates the Geometry of a disk parallel to the x/y plane. |
static TriangleArray |
createGeometryTA(float radius,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generates the Geometry of a disk parallel to the x/y plane. |
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, copy, freeOpenGLResources, getAppearance, getAppearance, getCustomComparable, getGeometry, isBumpMappingEnabled, isShadowReceiver, isVisible, newAppearance, newInstance, setAppearance, setBounds, setBumpMappingEnabled, setBumpMappingEnabled, setCustomComparable, setGeometry, setIsShadowReceiver, 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, setLive, 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 Disk(float radius,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - the Disk's radiusslices - number of slices for the Cone (e.g. 36)features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public Disk(int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
slices - number of slices for the Cone (e.g. 36)features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public Disk(float radius,
int slices,
Texture texture)
radius - the Disk's radiusslices - Number of vertical stripes down the conetexture - the Texture to apply to this Shape's Appearance
public Disk(int slices,
Texture texture)
texture - the Texture to apply to this Shape's Appearanceslices - Number of vertical stripes down the cone
public Disk(float radius,
int slices,
java.lang.String texture)
radius - the Disk's radiusslices - Number of vertical stripes down the conetexture - the Texture to apply to this Shape's Appearance
public Disk(int slices,
java.lang.String texture)
texture - the Texture to apply to this Shape's Appearanceslices - Number of vertical stripes down the cone
public Disk(float radius,
int slices,
org.openmali.vecmath2.Colorf color)
radius - the Disk's radiusslices - Number of vertical stripes down the conecolor - the color to apply to this Shape's Appearance
public Disk(int slices,
org.openmali.vecmath2.Colorf color)
slices - Number of vertical stripes down the conecolor - the color to apply to this Shape's Appearance
public Disk(float radius,
int slices,
Appearance app)
radius - the Disk's radiusslices - Number of vertical stripes down the coneapp - the Appearance to be applied to this Shape
public Disk(int slices,
Appearance app)
slices - Number of vertical stripes down the coneapp - 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(float radius,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - the Disk's radiusslices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public static TriangleArray createGeometryTA(float radius,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - the Disk's radiusslices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public static Geometry createGeometry(float radius,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||