|
||||||||||
| 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.Box
public class Box
A simple Box.
| 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 | |
|---|---|
Box(float sizeX,
float sizeY,
float sizeZ,
Appearance app)
Builds a Box. |
|
Box(float sizeX,
float sizeY,
float sizeZ,
org.openmali.vecmath2.Colorf color)
Builds a Box. |
|
Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
Appearance app)
Builds a Box. |
|
Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
org.openmali.vecmath2.Colorf color)
Builds a Box. |
|
Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
Builds a Box. |
|
Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
java.lang.String texture)
Builds a Box. |
|
Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
Texture texture)
Builds a Box. |
|
Box(float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
Builds a Box. |
|
Box(float sizeX,
float sizeY,
float sizeZ,
java.lang.String texture)
Builds a Box. |
|
Box(float sizeX,
float sizeY,
float sizeZ,
Texture texture)
Builds a Box. |
|
Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
Appearance app)
Builds a Box. |
|
Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
org.openmali.vecmath2.Colorf color)
Builds a Box. |
|
Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
Builds a Box. |
|
Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
java.lang.String texture)
Builds a Box. |
|
Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
Texture texture)
Builds a Box. |
|
| Method Summary | |
|---|---|
static Box |
createFromBoxBody(org.openmali.spatial.bodies.Box box,
Appearance app)
Builds a Box. |
static Box |
createFromBoxBody(org.openmali.spatial.bodies.Box box,
org.openmali.vecmath2.Colorf color)
Builds a Box. |
static Box |
createFromBoxBody(org.openmali.spatial.bodies.Box box,
int features,
boolean colorAlpha,
int texCoordsSize)
Builds a Box. |
static Box |
createFromBoxBody(org.openmali.spatial.bodies.Box box,
java.lang.String texture)
Builds a Box. |
static Box |
createFromBoxBody(org.openmali.spatial.bodies.Box box,
Texture texture)
Builds a Box. |
static GeometryArray |
createGeometry(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static GeometryArray |
createGeometry(float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static GeometryConstruct |
createGeometryConstructTA(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static GeometryConstruct |
createGeometryConstructTA(float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
|
static TriangleArray |
createGeometryTA(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
|
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 Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
offsetX - offsetY - offsetZ - sizeX - sizeY - sizeZ - features - GeomatryArray featurescolorAlpha - texCoordsSize -
public Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
offset - sizeX - sizeY - sizeZ - features - GeomatryArray featurescolorAlpha - texCoordsSize -
public Box(float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
sizeX - sizeY - sizeZ - features - GeomatryArray featurescolorAlpha - texCoordsSize -
public Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
Texture texture)
offsetX - offsetY - offsetZ - sizeX - sizeY - sizeZ - texture -
public Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
Texture texture)
offset - sizeX - sizeY - sizeZ - texture -
public Box(float sizeX,
float sizeY,
float sizeZ,
Texture texture)
sizeX - sizeY - sizeZ - texture -
public Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
java.lang.String texture)
offsetX - offsetY - offsetZ - sizeX - sizeY - sizeZ - texture -
public Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
java.lang.String texture)
offset - sizeX - sizeY - sizeZ - texture -
public Box(float sizeX,
float sizeY,
float sizeZ,
java.lang.String texture)
sizeX - sizeY - sizeZ - texture -
public Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
org.openmali.vecmath2.Colorf color)
offsetX - offsetY - offsetZ - sizeX - sizeY - sizeZ - color -
public Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
org.openmali.vecmath2.Colorf color)
offset - sizeX - sizeY - sizeZ - color -
public Box(float sizeX,
float sizeY,
float sizeZ,
org.openmali.vecmath2.Colorf color)
sizeX - sizeY - sizeZ - color -
public Box(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
Appearance app)
offsetX - offsetY - offsetZ - sizeX - sizeY - sizeZ - app -
public Box(org.openmali.vecmath2.Tuple3f offset,
float sizeX,
float sizeY,
float sizeZ,
Appearance app)
offset - sizeX - sizeY - sizeZ - app -
public Box(float sizeX,
float sizeY,
float sizeZ,
Appearance app)
sizeX - sizeY - sizeZ - app - | Method Detail |
|---|
public static void setGeometryConstructionTypeHint(GeometryType hint)
hint - public static GeometryType getGeometryConstructionTypeHint()
public static GeometryConstruct createGeometryConstructTA(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
public static GeometryConstruct createGeometryConstructTA(float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
public static TriangleArray createGeometryTA(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
public static GeometryArray createGeometry(float offsetX,
float offsetY,
float offsetZ,
float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
public static GeometryArray createGeometry(float sizeX,
float sizeY,
float sizeZ,
int features,
boolean colorAlpha,
int texCoordsSize)
public static final Box createFromBoxBody(org.openmali.spatial.bodies.Box box,
int features,
boolean colorAlpha,
int texCoordsSize)
box - the box-body to create this scenegraph-box-primitive fromfeatures - GeomatryArray featurescolorAlpha - texCoordsSize -
public static final Box createFromBoxBody(org.openmali.spatial.bodies.Box box,
Texture texture)
box - the box-body to create this scenegraph-box-primitive fromtexture -
public static final Box createFromBoxBody(org.openmali.spatial.bodies.Box box,
java.lang.String texture)
box - the box-body to create this scenegraph-box-primitive fromtexture -
public static final Box createFromBoxBody(org.openmali.spatial.bodies.Box box,
org.openmali.vecmath2.Colorf color)
box - the box-body to create this scenegraph-box-primitive fromcolor -
public static final Box createFromBoxBody(org.openmali.spatial.bodies.Box box,
Appearance app)
box - the box-body to create this scenegraph-box-primitive fromapp -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||