public class PoMesh3DVec extends PoMesh3D
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
or PbMesh
), 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 |
Modifier and Type | Class and Description |
---|---|
static class |
PoMesh3DVec.ArrowColoringTypes
Type of arrow coloring.
|
static class |
PoMesh3DVec.ArrowHeightTypes
Type of height of an arrow.
|
static class |
PoMesh3DVec.ArrowShapes
Type of arrow shape.
|
static class |
PoMesh3DVec.BodyLengthTypes
Type of body lenght.
|
static class |
PoMesh3DVec.BodyRadiusTypes
Type of body radius.
|
static class |
PoMesh3DVec.BodyShapes
Type of body shape.
|
static class |
PoMesh3DVec.EliminationStatusType
Type of vector elimination.
|
PoMesh.ColoringTypes
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<PoMesh3DVec.ArrowColoringTypes> |
bodyColoringType
coloring method of the body.
|
SoSFFloat |
bodyLengthFactor
Length (or length multiplicative factor) of the body shape.
|
SoSFEnum<PoMesh3DVec.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<PoMesh3DVec.BodyRadiusTypes> |
bodyRadiusType
Defines type of method to compute the cylinder's radius.
|
SoSFEnum<PoMesh3DVec.BodyShapes> |
bodyShape
Type of shape (no body, line, cylinder) used to draw the body.
|
SoSFInt32 |
density
Vector field density filter.
|
SoSFEnum<PoMesh3DVec.EliminationStatusType> |
eliminationStatus
If eliminationStatus = TOO_SMALL, the vectors which module is lower than minLength are not drawn.
|
SoSFEnum<PoMesh3DVec.ArrowColoringTypes> |
endArrowColoringType
Coloring method of the end shape.
|
SoSFFloat |
endArrowHeightFactor
Height (or Height multiplicative factor) of the arrow shape.
|
SoSFEnum<PoMesh3DVec.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<PoMesh3DVec.ArrowShapes> |
endArrowShape
Type of shape to be drawn at the end point of the body.
|
SoSFFloat |
maxLength
Maximum length of the vector to be drawn.
|
SoSFFloat |
minLength
Minimum length of the vector to be drawn.
|
SoSFEnum<PoMesh3DVec.ArrowColoringTypes> |
startArrowColoringType
Coloring method of the start shape.
|
SoSFFloat |
startArrowHeightFactor
Height (or Height multiplicative factor) of the arrow shape.
|
SoSFEnum<PoMesh3DVec.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<PoMesh3DVec.ArrowShapes> |
startArrowShape
Type of shape to be drawn at the start point of the body.
|
coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndex
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PoMesh3DVec()
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, getRenderEngineMode, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoSFInt32 density
public final SoSFEnum<PoMesh3DVec.EliminationStatusType> eliminationStatus
public final SoSFFloat minLength
public final SoSFFloat maxLength
public final SoSFEnum<PoMesh3DVec.BodyShapes> bodyShape
public final SoSFEnum<PoMesh3DVec.BodyLengthTypes> bodyLengthType
public final SoSFFloat bodyLengthFactor
public final SoSFEnum<PoMesh3DVec.BodyRadiusTypes> bodyRadiusType
public final SoSFFloat bodyRadiusFactor
public final SoSFEnum<PoMesh3DVec.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<PoMesh3DVec.ArrowShapes> startArrowShape
public final SoSFEnum<PoMesh3DVec.ArrowHeightTypes> startArrowHeightType
public final SoSFFloat startArrowHeightFactor
public final SoSFFloat startArrowRadiusFactor
public final SoSFEnum<PoMesh3DVec.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<PoMesh3DVec.ArrowShapes> endArrowShape
public final SoSFEnum<PoMesh3DVec.ArrowHeightTypes> endArrowHeightType
public final SoSFFloat endArrowHeightFactor
public final SoSFFloat endArrowRadiusFactor
public final SoSFEnum<PoMesh3DVec.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 July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com