public class PoMesh3DVecGridCrossSection extends PoMesh3DVecCrossSection
plane of a volume mesh is built. Then a vector is computed by interpolation on each point of the grid, possibly projected (depending on the projectionType field) and is represented according to the different fields of PoMesh3DVec.
It may be time consuming to use this class depending on the value of the gridSpacing. For each point of the grid, this class looks for the cell that contains the point by using a probe tool. The vector drawn at the point is computed by interpolation between each point of the containing cell. The probing process may be slow depending on the number of cells, the mesh type, the spatial organization of the cells, etc... The quickest way to draw a vector field may be by using the parent class PoMesh3DVecCrossSection. Note also that if gridSpacing = 0, this class behaves like PoMesh3DVecCrossSection.
File format/default:
| plane | Z=0 plane |
| gridSpacing | 0.05 |
| projectionType | NO_PROJECTION |
| density | 1 |
| eliminationStatus | NONE |
| minLength | 0.0 |
| maxLength | 1E30 |
| bodyShape | LINE |
| bodyLengthType | RELATIVE_LENGTH |
| bodyLengthFactor | 1.0 |
| bodyRadiusType | CONSTANT_RADIUS |
| bodyRadiusFactor | 0.02 |
| bodyColoringType | CONSTANT_COLOR |
| startArrowShape | NO_SHAPE |
| startArrowHeightType | RELATIVE_HEIGHT |
| startArrowHeightFactor | 0.1 |
| startArrowRadiusFactor | 0.5 |
| startArrowColoringType | CONSTANT_COLOR |
| endArrowShape | CHEVRON |
| endArrowHeightType | RELATIVE_HEIGHT |
| endArrowHeightFactor | 0.1 |
| endArrowRadiusFactor | 0.5 |
| endArrowColoringType | CONSTANT_COLOR |
| coloringType | COLOR_INHERITED |
| valuesIndex | -1 |
| valuesIndexForCellFilter | -1 |
| vecsIndex | -1 |
| moduleDataMapping | NULL |
See also:
PoMesh3DVecCrossSection.ProjectionTypesPoMesh3DVec.ArrowColoringTypes, PoMesh3DVec.ArrowHeightTypes, PoMesh3DVec.ArrowShapes, PoMesh3DVec.BodyLengthTypes, PoMesh3DVec.BodyRadiusTypes, PoMesh3DVec.BodyShapes, PoMesh3DVec.EliminationStatusTypePoMesh.ColoringTypesPoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFFloat |
gridSpacing
GridSpacing is relating to the number of points on the grid : the smaller gridSpacing is, the greater the number of points is.
|
NO_PROJECTION, plane, PROJECTION_ON_NORMAL, PROJECTION_ON_PLANE, projectionTypebodyColoringType, bodyLengthFactor, bodyLengthType, bodyRadiusFactor, bodyRadiusType, bodyShape, BOX, CHEVRON, CONE, CONSTANT_COLOR, CONSTANT_HEIGHT, CONSTANT_LENGTH, CONSTANT_RADIUS, CYLINDER, density, eliminationStatus, endArrowColoringType, endArrowHeightFactor, endArrowHeightType, endArrowRadiusFactor, endArrowShape, INDIRECT_CHEVRON, INDIRECT_CONE, INDIRECT_TRIANGLE, LINE, maxLength, minLength, MODULE_MAPPING_COLOR, NO_BODY, NO_SHAPE, NONE, POINT, RECTANGLE, RELATIVE_HEIGHT, RELATIVE_LENGTH, RELATIVE_RADIUS, SCALAR_MAPPING_COLOR, SPHERE, startArrowColoringType, startArrowHeightFactor, startArrowHeightType, startArrowRadiusFactor, startArrowShape, TOO_LONG, TOO_SMALL, TOO_SMALL_OR_LONG, TRIANGLECOLOR_AVERAGE, COLOR_CONTOURING, COLOR_INHERITED, COLOR_MAPPING, COLOR_TEXTURE_CONTOURING, coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndexFOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTIONboundingBoxIgnoringVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
PoMesh3DVecGridCrossSection()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
getDataMapping, getIsovaluesList, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMappingaddPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitgetNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenaffectsState, 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, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFFloat gridSpacing
PoMesh3DVecCrossSection.public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog for this class.Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com