|
||||||||||
| 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.Cylinder
public class Cylinder
An open cylinder pointing in the +/-y direction. Has unit height.
| 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 | |
|---|---|
Cylinder(float taper,
boolean closed,
int slices,
Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
boolean closed,
int slices,
org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
boolean closed,
int slices,
java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
boolean closed,
int slices,
Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
boolean closed,
int slices,
Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
boolean closed,
int slices,
org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
boolean closed,
int slices,
java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
boolean closed,
int slices,
Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float radius,
float height,
float taper,
boolean closed,
int slices,
Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float radius,
float height,
float taper,
boolean closed,
int slices,
org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float height,
float taper,
boolean closed,
int slices,
java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float radius,
float height,
float taper,
boolean closed,
int slices,
Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float radius,
float height,
float taper,
int slices,
Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float radius,
float height,
float taper,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float radius,
float height,
float taper,
int slices,
java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float radius,
float height,
float taper,
int slices,
Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
int slices,
Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
int slices,
org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
int slices,
java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float size,
float taper,
int slices,
Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
int slices,
Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
int slices,
org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
int slices,
float radius,
float height,
org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
int slices,
java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
Cylinder(float taper,
int slices,
Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. |
|
| Method Summary | |
|---|---|
static Geometry |
createGeometry(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static GeometryConstruct |
createGeometryConstructITA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
static GeometryConstruct |
createGeometryConstructITSA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
static GeometryConstruct |
createGeometryConstructTA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
static IndexedTriangleArray |
createGeometryITA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
static IndexedTriangleStripArray |
createGeometryITSA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
static TriangleArray |
createGeometryTA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. |
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 Cylinder(float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public Cylinder(float taper,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public Cylinder(float size,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize - StaticTransform.scale(Shape3D, float)
public Cylinder(float size,
float taper,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize - StaticTransform.scale(Shape3D, float)
public Cylinder(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize - StaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float radius,
float height,
float taper,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize - StaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float taper,
boolean closed,
int slices,
Texture texture)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's Appearance
public Cylinder(float taper,
int slices,
Texture texture)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's Appearance
public Cylinder(float size,
float taper,
boolean closed,
int slices,
Texture texture)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, float)
public Cylinder(float size,
float taper,
int slices,
Texture texture)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, float)
public Cylinder(float radius,
float height,
float taper,
boolean closed,
int slices,
Texture texture)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float radius,
float height,
float taper,
int slices,
Texture texture)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float taper,
boolean closed,
int slices,
java.lang.String texture)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's Appearance
public Cylinder(float taper,
int slices,
java.lang.String texture)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's Appearance
public Cylinder(float size,
float taper,
boolean closed,
int slices,
java.lang.String texture)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, float)
public Cylinder(float size,
float taper,
int slices,
java.lang.String texture)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, float)
public Cylinder(float size,
float height,
float taper,
boolean closed,
int slices,
java.lang.String texture)
size - amount to enlarge the cylinder byheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float radius,
float height,
float taper,
int slices,
java.lang.String texture)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conetexture - the Texture to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float taper,
boolean closed,
int slices,
org.openmali.vecmath2.Colorf color)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conecolor - the color to be applied to the Shape's Appearance
public Cylinder(float taper,
int slices,
org.openmali.vecmath2.Colorf color)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conecolor - the color to be applied to the Shape's Appearance
public Cylinder(float size,
float taper,
boolean closed,
int slices,
org.openmali.vecmath2.Colorf color)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conecolor - the color to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, float)
public Cylinder(float size,
float taper,
int slices,
org.openmali.vecmath2.Colorf color)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conecolor - the color to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, float)
public Cylinder(float radius,
float height,
float taper,
boolean closed,
int slices,
org.openmali.vecmath2.Colorf color)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conecolor - the color to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float taper,
int slices,
float radius,
float height,
org.openmali.vecmath2.Colorf color)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the conecolor - the color to be applied to the Shape's AppearanceStaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float taper,
boolean closed,
int slices,
Appearance app)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the coneapp - the Appearance to be applied to this Shape
public Cylinder(float taper,
int slices,
Appearance app)
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the coneapp - the Appearance to be applied to this Shape
public Cylinder(float size,
float taper,
boolean closed,
int slices,
Appearance app)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the coneapp - the Appearance to be applied to this ShapeStaticTransform.scale(Shape3D, float)
public Cylinder(float size,
float taper,
int slices,
Appearance app)
size - amount to enlarge the cylinder bytaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the coneapp - the Appearance to be applied to this ShapeStaticTransform.scale(Shape3D, float)
public Cylinder(float radius,
float height,
float taper,
boolean closed,
int slices,
Appearance app)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the coneapp - the Appearance to be applied to this ShapeStaticTransform.scale(Shape3D, Tuple3f)
public Cylinder(float radius,
float height,
float taper,
int slices,
Appearance app)
radius - Cylinder radiusheight - Cylinder heighttaper - ratio of upper to lower radii (alpha=1 gives parallel walls)slices - Number of vertical stripes down the coneapp - the Appearance to be applied to this ShapeStaticTransform.scale(Shape3D, Tuple3f)| Method Detail |
|---|
public static void setGeometryConstructionTypeHint(GeometryType hint)
hint - public static GeometryType getGeometryConstructionTypeHint()
public static GeometryConstruct createGeometryConstructITSA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - height - taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public static IndexedTriangleStripArray createGeometryITSA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - height - taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public static GeometryConstruct createGeometryConstructITA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - height - taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public static IndexedTriangleArray createGeometryITA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - height - taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public static GeometryConstruct createGeometryConstructTA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - height - taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public static TriangleArray createGeometryTA(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
radius - height - taper - ratio of upper to lower radii (alpha=1 gives parallel walls)closed - shall the cylinder have caps?slices - Number of vertical stripes down the conefeatures - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...colorAlpha - texCoordsSize -
public static Geometry createGeometry(float radius,
float height,
float taper,
boolean closed,
int slices,
int features,
boolean colorAlpha,
int texCoordsSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||