Representation of streamlines with motion of colors. More...
#include <MeshViz/3Ddata/PoStreamLineMotion.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoStreamLineMotion () | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFFloat | lineWidth |
SoSFColor | lineColor |
SoSFColor | particleColor |
Class to visualize streamlines on a mesh, with a motion of color on the lines that simulates a animation of particles. Each line is drawn with only 2 colors : lineColor is the background color of the streamline, and particleColor is the color of some parts of the line that move during visualization. The field PoMesh::coloringType and PoMesh::valuesIndex are not used by this class.
lineWidth | 2.0 |
lineColor | SbColor(0.0,0.0,0.4) |
particleColor | SbColor(0.0,0.9,0.9) |
pulseFrequency | 5 |
shiftStart | 0.0 |
timeStep | 1.0 |
isStartRandomized | TRUE |
isBlinking | TRUE |
viewFrame | 0 |
blinkSpeed | 3.0 |
valuesIndex | -1 |
coloringType | COLOR_INHERITED |
vecsIndex | -1 |
valuesIndexForCellFilter | -1 |
moduleDataMapping | NULL |
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) |
PoStreamLineMotion::PoStreamLineMotion | ( | ) |
Constructor.
static const SoNodekitCatalog* PoStreamLineMotion::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoStreamParticleMotion.
static SoType PoStreamLineMotion::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoStreamParticleMotion.
virtual const SoNodekitCatalog* PoStreamLineMotion::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoStreamParticleMotion.
virtual SoType PoStreamLineMotion::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoStreamParticleMotion.
virtual void PoStreamLineMotion::rebuild | ( | ) | [virtual] |
Color of each streamlines.
SbColor(0.0,0.0,0.4) by default.
Convenience field to set the width line attribute of each streamline drawn.
2.0 by default.
Color of the particles that move along the streamline.
SbColor(0.0,0.9,0.9).