Class PoStreamTadpoleMotion
- All Implemented Interfaces:
- SafeDisposable
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 | 
- 
Nested Class SummaryNested classes/interfaces inherited from class com.openinventor.meshviz.data.PoBaseStreamLinePoBaseStreamLine.IntegrationDirectionsNested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMeshPoMesh.ColoringTypesNested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBasePoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNodeSoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.InventorInventor.ConstructorCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal SoSFColorBackground color applied on the end points of each segment.final SoSFFloatLength factor applied to the velocity.final SoSFColorColor used at the middle point of each segment.final SoSFFloatWidth of each tadpole segment.Fields inherited from class com.openinventor.meshviz.data.PoStreamParticleMotionblinkSpeed, isBlinking, isStartRandomized, pulseFrequency, shiftStart, timeStep, viewFrameFields inherited from class com.openinventor.meshviz.data.PoBaseStreamLinecolors, integrationDirection, integrationMaxStepNumber, integrationStepLengthFactor, maxLength, maxLifetime, minSpeed, startPointsFields inherited from class com.openinventor.meshviz.data.PoMeshcoloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndexFields inherited from class com.openinventor.inventor.nodekits.SoBaseKitboundingBoxIgnoringFields inherited from class com.openinventor.inventor.InventorVERBOSE_LEVEL, ZeroHandle
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic SoNodekitCatalogReturns theSoNodekitCatalogfor this class.Methods inherited from class com.openinventor.meshviz.data.PoMeshgetDataMapping, getIsovaluesList, getMesh, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMappingMethods inherited from class com.openinventor.meshviz.graph.PoBaseaddPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitMethods inherited from class com.openinventor.inventor.nodekits.SoBaseKitgetNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenMethods inherited from class com.openinventor.inventor.nodes.SoNodeaffectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainercopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBasedispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.InventorgetNativeResourceHandle
- 
Field Details- 
widthWidth of each tadpole segment. 2.0 by default.
- 
lengthFactorLength factor applied to the velocity.
- 
backColorBackground color applied on the end points of each segment.
- 
particleColorColor used at the middle point of each segment. Used only ifPoMesh.coloringType= COLOR_INHERITED, andPoBaseStreamLine.colorsempty.
 
- 
- 
Constructor Details- 
PoStreamTadpoleMotionpublic PoStreamTadpoleMotion()Constructor.
 
- 
- 
Method Details- 
getClassNodekitCatalogReturns theSoNodekitCatalogfor this class.
 
-