Class PoMesh3DVecGridCrossSection
- All Implemented Interfaces:
SafeDisposable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh3DVecCrossSection
PoMesh3DVecCrossSection.ProjectionTypes
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh3DVec
PoMesh3DVec.ArrowColoringTypes, PoMesh3DVec.ArrowHeightTypes, PoMesh3DVec.ArrowShapes, PoMesh3DVec.BodyLengthTypes, PoMesh3DVec.BodyRadiusTypes, PoMesh3DVec.BodyShapes, PoMesh3DVec.EliminationStatusType
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh
PoMesh.ColoringTypes
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoSFFloat
GridSpacing is relating to the number of points on the grid : the smaller gridSpacing is, the greater the number of points is.Fields inherited from class com.openinventor.meshviz.data.PoMesh3DVecCrossSection
plane, projectionType
Fields inherited from class com.openinventor.meshviz.data.PoMesh3DVec
bodyColoringType, bodyLengthFactor, bodyLengthType, bodyRadiusFactor, bodyRadiusType, bodyShape, density, eliminationStatus, endArrowColoringType, endArrowHeightFactor, endArrowHeightType, endArrowRadiusFactor, endArrowShape, maxLength, minLength, startArrowColoringType, startArrowHeightFactor, startArrowHeightType, startArrowRadiusFactor, startArrowShape
Fields inherited from class com.openinventor.meshviz.data.PoMesh
coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndex
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalog
Returns theSoNodekitCatalog
for this class.Methods inherited from class com.openinventor.meshviz.data.PoMesh
getDataMapping, getIsovaluesList, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMapping
Methods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, 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, write
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
gridSpacing
GridSpacing is relating to the number of points on the grid : the smaller gridSpacing is, the greater the number of points is. It represents a factor of the biggest size of the mesh. 0.05 by default. If gridSpacing = 0, this class behaves likePoMesh3DVecCrossSection
.
-
-
Constructor Details
-
PoMesh3DVecGridCrossSection
public PoMesh3DVecGridCrossSection()Constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class.
-