Rendering node that displays streamlines of a vector field on a volume mesh. More...
#include <MeshVizXLM/mapping/nodes/MoMeshStreamline.h>
Public Types | |
enum | IntegrationDirection { FORWARD, BACKWARD } |
Public Member Functions | |
virtual SoType | getTypeId () const |
MoMeshStreamline () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFInt32 | vec3SetId |
SoMFVec3f | startingPoints |
SoSFDouble | maxLifeTime |
SoSFDouble | maxLength |
SoSFDouble | minSpeed |
SoSFDouble | integrationStepLengthFactor |
SoSFInt32 | maxStepNumber |
SoSFEnum | direction |
| |
const MiStreamlineExtractUnstructured * | getUnstructuredExtractor () |
const MiStreamlineExtractUnstructuredIjk * | getUnstructuredIjkExtractor () |
const MiStreamlineExtractIjk * | getIjkExtractor () |
Displays a list of MiLineMeshCurvilinear meshes containing streamlines starting from a list of source points and probes the input mesh to compute the values at the streamline nodes (See the SEE ALSO Section for settings).
A streamline is a line that is everywhere tangent to a vector field. The vector field is specified by the vec3SetId field. This is an index into the list of vector sets existing in the traversal state (see the MoVec3Setxxx nodes).
Note: Streamlines are meaningless for unsteady flow, because time is not taken into account during the computation of the lines. Streamlines are integrated from a given set of vectors using a Runge/Kutta method of order 2 .
The lines can be colored using a scalar set defined in the colorScalarSetId inherited field. This is an index into the list of scalar sets existing in the traversal state (see the MoScalarSetxxx nodes). To disable coloring set this field to -1.
colorScalarSetId | 0 |
parallel | TRUE |
vec3SetId | 0 |
startingPoints | 0,0,0 |
maxLifeTime | 0 |
maxLength | 0 |
minSpeed | 0 |
integrationStepLengthFactor | 0.3 |
maxStepNumber | 0 |
direction | FORWARD |
MiStreamlineExtractIjk, MiStreamlineExtractUnstructured, MiStreamlineExtractUnstructuredIjk, MiPointProbeIjk, MiPointProbeUnstructured, MiPointProbeUnstructuredIjk, MoLineDetail
MoMeshStreamline::MoMeshStreamline | ( | ) |
Constructor.
static SoType MoMeshStreamline::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoMeshRepresentation.
const MiStreamlineExtractIjk* MoMeshStreamline::getIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
virtual SoType MoMeshStreamline::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoMeshRepresentation.
const MiStreamlineExtractUnstructured* MoMeshStreamline::getUnstructuredExtractor | ( | ) |
Get extractor for reuse outside this node.
const MiStreamlineExtractUnstructuredIjk* MoMeshStreamline::getUnstructuredIjkExtractor | ( | ) |
Get extractor for reuse outside this node.
Sets the direction for the streamline integration.
Use enum IntegrationDirection. Default is FORWARD.
Sets the step length factor for the streamline integration.
Default is 0.3.
Sets the maximum length of the streamline.
Default is 0, meaning infinite length.
Sets the maximum life time of the streamline.
Default is 0, meaning infinite life time.
Sets the maximum step number during the streamline integration.
Default is 0, meaning infinite step number.
Sets the minimum speed of the streamline.
Default is 0, meaning no speed constraint.
Starting points for the streamline computation.
Default is empty.
Field representing the vector set node to be used to compute the streamlines.
During traversal of the scene graph, vector set nodes are accumulated in a list of vector sets. vec3Set is an index in this list. Default is 0 meaning to use the first set in the list.