PoBaseStreamLine Class Reference
[Representation]

MeshViz Base class of all streamline representations on a mesh. More...

#include <MeshViz/3Ddata/PoBaseStreamLine.h>

Inheritance diagram for PoBaseStreamLine:
PoMesh Po3DdataMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject PoStreamLine PoStreamParticleMotion PoStreamSurface PoStreamLineMotion PoStreamPointMotion PoStreamSphereMotion PoStreamTadpoleMotion

List of all members.

Public Types

enum  IntegrationDirection {
  FORWARD,
  BACKWARD
}

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoBaseStreamLine ()

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoMFVec3f startPoints
SoMFColor colors
SoSFFloat maxLifetime
SoSFFloat maxLength
SoSFFloat minSpeed
SoSFFloat integrationStepLengthFactor
SoSFInt32 integrationMaxStepNumber
SoSFEnum integrationDirection

Detailed Description

MeshViz Base class of all streamline representations on a mesh.

Class to calculate the geometry of streamlines starting from a list of source points. A streamline is a line that is everywhere tangent to the vectors field. Streamlines are meaningless for unsteady flow, because the time is not taken into account during the computation of the line. Streamlines are calculated by using a Runge/Kutta method of order 2.

The streamlines are calculated from a set of vectors in the current mesh. See PoMesh for more explanations about the current mesh. The index of vectors data set used to compute streamlines, is defined by the field PoMesh::vecsIndex. If this vectors data set does not exist in the current mesh, the representation is empty. The origin of each vector is a node of the mesh.

The derived classes respect the following rules to color the representation:

If PoMesh::coloringType = COLOR_INHERITED and if the field "colors" is empty, the representation uses only one inherited color, so each part of the representation have the same color.

If PoMesh::coloringType = COLOR_INHERITED and if the field colors is not empty, the representation uses each colors of field for each streamline. For example, the streamline starting from the i-th startPoints is colored by colors[inum_colors], where num_colors is the size of the field "colors".

If the field PoMesh::valuesIndex is not defined (i.e. < 0), and if coloringType != COLOR_INHERITED, the representations are colored by using the current data mapping applied to the velocity at each point of the streamlines. The definition of the "current data mapping" is explained in PoMesh.

If the field PoMesh::valuesIndex is defined, and if coloringType != COLOR_INHERITED, the representations are colored by using the current data mapping applied to the value at each point of the streamlines.

FILE FORMAT/DEFAULT


Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/