public class MoMeshStreamline extends MoMeshRepresentation
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.
Modifier and Type | Class and Description |
---|---|
static class |
MoMeshStreamline.IntegrationDirection
Integration direction
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<MoMeshStreamline.IntegrationDirection> |
direction
Sets the direction for the streamline integration.
The default value is FORWARD . |
SoSFDouble |
integrationStepLengthFactor
Sets the step length factor for the streamline integration.
The default value is 0.3. |
SoSFDouble |
maxLength
Sets the maximum length of the streamline.
The default value is 0, meaning infinite length. |
SoSFDouble |
maxLifeTime
Sets the maximum life time of the streamline.
The default value is 0, meaning infinite life time. |
SoSFInt32 |
maxStepNumber
Sets the maximum step number during the streamline integration.
The default value is 0, meaning infinite step number. |
SoSFDouble |
minSpeed
Sets the minimum speed of the streamline.
The default value is 0, meaning no speed constraint. |
SoMFVec3f |
startingPoints
Starting points for the streamline computation.
The default value is empty. |
SoSFInt32 |
vec3SetId
Field representing the vector set node to be used to compute the
streamlines.
|
colorScalarSetId
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
MoMeshStreamline()
Constructs a rendering node with default values.
|
Modifier and Type | Method and Description |
---|---|
MiStreamlineExtractHexahedronIjk |
getHexahedronIjkExtractor()
Gets the streamline extractor for hexahedron IJK meshes to reuse outside
this node.
|
MiStreamlineExtractIjk |
getIjkExtractor()
Gets the streamline extractor for IJK meshes to reuse outside this node.
|
MiStreamlineExtractUnstructured |
getUnstructuredExtractor()
Gets the streamline extractor for unstructured meshes to reuse outside this
node.
Note: The returned object may be null if no unstructured
mesh has been set in the scene graph or if no render action has traversed
the scene graph. |
doAction, setExtractorCallback
write
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPick
affectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoSFInt32 vec3SetId
vec3SetId
is an index in this
list.public SoMFVec3f startingPoints
public SoSFDouble maxLifeTime
public SoSFDouble maxLength
public SoSFDouble minSpeed
public SoSFDouble integrationStepLengthFactor
public SoSFInt32 maxStepNumber
public SoSFEnum<MoMeshStreamline.IntegrationDirection> direction
FORWARD
.public MoMeshStreamline()
vec3SetId = 0
startingPoints
is empty
maxLifeTime = 0
maxLength = 0
minSpeed = 0
integrationStepLengthFactor = 0.3
maxStepNumber = 0
direction = FORWARD
public MiStreamlineExtractUnstructured getUnstructuredExtractor()
null
if no unstructured
mesh has been set in the scene graph or if no render action has traversed
the scene graph.public MiStreamlineExtractIjk getIjkExtractor()
null
if no IJK mesh has
been set in the scene graph or if no render action has traversed the scene
graph.public MiStreamlineExtractHexahedronIjk getHexahedronIjkExtractor()
null
if no hexahedron IJK
mesh has been set in the scene graph or if no render action has traversed
the scene graph.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com