Class MoMeshStreamline
- All Implemented Interfaces:
- SafeDisposable
 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.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumIntegration directionNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNodeSoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.InventorInventor.ConstructorCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionSets the direction for the streamline integration.
 The default value isFORWARD.Sets the step length factor for the streamline integration.
 The default value is 0.3.Sets the maximum length of the streamline.
 The default value is 0, meaning infinite length.Sets the maximum life time of the streamline.
 The default value is 0, meaning infinite life time.Sets the maximum step number during the streamline integration.
 The default value is 0, meaning infinite step number.Sets the minimum speed of the streamline.
 The default value is 0, meaning no speed constraint.Starting points for the streamline computation.
 The default value is empty.Field representing the vector set node to be used to compute the streamlines.Fields inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshRepresentationcolorScalarSetIdFields inherited from class com.openinventor.inventor.InventorVERBOSE_LEVEL, ZeroHandle
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the streamline extractor for hexahedron IJK meshes to reuse outside this node.Gets the streamline extractor for IJK meshes to reuse outside this node.Gets the streamline extractor for unstructured meshes to reuse outside this node.
 Note: The returned object may benullif no unstructured mesh has been set in the scene graph or if no render action has traversed the scene graph.Methods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshRepresentationdoAction, setExtractorCallbackMethods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoMeshBaseRepresentationaffectsState, writeMethods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoActionNodecallback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, getRenderEngineMode, GLRender, handleEvent, pick, rayPickMethods inherited from class com.openinventor.inventor.nodes.SoNodecopy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touchMethods inherited from class com.openinventor.inventor.fields.SoFieldContainercopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBasedispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.InventorgetNativeResourceHandle
- 
Field Details- 
vec3SetIdField 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.vec3SetIdis an index in this list.
 The default value is 0 meaning to use the first set in the list.
- 
startingPointsStarting points for the streamline computation.
 The default value is empty.
- 
maxLifeTimeSets the maximum life time of the streamline.
 The default value is 0, meaning infinite life time.
- 
maxLengthSets the maximum length of the streamline.
 The default value is 0, meaning infinite length.
- 
minSpeedSets the minimum speed of the streamline.
 The default value is 0, meaning no speed constraint.
- 
integrationStepLengthFactorSets the step length factor for the streamline integration.
 The default value is 0.3.
- 
maxStepNumberSets the maximum step number during the streamline integration.
 The default value is 0, meaning infinite step number.
- 
directionSets the direction for the streamline integration.
 The default value isFORWARD.
 
- 
- 
Constructor Details- 
MoMeshStreamlinepublic MoMeshStreamline()Constructs a rendering node with default values.- vec3SetId = 0
- startingPointsis empty
- maxLifeTime = 0
- maxLength = 0
- minSpeed = 0
- integrationStepLengthFactor = 0.3
- maxStepNumber = 0
- direction = FORWARD
 
 
- 
- 
Method Details- 
getUnstructuredExtractorGets the streamline extractor for unstructured meshes to reuse outside this node.
 Note: The returned object may benullif no unstructured mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the streamline extractor for unstructured meshes
 
- 
getIjkExtractorGets the streamline extractor for IJK meshes to reuse outside this node.
 Note: The returned object may benullif no IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the streamline extractor for unstructured meshes
 
- 
getHexahedronIjkExtractorGets the streamline extractor for hexahedron IJK meshes to reuse outside this node.
 Note: The returned object may benullif no hexahedron IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.- Returns:
- the streamline extractor for unstructured meshes
 
 
-