public class PoMesh2DVec extends PoMesh2D
The current mesh is used for the representation of vectors. See PoMesh
for more explanations about the current mesh. The vectors of the mesh to be drawn, are defined by the method addVecsSet of the current mesh (see PoMeshProperty
, PbMesh
or PbMesh2D
), and by the field PoMesh.vecsIndex
. The node of the mesh are used as start point of the representation of the vectors.
File format/default:
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 |
zValuesIndex | -1 |
Modifier and Type | Class and Description |
---|---|
static class |
PoMesh2DVec.ArrowColoringTypes
Type of arrow coloring.
|
static class |
PoMesh2DVec.ArrowHeightTypes
Type of height of an arrow.
|
static class |
PoMesh2DVec.ArrowShapes
Type of arrow shape.
|
static class |
PoMesh2DVec.BodyLengthTypes
Type of body lenght.
|
static class |
PoMesh2DVec.BodyRadiusTypes
Type of body radius.
|
static class |
PoMesh2DVec.BodyShapes
Type of body shape.
|
static class |
PoMesh2DVec.EliminationStatusType
Type of vector elimination.
|
PoMesh.ColoringTypes
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<PoMesh2DVec.ArrowColoringTypes> |
bodyColoringType
coloring method of the body.
|
SoSFFloat |
bodyLengthFactor
Length (or length multiplicative factor) of the body shape.
|
SoSFEnum<PoMesh2DVec.BodyLengthTypes> |
bodyLengthType
If bodyLengthType = CONSTANT_LENGTH, each vector has the same body length = bodyLengthFactor .
|
SoSFFloat |
bodyRadiusFactor
Radius (or radius multiplicative factor) of the cylinder.
|
SoSFEnum<PoMesh2DVec.BodyRadiusTypes> |
bodyRadiusType
Defines type of method to compute the cylinder's radius.
|
SoSFEnum<PoMesh2DVec.BodyShapes> |
bodyShape
Type of shape (no body, line, cylinder) used to draw the body.
|
static int |
BOX
Deprecated.
Use
PoMesh2DVec.ArrowShapes.BOX instead. |
static int |
CHEVRON
Deprecated.
Use
PoMesh2DVec.ArrowShapes.CHEVRON instead. |
static int |
CONE
Deprecated.
Use
PoMesh2DVec.ArrowShapes.CONE instead. |
static int |
CONSTANT_COLOR
Deprecated.
Use
PoMesh2DVec.ArrowColoringTypes.CONSTANT_COLOR instead. |
static int |
CONSTANT_HEIGHT
Deprecated.
Use
PoMesh2DVec.ArrowHeightTypes.CONSTANT_HEIGHT instead. |
static int |
CONSTANT_LENGTH
Deprecated.
Use
PoMesh2DVec.BodyLengthTypes.CONSTANT_LENGTH instead. |
static int |
CONSTANT_RADIUS
Deprecated.
Use
PoMesh2DVec.BodyRadiusTypes.CONSTANT_RADIUS instead. |
static int |
CYLINDER
Deprecated.
Use
PoMesh2DVec.BodyShapes.CYLINDER instead. |
SoSFInt32 |
density
Vector field density filter.
|
SoSFEnum<PoMesh2DVec.EliminationStatusType> |
eliminationStatus
If eliminationStatus = TOO_SMALL, the vectors which module is lower than minLength are not drawn.
|
SoSFEnum<PoMesh2DVec.ArrowColoringTypes> |
endArrowColoringType
Coloring method of the end shape.
|
SoSFFloat |
endArrowHeightFactor
Height (or Height multiplicative factor) of the arrow shape.
|
SoSFEnum<PoMesh2DVec.ArrowHeightTypes> |
endArrowHeightType
Defines the type of method to compute the arrow height.
|
SoSFFloat |
endArrowRadiusFactor
The end-arrow's radius is end-arrow's height * endArrowRadiusFactor.
|
SoSFEnum<PoMesh2DVec.ArrowShapes> |
endArrowShape
Type of shape to be drawn at the end point of the body.
|
static int |
INDIRECT_CHEVRON
Deprecated.
Use
PoMesh2DVec.ArrowShapes.INDIRECT_CHEVRON instead. |
static int |
INDIRECT_CONE
Deprecated.
Use
PoMesh2DVec.ArrowShapes.INDIRECT_CONE instead. |
static int |
INDIRECT_TRIANGLE
Deprecated.
Use
PoMesh2DVec.ArrowShapes.INDIRECT_TRIANGLE instead. |
static int |
LINE
Deprecated.
Use
PoMesh2DVec.BodyShapes.LINE instead. |
SoSFFloat |
maxLength
Maximum length of the vector to be drawn.
|
SoSFFloat |
minLength
Minimum length of the vector to be drawn.
|
static int |
MODULE_MAPPING_COLOR
Deprecated.
Use
PoMesh2DVec.ArrowColoringTypes.MODULE_MAPPING_COLOR instead. |
static int |
NO_BODY
Deprecated.
Use
PoMesh2DVec.BodyShapes.NO_BODY instead. |
static int |
NO_SHAPE
Deprecated.
Use
PoMesh2DVec.ArrowShapes.NO_SHAPE instead. |
static int |
NONE
Deprecated.
Use
PoMesh2DVec.EliminationStatusType.NONE instead. |
static int |
POINT
Deprecated.
Use
PoMesh2DVec.ArrowShapes.POINT instead. |
static int |
RECTANGLE
Deprecated.
Use
PoMesh2DVec.ArrowShapes.RECTANGLE instead. |
static int |
RELATIVE_HEIGHT
Deprecated.
Use
PoMesh2DVec.ArrowHeightTypes.RELATIVE_HEIGHT instead. |
static int |
RELATIVE_LENGTH
Deprecated.
Use
PoMesh2DVec.BodyLengthTypes.RELATIVE_LENGTH instead. |
static int |
RELATIVE_RADIUS
Deprecated.
Use
PoMesh2DVec.BodyRadiusTypes.RELATIVE_RADIUS instead. |
static int |
SCALAR_MAPPING_COLOR
Deprecated.
Use
PoMesh2DVec.ArrowColoringTypes.SCALAR_MAPPING_COLOR instead. |
static int |
SPHERE
Deprecated.
Use
PoMesh2DVec.ArrowShapes.SPHERE instead. |
SoSFEnum<PoMesh2DVec.ArrowColoringTypes> |
startArrowColoringType
Coloring method of the start shape.
|
SoSFFloat |
startArrowHeightFactor
Height (or Height multiplicative factor) of the arrow shape.
|
SoSFEnum<PoMesh2DVec.ArrowHeightTypes> |
startArrowHeightType
Defines the type of method to compute the arrow height.
|
SoSFFloat |
startArrowRadiusFactor
The start-arrow's radius is start-arrow's height * startArrowRadiusFactor.
|
SoSFEnum<PoMesh2DVec.ArrowShapes> |
startArrowShape
Type of shape to be drawn at the start point of the body.
|
static int |
TOO_LONG
Deprecated.
Use
PoMesh2DVec.EliminationStatusType.TOO_LONG instead. |
static int |
TOO_SMALL
Deprecated.
Use
PoMesh2DVec.EliminationStatusType.TOO_SMALL instead. |
static int |
TOO_SMALL_OR_LONG
Deprecated.
Use
PoMesh2DVec.EliminationStatusType.TOO_SMALL_OR_LONG instead. |
static int |
TRIANGLE
Deprecated.
Use
PoMesh2DVec.ArrowShapes.TRIANGLE instead. |
zValuesIndex
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 |
---|
PoMesh2DVec()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
getDataMapping, getIsovaluesList, 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
@Deprecated public static final int NONE
PoMesh2DVec.EliminationStatusType.NONE
instead.@Deprecated public static final int TOO_SMALL
PoMesh2DVec.EliminationStatusType.TOO_SMALL
instead.@Deprecated public static final int TOO_LONG
PoMesh2DVec.EliminationStatusType.TOO_LONG
instead.@Deprecated public static final int TOO_SMALL_OR_LONG
PoMesh2DVec.EliminationStatusType.TOO_SMALL_OR_LONG
instead.@Deprecated public static final int NO_BODY
PoMesh2DVec.BodyShapes.NO_BODY
instead.@Deprecated public static final int LINE
PoMesh2DVec.BodyShapes.LINE
instead.@Deprecated public static final int CYLINDER
PoMesh2DVec.BodyShapes.CYLINDER
instead.@Deprecated public static final int CONSTANT_LENGTH
PoMesh2DVec.BodyLengthTypes.CONSTANT_LENGTH
instead.@Deprecated public static final int RELATIVE_LENGTH
PoMesh2DVec.BodyLengthTypes.RELATIVE_LENGTH
instead.@Deprecated public static final int CONSTANT_RADIUS
PoMesh2DVec.BodyRadiusTypes.CONSTANT_RADIUS
instead.@Deprecated public static final int RELATIVE_RADIUS
PoMesh2DVec.BodyRadiusTypes.RELATIVE_RADIUS
instead.@Deprecated public static final int NO_SHAPE
PoMesh2DVec.ArrowShapes.NO_SHAPE
instead.@Deprecated public static final int POINT
PoMesh2DVec.ArrowShapes.POINT
instead.@Deprecated public static final int CHEVRON
PoMesh2DVec.ArrowShapes.CHEVRON
instead.@Deprecated public static final int TRIANGLE
PoMesh2DVec.ArrowShapes.TRIANGLE
instead.@Deprecated public static final int RECTANGLE
PoMesh2DVec.ArrowShapes.RECTANGLE
instead.@Deprecated public static final int CONE
PoMesh2DVec.ArrowShapes.CONE
instead.@Deprecated public static final int BOX
PoMesh2DVec.ArrowShapes.BOX
instead.@Deprecated public static final int SPHERE
PoMesh2DVec.ArrowShapes.SPHERE
instead.@Deprecated public static final int INDIRECT_CHEVRON
PoMesh2DVec.ArrowShapes.INDIRECT_CHEVRON
instead.@Deprecated public static final int INDIRECT_TRIANGLE
PoMesh2DVec.ArrowShapes.INDIRECT_TRIANGLE
instead.@Deprecated public static final int INDIRECT_CONE
PoMesh2DVec.ArrowShapes.INDIRECT_CONE
instead.@Deprecated public static final int CONSTANT_HEIGHT
PoMesh2DVec.ArrowHeightTypes.CONSTANT_HEIGHT
instead.@Deprecated public static final int RELATIVE_HEIGHT
PoMesh2DVec.ArrowHeightTypes.RELATIVE_HEIGHT
instead.@Deprecated public static final int CONSTANT_COLOR
PoMesh2DVec.ArrowColoringTypes.CONSTANT_COLOR
instead.@Deprecated public static final int MODULE_MAPPING_COLOR
PoMesh2DVec.ArrowColoringTypes.MODULE_MAPPING_COLOR
instead.@Deprecated public static final int SCALAR_MAPPING_COLOR
PoMesh2DVec.ArrowColoringTypes.SCALAR_MAPPING_COLOR
instead.public final SoSFInt32 density
public final SoSFEnum<PoMesh2DVec.EliminationStatusType> eliminationStatus
public final SoSFFloat minLength
public final SoSFFloat maxLength
public final SoSFEnum<PoMesh2DVec.BodyShapes> bodyShape
public final SoSFEnum<PoMesh2DVec.BodyLengthTypes> bodyLengthType
public final SoSFFloat bodyLengthFactor
public final SoSFEnum<PoMesh2DVec.BodyRadiusTypes> bodyRadiusType
public final SoSFFloat bodyRadiusFactor
public final SoSFEnum<PoMesh2DVec.ArrowColoringTypes> bodyColoringType
If bodyColoringType = MODULE_MAPPING_COLOR, the body's color of a vector depends on its module, and by using the current module-data-mapping (see PoMesh
for explanation of the current module-data-mapping).
If bodyColoringType = SCALAR_MAPPING_COLOR, the body's color of a vector depends on the scalar value at the mesh node used as the start point of the body. In this case, the current data-mapping is used to compute the color in relation to the scalar-value (see PoMesh
for more explanations about the current data-mapping). .
public final SoSFEnum<PoMesh2DVec.ArrowShapes> startArrowShape
public final SoSFEnum<PoMesh2DVec.ArrowHeightTypes> startArrowHeightType
public final SoSFFloat startArrowHeightFactor
public final SoSFFloat startArrowRadiusFactor
public final SoSFEnum<PoMesh2DVec.ArrowColoringTypes> startArrowColoringType
If startArrowColoringType = MODULE_MAPPING_COLOR, the start-arrow's color of a vector depends on its module, and by using the current module-data- mapping (see PoMesh
for explanation of the current module-data-mapping).
If startArrowColoringType = SCALAR_MAPPING_COLOR, the start-arrow's color of a vector depends on the scalar value at the mesh node used as the start point of the start-arrow. In this case, the current data-mapping is used to compute the color in relation to the scalar-value (see PoMesh
for more explanations about the current data-mapping).
public final SoSFEnum<PoMesh2DVec.ArrowShapes> endArrowShape
public final SoSFEnum<PoMesh2DVec.ArrowHeightTypes> endArrowHeightType
public final SoSFFloat endArrowHeightFactor
public final SoSFFloat endArrowRadiusFactor
public final SoSFEnum<PoMesh2DVec.ArrowColoringTypes> endArrowColoringType
If endArrowColoringType = MODULE_MAPPING_COLOR, the end-arrow's color of a vector depends on its module, and by using the current module-data- mapping (see PoMesh
for explanation of the current module-data-mapping).
If endArrowColoringType = SCALAR_MAPPING_COLOR, the end-arrow's color of a vector depends on the scalar value at the mesh node used as the end point of the end-arrow. In this case, the current data-mapping is used to compute the color in relation to the scalar-value (see PoMesh
for more explanations about the current data-mapping).
public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com