Class SAIPolylineEmitter
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.particlesystems.SAIPolylineEmitter
- All Implemented Interfaces:
PolylineEmitter,X3DNode,X3DParticleEmitterNode
A concrete implementation of the PolylineEmitter node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIPolylineEmitter(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetCoordIndex(int[] val) Return the coordIndex value in the argument int[]Return the coords X3DNode value.voidgetDirection(float[] val) Return the direction value in the argument float[]floatgetMass()Return the mass float value.intReturn the number of MFInt32 items in the coordIndex field.floatgetSpeed()Return the speed float value.floatReturn the surfaceArea float value.floatReturn the variation float value.voidsetCoordIndex(int[] val) Set the coordIndex field.voidSet the coords field.voidSet the coords field.voidsetDirection(float[] val) Set the direction field.voidsetMass(float val) Set the mass field.voidsetSpeed(float val) Set the speed field.voidsetSurfaceArea(float val) Set the surfaceArea field.voidsetVariation(float val) Set the variation field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIPolylineEmitter
public SAIPolylineEmitter(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getNumCoordIndex
public int getNumCoordIndex()Return the number of MFInt32 items in the coordIndex field.- Specified by:
getNumCoordIndexin interfacePolylineEmitter- Returns:
- the number of MFInt32 items in the coordIndex field.
-
getCoordIndex
public void getCoordIndex(int[] val) Return the coordIndex value in the argument int[]- Specified by:
getCoordIndexin interfacePolylineEmitter- Parameters:
val- The int[] to initialize.
-
setCoordIndex
public void setCoordIndex(int[] val) Set the coordIndex field.- Specified by:
setCoordIndexin interfacePolylineEmitter- Parameters:
val- The int[] to set.
-
getSpeed
public float getSpeed()Return the speed float value.- Specified by:
getSpeedin interfaceX3DParticleEmitterNode- Returns:
- The speed float value.
-
setSpeed
public void setSpeed(float val) Set the speed field.- Specified by:
setSpeedin interfaceX3DParticleEmitterNode- Parameters:
val- The float to set.
-
getMass
public float getMass()Return the mass float value.- Specified by:
getMassin interfaceX3DParticleEmitterNode- Returns:
- The mass float value.
-
setMass
public void setMass(float val) Set the mass field.- Specified by:
setMassin interfaceX3DParticleEmitterNode- Parameters:
val- The float to set.
-
getSurfaceArea
public float getSurfaceArea()Return the surfaceArea float value.- Specified by:
getSurfaceAreain interfaceX3DParticleEmitterNode- Returns:
- The surfaceArea float value.
-
setSurfaceArea
public void setSurfaceArea(float val) Set the surfaceArea field.- Specified by:
setSurfaceAreain interfaceX3DParticleEmitterNode- Parameters:
val- The float to set.
-
getVariation
public float getVariation()Return the variation float value.- Specified by:
getVariationin interfaceX3DParticleEmitterNode- Returns:
- The variation float value.
-
setVariation
public void setVariation(float val) Set the variation field.- Specified by:
setVariationin interfaceX3DParticleEmitterNode- Parameters:
val- The float to set.
-
getCoords
Return the coords X3DNode value.- Specified by:
getCoordsin interfacePolylineEmitter- Returns:
- The coords X3DNode value.
-
setCoords
Set the coords field.- Specified by:
setCoordsin interfacePolylineEmitter- Parameters:
val- The X3DCoordinateNode to set.
-
setCoords
Set the coords field.- Specified by:
setCoordsin interfacePolylineEmitter- Parameters:
val- The X3DProtoInstance to set.
-
getDirection
public void getDirection(float[] val) Return the direction value in the argument float[]- Specified by:
getDirectionin interfacePolylineEmitter- Parameters:
val- The float[] to initialize.
-
setDirection
public void setDirection(float[] val) Set the direction field.- Specified by:
setDirectionin interfacePolylineEmitter- Parameters:
val- The float[] to set.
-