Class PoStreamSurface

All Implemented Interfaces:
SafeDisposable

public class PoStreamSurface extends PoBaseStreamLine
Representation of a surface connecting several streamlines. Class to build surfaces which represent stream-surfaces. It connects several streamlines to build a stream-surface. The source of each stream-surface is a rake for which the middle point is defined by startPoints. numLinesPerRake streamlines start from each segment.

Each surface is made up of numLinesPerRake * N points, where N is the smallest point number of all the numLinesPerRake streamline.

File format/default:

PoStreamSurface {

    rakeOrientation SbVec3f(1,0,0)
    numLinesPerRake 3
    rakeLength 1
    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>PoStreamSurface</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>groupStreamSurface</TT></UL> </UL> </UL> <UL> <UL> <UL><I>Contains a SoMaterial for the surface colors, a SoCoordinate3 for the surface coordinates and a SoQuadMesh.</I></UL> </UL> </UL> <UL> <UL>}</UL> </UL> <UL>}</UL> <UL> <UL>&nbsp;</UL> </UL> </BODY> </HTML>

  • Field Details

    • rakeOrientation

      public final SoMFVec3f rakeOrientation
      Orientation of the rake-sources. SbVec3f(1,0,0) by default.
    • numLinesPerRake

      public final SoSFInt32 numLinesPerRake
      Number of point sources per rake. For each rake-sources, numLinesPerRake streamlines are calculated and are connected by a quad mesh to form a stream- surface. 3 by default.
    • rakeLength

      public final SoSFFloat rakeLength
      Length of each rake-source. 1 by default.
  • Constructor Details

    • PoStreamSurface

      public PoStreamSurface()
      Constructor.
  • Method Details