public class PoStreamTadpoleMotion extends PoStreamParticleMotion
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:
width | 2.0 |
backColor | (0.0,0.0,0.0) |
particleColor | SbColor (0.0,0.9,0.9) |
lengthFactor | 1.0 |
pulseFrequency | 5 |
shiftStart | 0.0 |
timeStep | 1.0 |
isStartRandomized | true |
isBlinking | true |
viewFrame | 0 |
blinkSpeed | 3.0 |
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) |
coloringType | COLOR_INHERITED |
valuesIndex | -1 |
valuesIndexForCellFilter | -1 |
vecsIndex | -1 |
moduleDataMapping | NULL |
PoBaseStreamLine.IntegrationDirections
PoMesh.ColoringTypes
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFColor |
backColor
Background color applied on the end points of each segment.
|
SoSFFloat |
lengthFactor
Length factor applied to the velocity.
|
SoSFColor |
particleColor
Color used at the middle point of each segment.
|
SoSFFloat |
width
Width of each tadpole segment.
|
blinkSpeed, isBlinking, isStartRandomized, pulseFrequency, shiftStart, timeStep, viewFrame
BACKWARD, colors, FORWARD, integrationDirection, integrationMaxStepNumber, integrationStepLengthFactor, maxLength, maxLifetime, minSpeed, startPoints
COLOR_AVERAGE, COLOR_CONTOURING, COLOR_INHERITED, COLOR_MAPPING, COLOR_TEXTURE_CONTOURING, coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndex
FOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTION
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PoStreamTadpoleMotion()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
getDataMapping, getIsovaluesList, getMesh, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMapping
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFFloat width
public final SoSFFloat lengthFactor
public final SoSFColor backColor
public final SoSFColor particleColor
PoMesh.coloringType
= COLOR_INHERITED, and PoBaseStreamLine.colors
empty.public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com