PoStreamTadpoleMotion Class Reference
[Representation]

MeshViz Animation of tadpole particles along streamline. More...

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

Inheritance diagram for PoStreamTadpoleMotion:
PoStreamParticleMotion PoBaseStreamLine PoMesh Po3DdataMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoStreamTadpoleMotion ()
virtual void rebuild ()

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoSFFloat width
SoSFFloat lengthFactor
SoSFColor backColor
SoSFColor particleColor

Detailed Description

MeshViz Animation of tadpole particles along streamline.

Class to visualize particle along streamlines on a mesh. Each particle is represented by a line set which looks like a tadpole.

Each particle is represented by a segment made up of 3 aligned points. The segment's length is equal to lengthFactor*V, where V is the velocity interpolated at the position of the particle. Each segment has a width attribute equal width.

The 2 end points of each segment is colored by backColor. If PoMesh::coloringType != COLOR_INHERITED and if PoMesh::valuesIndex is defined (i.e. >=0) the middle point is colored in applying the current data mapping to the scalar value interpolated at the particle position. If PoMesh::valuesIndex is undefined (i.e. <0) the middle point is colored in applying the current data mapping to the velocity interpolated at the position of the particle. Otherwise (PoMesh::coloringType = COLOR_INHERITED), if PoBaseStreamLine::colors is not empty, the middle point is colored by one of these colors (all the particle of the same streamline have the same color), or by particleColor if PoBaseStreamLine::colors is empty.

FILE FORMAT/DEFAULT


Open Inventor Toolkit reference manual, generated on 16 Mar 2021
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/