Interface VolumeEmitter

All Superinterfaces:
X3DNode, X3DParticleEmitterNode
All Known Implementing Classes:
VolumeEmitterObject

public interface VolumeEmitter
extends X3DParticleEmitterNode
VolumeEmitter emits particles from a random position confined within the given closed geometry volume.

X3D node tooltip: (X3D version 3.2 or later) [X3DParticleEmitterNode] VolumeEmitter emits particles from a random position confined within the given closed geometry volume.
  • Hint: otherwise, a VolumeEmitter node acts like a PolylineEmitter node.

Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification: TODO, X3D Abstract Specification: VolumeEmitter, X3D Tooltips: VolumeEmitter, X3D Scene Authoring Hints: Volume
  • Method Summary

    Modifier and Type Method Description
    X3DCoordinateNode getCoord()
    Provide X3DCoordinateNode instance (using a properly typed node) from inputOutput SFNode field coord.
    int[] getCoordIndex()
    Provide array of int results within allowed range of [-1,infinity) from initializeOnly MFInt32 field named coordIndex.
    float[] getDirection()
    Provide array of 3-tuple float results within allowed range of [-1,1] from inputOutput SFVec3f field named direction.
    boolean getInternal()
    Provide boolean value from initializeOnly SFBool field named internal.
    float getMass()
    Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named mass.
    X3DMetadataObject getMetadata()
    Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    float getSpeed()
    Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named speed.
    float getSurfaceArea()
    Provide float value within allowed range of [0,infinity) from initializeOnly SFFloat field named surfaceArea.
    float getVariation()
    Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named variation.
    VolumeEmitter setCoord​(X3DCoordinateNode newValue)
    Accessor method to assign X3DCoordinateNode instance (using a properly typed node) to inputOutput SFNode field coord.
    VolumeEmitter setCoordIndex​(int[] newValue)
    Accessor method to assign int array to initializeOnly MFInt32 field named coordIndex.
    VolumeEmitter setDirection​(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named direction.
    VolumeEmitter setInternal​(boolean newValue)
    Accessor method to assign boolean value to initializeOnly SFBool field named internal.
    VolumeEmitter setMass​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named mass.
    VolumeEmitter setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    VolumeEmitter setSpeed​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named speed.
    VolumeEmitter setSurfaceArea​(float newValue)
    Accessor method to assign float value to initializeOnly SFFloat field named surfaceArea.
    VolumeEmitter setVariation​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named variation.
  • Method Details

    • getCoord

      X3DCoordinateNode getCoord()
      Provide X3DCoordinateNode instance (using a properly typed node) from inputOutput SFNode field coord.

      Tooltip: [X3DCoordinateNode] Coordinates for the geometry used as the emitting volume. *
      Returns:
      value of coord field
    • setCoord

      VolumeEmitter setCoord​(X3DCoordinateNode newValue)
      Accessor method to assign X3DCoordinateNode instance (using a properly typed node) to inputOutput SFNode field coord.

      Tooltip: [X3DCoordinateNode] Coordinates for the geometry used as the emitting volume. *
      Parameters:
      newValue - is new value for the coord field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getCoordIndex

      int[] getCoordIndex()
      Provide array of int results within allowed range of [-1,infinity) from initializeOnly MFInt32 field named coordIndex.

      Tooltip: [-1,+infinity) coordIndex indices are applied to contained Coordinate values in order to define randomly generated initial geometry of the particles.
      • Warning: coordIndex is required in order to connect contained coordinate point values.
      Returns:
      value of coordIndex field
    • setCoordIndex

      VolumeEmitter setCoordIndex​(int[] newValue)
      Accessor method to assign int array to initializeOnly MFInt32 field named coordIndex.

      Tooltip: [-1,+infinity) coordIndex indices are applied to contained Coordinate values in order to define randomly generated initial geometry of the particles.
      • Warning: coordIndex is required in order to connect contained coordinate point values.
      Parameters:
      newValue - is new value for the coordIndex field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getDirection

      float[] getDirection()
      Provide array of 3-tuple float results within allowed range of [-1,1] from inputOutput SFVec3f field named direction.

      Tooltip: Initial direction from which particles emanate. *
      Returns:
      value of direction field
    • setDirection

      VolumeEmitter setDirection​(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named direction.

      Tooltip: Initial direction from which particles emanate. *
      Parameters:
      newValue - is new value for the direction field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getInternal

      boolean getInternal()
      Provide boolean value from initializeOnly SFBool field named internal.

      Tooltip: TODO, X3D specification is undefined. *
      Returns:
      value of internal field
    • setInternal

      VolumeEmitter setInternal​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named internal.

      Tooltip: TODO, X3D specification is undefined. *
      Parameters:
      newValue - is new value for the internal field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMass

      float getMass()
      Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named mass.

      Tooltip: [0,+infinity) Basic mass of each particle, defined in mass base units (default is kilograms).
      Specified by:
      getMass in interface X3DParticleEmitterNode
      Returns:
      value of mass field
    • setMass

      VolumeEmitter setMass​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named mass.

      Tooltip: [0,+infinity) Basic mass of each particle, defined in mass base units (default is kilograms).
      Specified by:
      setMass in interface X3DParticleEmitterNode
      Parameters:
      newValue - is new value for the mass field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMetadata

      X3DMetadataObject getMetadata()
      Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
      Specified by:
      getMetadata in interface X3DNode
      Specified by:
      getMetadata in interface X3DParticleEmitterNode
      Returns:
      value of metadata field
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • setMetadata

      VolumeEmitter setMetadata​(X3DMetadataObject newValue)
      Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
      Specified by:
      setMetadata in interface X3DNode
      Specified by:
      setMetadata in interface X3DParticleEmitterNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • getSpeed

      float getSpeed()
      Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named speed.

      Tooltip: [0,+infinity) Initial linear speed (default is m/s) imparted to all particles along their direction of movement. *
      Specified by:
      getSpeed in interface X3DParticleEmitterNode
      Returns:
      value of speed field
    • setSpeed

      VolumeEmitter setSpeed​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named speed.

      Tooltip: [0,+infinity) Initial linear speed (default is m/s) imparted to all particles along their direction of movement. *
      Specified by:
      setSpeed in interface X3DParticleEmitterNode
      Parameters:
      newValue - is new value for the speed field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getSurfaceArea

      float getSurfaceArea()
      Provide float value within allowed range of [0,infinity) from initializeOnly SFFloat field named surfaceArea.

      Tooltip: [0,+infinity) Particle surface area in area base units (default is meters squared). Surface area is used for calculations such as wind effects per particle.
      • Hint: surfaceArea value represents average frontal area presented to the wind.
      • Hint: assumes spherical model for each particle (i.e., surface area is the same regardless of direction).
      Specified by:
      getSurfaceArea in interface X3DParticleEmitterNode
      Returns:
      value of surfaceArea field
    • setSurfaceArea

      VolumeEmitter setSurfaceArea​(float newValue)
      Accessor method to assign float value to initializeOnly SFFloat field named surfaceArea.

      Tooltip: [0,+infinity) Particle surface area in area base units (default is meters squared). Surface area is used for calculations such as wind effects per particle.
      • Hint: surfaceArea value represents average frontal area presented to the wind.
      • Hint: assumes spherical model for each particle (i.e., surface area is the same regardless of direction).
      Specified by:
      setSurfaceArea in interface X3DParticleEmitterNode
      Parameters:
      newValue - is new value for the surfaceArea field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getVariation

      float getVariation()
      Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named variation.

      Tooltip: [0,+infinity) Multiplier for the randomness used to control the range of possible output values. The bigger the value, the more random the output and the bigger the range of possible initial values possible.
      • Hint: variation of zero does not allow any randomness.
      Specified by:
      getVariation in interface X3DParticleEmitterNode
      Returns:
      value of variation field
    • setVariation

      VolumeEmitter setVariation​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named variation.

      Tooltip: [0,+infinity) Multiplier for the randomness used to control the range of possible output values. The bigger the value, the more random the output and the bigger the range of possible initial values possible.
      • Hint: variation of zero does not allow any randomness.
      Specified by:
      setVariation in interface X3DParticleEmitterNode
      Parameters:
      newValue - is new value for the variation field.
      Returns:
      VolumeEmitter - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).