Class PoStreamPointMotion

  • All Implemented Interfaces:
    SafeDisposable

    public class PoStreamPointMotion
    extends PoStreamParticleMotion
    Animation of point particles along streamline. Class for animation of particles along streamlines on a mesh. The animation is done as described in PoStreamParticleMotion. A point of which size is pointSize represents each particle.

    File format/default:

    PoStreamPointMotion {

      pointSize 3.0
      pulseFrequency 5
      shiftStart 0.0
      timeStep 1.0
      isStartRandomized true
      isBlinking true
      viewFrame 0
      blinkSpeed 3.0
      startPoints SbVec3f(0,0,0)
      maxLifetime 0 (i.e. infinite)
      maxLength 0 (i.e. infinite)
      minSpeed 0 (i.e. infinite)
      integrationStepLengthFactor 0.3
      integrationMaxStepNumber 0 (i.e. infinite)
      integrationDirection FORWARD
      colors (SbColor(1,0,0)
      coloringType COLOR_INHERITED
      valuesIndex -1
      valuesIndexForCellFilter -1
      vecsIndex -1
      moduleDataMapping NULL
    }

    <HTML> <HEAD> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="GENERATOR" CONTENT="Mozilla/4.03 [en] (X11; I; HP-UX A.09.07 9000/715) [Netscape]"> </HEAD> <BODY> <H4> <A NAME="Heading982"></A>CATALOG PARTS</H4> <UL><B>PoStreamPointMotion</B> {</UL> <UL> <UL><B>Separator</B> <TT>alternateRep</TT> (from PoBase) {</UL> </UL> <UL> <UL> <UL><B>AppearanceKit</B> <TT>appearance</TT> (from PoBase)</UL> </UL> </UL> <UL> <UL> <UL><I>Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR. material.diffuseColor is set when the kit is rebuilt, if the field coloringType is different from COLOR_INHERITED.</I></UL> </UL> </UL> <UL> <UL> <UL><B>MatrixTransform</B> <TT>domainTransform</TT> (from PoBase)</UL> </UL> </UL> <UL> <UL> <UL><I>Corresponds to the domain transformation.</I></UL> </UL> </UL> <UL> <UL> <UL><B>Group</B> <TT>groupStreamPointMotion</TT></UL> </UL> </UL> <UL> <UL> <UL><I>Contains a SoMaterialBinding and a SoBlinker node. The SoBlinker node contains NF SoGroup nodes called frame_group, where NF = pulseFrequency. Each frame_group contains NL SoGroup nodes called line_group, where NL is the number of streamlines (if each start point is inside the mesh, NL= startPoints.getNum()). Each line_group contains a SoCoordinate3, a SoMaterial, and a SoPointSet.</I></UL> </UL> </UL> <UL> <UL>}</UL> </UL> <UL>}</UL> <UL> <UL>&nbsp;</UL> </UL> </BODY> </HTML>

    • Field Detail

      • pointSize

        public final SoSFFloat pointSize
        Convenience field to set the point size attribute. 3.0 by default.
    • Constructor Detail

      • PoStreamPointMotion

        public PoStreamPointMotion()
        Constructor.