Class SAIPolylineEmitter
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.particlesystems.SAIPolylineEmitter
- All Implemented Interfaces:
PolylineEmitter
,X3DNode
,X3DParticleEmitterNode
A concrete implementation of the PolylineEmitter node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIPolylineEmitter
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getCoordIndex
(int[] val) Return the coordIndex value in the argument int[]Return the coords X3DNode value.void
getDirection
(float[] val) Return the direction value in the argument float[]float
getMass()
Return the mass float value.int
Return the number of MFInt32 items in the coordIndex field.float
getSpeed()
Return the speed float value.float
Return the surfaceArea float value.float
Return the variation float value.void
setCoordIndex
(int[] val) Set the coordIndex field.void
Set the coords field.void
Set the coords field.void
setDirection
(float[] val) Set the direction field.void
setMass
(float val) Set the mass field.void
setSpeed
(float val) Set the speed field.void
setSurfaceArea
(float val) Set the surfaceArea field.void
setVariation
(float val) Set the variation field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIPolylineEmitter
public SAIPolylineEmitter(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getNumCoordIndex
public int getNumCoordIndex()Return the number of MFInt32 items in the coordIndex field.- Specified by:
getNumCoordIndex
in 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:
getCoordIndex
in interfacePolylineEmitter
- Parameters:
val
- The int[] to initialize.
-
setCoordIndex
public void setCoordIndex(int[] val) Set the coordIndex field.- Specified by:
setCoordIndex
in interfacePolylineEmitter
- Parameters:
val
- The int[] to set.
-
getSpeed
public float getSpeed()Return the speed float value.- Specified by:
getSpeed
in interfaceX3DParticleEmitterNode
- Returns:
- The speed float value.
-
setSpeed
public void setSpeed(float val) Set the speed field.- Specified by:
setSpeed
in interfaceX3DParticleEmitterNode
- Parameters:
val
- The float to set.
-
getMass
public float getMass()Return the mass float value.- Specified by:
getMass
in interfaceX3DParticleEmitterNode
- Returns:
- The mass float value.
-
setMass
public void setMass(float val) Set the mass field.- Specified by:
setMass
in interfaceX3DParticleEmitterNode
- Parameters:
val
- The float to set.
-
getSurfaceArea
public float getSurfaceArea()Return the surfaceArea float value.- Specified by:
getSurfaceArea
in interfaceX3DParticleEmitterNode
- Returns:
- The surfaceArea float value.
-
setSurfaceArea
public void setSurfaceArea(float val) Set the surfaceArea field.- Specified by:
setSurfaceArea
in interfaceX3DParticleEmitterNode
- Parameters:
val
- The float to set.
-
getVariation
public float getVariation()Return the variation float value.- Specified by:
getVariation
in interfaceX3DParticleEmitterNode
- Returns:
- The variation float value.
-
setVariation
public void setVariation(float val) Set the variation field.- Specified by:
setVariation
in interfaceX3DParticleEmitterNode
- Parameters:
val
- The float to set.
-
getCoords
Return the coords X3DNode value.- Specified by:
getCoords
in interfacePolylineEmitter
- Returns:
- The coords X3DNode value.
-
setCoords
Set the coords field.- Specified by:
setCoords
in interfacePolylineEmitter
- Parameters:
val
- The X3DCoordinateNode to set.
-
setCoords
Set the coords field.- Specified by:
setCoords
in interfacePolylineEmitter
- Parameters:
val
- The X3DProtoInstance to set.
-
getDirection
public void getDirection(float[] val) Return the direction value in the argument float[]- Specified by:
getDirection
in interfacePolylineEmitter
- Parameters:
val
- The float[] to initialize.
-
setDirection
public void setDirection(float[] val) Set the direction field.- Specified by:
setDirection
in interfacePolylineEmitter
- Parameters:
val
- The float[] to set.
-