|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.x3d.X3DUtils
Utility methods for creating simple X3D node sets
| Constructor Summary | |
X3DUtils()
|
|
| Method Summary | |
static Shape |
createBoxShape(org.web3d.x3d.sai.X3DScene scene,
java.awt.Color color)
Return a Shape containing a Box primative that is the argument Color |
static Shape |
createConeShape(org.web3d.x3d.sai.X3DScene scene,
java.awt.Color color)
Return a Shape containing a Cone primative that is the argument Color |
static Shape |
createIFSShape(org.web3d.x3d.sai.X3DScene scene,
IFSDataSource source)
Return a Shape containing the IndexedFaceSet generated from the source argument |
static Shape |
createIFSShape(org.web3d.x3d.sai.X3DScene scene,
IFSDataSource source,
boolean createDefaultAppearance)
Return a Shape containing the IndexedFaceSet generated from the source argument |
static Shape |
createILSShape(org.web3d.x3d.sai.X3DScene scene,
ILSDataSource source,
java.awt.Color color)
Return a Shape containing the IndexedLineSet generated from the source argument that is the argument Color |
static IndexedFaceSet |
createIndexedFaceSet(org.web3d.x3d.sai.X3DScene scene,
IFSDataSource source)
Return an IndexedFaceSet generated from the source argument |
static Shape |
createSphereShape(org.web3d.x3d.sai.X3DScene scene,
java.awt.Color color)
Return a Shape containing a Sphere primative that is the argument Color |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public X3DUtils()
| Method Detail |
public static Shape createILSShape(org.web3d.x3d.sai.X3DScene scene,
ILSDataSource source,
java.awt.Color color)
scene - The X3DScene object to create the Shape withsource - The ILSDataSource which will generate the geometrycolor - The Color to apply to the Shape
public static Shape createIFSShape(org.web3d.x3d.sai.X3DScene scene,
IFSDataSource source)
scene - The X3DScene object to create the Shape withsource - The IFSDataSource which will generate the geometry
public static IndexedFaceSet createIndexedFaceSet(org.web3d.x3d.sai.X3DScene scene,
IFSDataSource source)
scene - The X3DScene object to create the Shape withsource - The IFSDataSource which will generate the geometry
public static Shape createIFSShape(org.web3d.x3d.sai.X3DScene scene,
IFSDataSource source,
boolean createDefaultAppearance)
scene - The X3DScene object to create the Shape withsource - The IFSDataSource which will generate the geometrycreateDefaultAppearance - flag indicating whether the generated Shape should
contain an Appearance node with default settings. true an Appearance node is create
and added to the Shape. false, the appearance field of the Shape is left as null.
public static Shape createBoxShape(org.web3d.x3d.sai.X3DScene scene,
java.awt.Color color)
scene - The X3DScene object to create the Shape withcolor - The Color to apply to the Shape
public static Shape createConeShape(org.web3d.x3d.sai.X3DScene scene,
java.awt.Color color)
scene - The X3DScene object to create the Shape withcolor - The Color to apply to the Shape
public static Shape createSphereShape(org.web3d.x3d.sai.X3DScene scene,
java.awt.Color color)
scene - The X3DScene object to create the Shape withcolor - The Color to apply to the Shape
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||