|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.scene.Spatial
com.jme.scene.Geometry
com.jme.scene.TriMesh
com.jme.scene.shape.Tube
public class Tube
A hollow cylindrical shape (the cylinder wall can have width).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jme.scene.TriMesh |
|---|
TriMesh.Mode |
| Nested classes/interfaces inherited from class com.jme.scene.Spatial |
|---|
Spatial.CullHint, Spatial.LightCombineMode, Spatial.NormalsMode, Spatial.TextureCombineMode |
| Field Summary |
|---|
| Fields inherited from class com.jme.scene.TriMesh |
|---|
indexBuffer, mode, triangleQuantity |
| Fields inherited from class com.jme.scene.Geometry |
|---|
binormalBuf, bound, castsShadows, colorBuf, compVect, defaultColor, displayListID, enabled, fogBuf, hasDirtyVertices, normBuf, states, tangentBuf, texBuf, vboInfo, vertBuf, vertQuantity |
| Fields inherited from class com.jme.scene.Spatial |
|---|
collisionBits, cullHint, frustrumIntersects, geometricalControllers, lightCombineMode, localRotation, localScale, localTranslation, LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, lockedMode, name, normalsMode, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
| Constructor Summary | |
|---|---|
Tube()
Constructor meant for Savable use only. |
|
Tube(java.lang.String name,
float outerRadius,
float innerRadius,
float height)
|
|
Tube(java.lang.String name,
float outerRadius,
float innerRadius,
float height,
int axisSamples,
int radialSamples)
|
|
| Method Summary | |
|---|---|
int |
getAxisSamples()
|
float |
getHeight()
|
float |
getInnerRadius()
|
float |
getOuterRadius()
|
int |
getRadialSamples()
|
static long |
getSerialVersionUID()
Deprecated. |
void |
read(JMEImporter e)
|
void |
setAxisSamples(int axisSamples)
Deprecated. Use updateGeometry(float, float, float, int, int) instead. |
void |
setHeight(float height)
Deprecated. Use updateGeometry(float, float, float, int, int) instead. |
void |
setInnerRadius(float innerRadius)
Deprecated. Use updateGeometry(float, float, float, int, int) instead. |
void |
setOuterRadius(float outerRadius)
Deprecated. Use updateGeometry(float, float, float, int, int) instead. |
void |
setRadialSamples(int radialSamples)
Deprecated. Use updateGeometry(float, float, float, int, int) instead. |
void |
updateGeometry(float outerRadius,
float innerRadius,
float height,
int axisSamples,
int radialSamples)
|
void |
write(JMEExporter e)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag |
| Constructor Detail |
|---|
public Tube()
public Tube(java.lang.String name,
float outerRadius,
float innerRadius,
float height)
public Tube(java.lang.String name,
float outerRadius,
float innerRadius,
float height,
int axisSamples,
int radialSamples)
| Method Detail |
|---|
@Deprecated public static long getSerialVersionUID()
public int getAxisSamples()
public float getHeight()
public float getInnerRadius()
public float getOuterRadius()
public int getRadialSamples()
public void read(JMEImporter e)
throws java.io.IOException
read in interface Savableread in class TriMeshjava.io.IOExceptionpublic void setAxisSamples(int axisSamples)
updateGeometry(float, float, float, int, int) instead.
public void setHeight(float height)
updateGeometry(float, float, float, int, int) instead.
public void setInnerRadius(float innerRadius)
updateGeometry(float, float, float, int, int) instead.
public void setOuterRadius(float outerRadius)
updateGeometry(float, float, float, int, int) instead.
public void setRadialSamples(int radialSamples)
updateGeometry(float, float, float, int, int) instead.
public void updateGeometry(float outerRadius,
float innerRadius,
float height,
int axisSamples,
int radialSamples)
public void write(JMEExporter e)
throws java.io.IOException
write in interface Savablewrite in class TriMeshjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||