|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.symbols3d.ShapeCreator3D
public class ShapeCreator3D
A very speedy NodeCreator implementation for about 35.000 nodes. Use some fast GeometryGenerators from j3d.org.
Constructor Summary | |
---|---|
ShapeCreator3D()
|
Method Summary | |
---|---|
static javax.media.j3d.GeometryArray |
createBox(float x,
float y,
float z,
float size)
Returns a box. |
static javax.media.j3d.GeometryArray |
createBox(float x,
float y,
float z,
float size,
double rot)
|
static javax.media.j3d.GeometryArray |
createBox(float x,
float y,
float z,
float sizeX,
float sizeY,
float sizeZ)
|
static javax.media.j3d.GeometryArray |
createBox(float x,
float y,
float z,
float sizeX,
float sizeY,
float sizeZ,
double rotZ)
|
static javax.media.j3d.GeometryArray |
createSphere(float x,
float y,
float z,
float size)
Returns a sphere. |
static javax.media.j3d.GeometryArray |
createSphere(float x,
float y,
float z,
float size,
boolean half,
double rotZ,
int k)
|
static javax.vecmath.Color4f[] |
getColorArray(javax.vecmath.Color4f color,
int size)
Creates a color array with the given color and size. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapeCreator3D()
Method Detail |
---|
public static javax.media.j3d.GeometryArray createBox(float x, float y, float z, float size)
x
- position on the x-axis.y
- position on the y-axis.z
- position on the z-axis.size
- radius
public static javax.media.j3d.GeometryArray createBox(float x, float y, float z, float sizeX, float sizeY, float sizeZ)
public static javax.media.j3d.GeometryArray createBox(float x, float y, float z, float size, double rot)
public static javax.media.j3d.GeometryArray createBox(float x, float y, float z, float sizeX, float sizeY, float sizeZ, double rotZ)
public static javax.vecmath.Color4f[] getColorArray(javax.vecmath.Color4f color, int size)
color
- colorsize
- vertex count
public static javax.media.j3d.GeometryArray createSphere(float x, float y, float z, float size)
x
- position on the x-axis.y
- position on the y-axis.z
- position on the z-axis.size
- radius
public static javax.media.j3d.GeometryArray createSphere(float x, float y, float z, float size, boolean half, double rotZ, int k)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |