public class PoMeshLevelSurf extends PoMesh3D
PoMesh
for more explanations about the current mesh.
The geometry of the level surface is defined by interpolation relating to the set of scalar values of which index is defined by the field valuesIndexForLevel. However, if valuesIndexForLevel = -1, the set of scalar values is the one of which index is PoMesh.valuesIndex
. If this scalar value set does not exist in the current mesh, the representation is empty.
If the field PoMesh.valuesIndex
is not defined (or if coloringType = COLOR_INHERITED), the representation uses only one inherited color. If the field PoMesh.valuesIndex
is defined (and if coloringType != COLOR_INHERITED), the representation is colored by using the current data mapping applied to each mesh node value. (see PoMesh
for more explanations about the current data-mapping).
NOTE : This class is not designed to build an isosurface with a "per cell" data set : When valuesIndexForLevel
refers to a data set with a "PER_CELL" data binding (see PbMesh.DataBinding
), the result is unpredictable. However, an isosurface can be built with a "PER_NODE" data set, and colored using a "PER_CELL" data set : when valuesIndexForLevel
refers to a PER_NODE data set and valuesIndex
refers to a PER_CELL data set, a valid isosurface is built.
The vector data of the mesh for this representation is unused.
The isosurface can be generated by using either a triangle strip set or an indexed face set depending on the preference variable SoPreference.OIV_3DDATA_USE_TRIANGLE_STRIP_SET
File format/default:
levelValue | 0.0 |
surfOrientation | ORIENTED_TO_MAX |
valuesIndexForLevel | -1 |
valuesIndex | -1 |
coloringType | COLOR_INHERITED |
vecsIndex | -1 |
valuesIndexForCellFilter | -1 |
moduleDataMapping | NULL |
Modifier and Type | Class and Description |
---|---|
static class |
PoMeshLevelSurf.SurfOrientations
Type of level surface orientation.
|
PoMesh.ColoringTypes
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFFloat |
levelValue
Value of the level surface.
|
static int |
ORIENTED_TO_MAX
Deprecated.
Use
PoMeshLevelSurf.SurfOrientations.ORIENTED_TO_MAX instead. |
static int |
ORIENTED_TO_MIN
Deprecated.
Use
PoMeshLevelSurf.SurfOrientations.ORIENTED_TO_MIN instead. |
SoSFEnum<PoMeshLevelSurf.SurfOrientations> |
surfOrientation
Orientation of the level surface.
|
SoSFInt32 |
valuesIndexForLevel
Index of the set of value used to compute the level surface.
|
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 |
---|
PoMeshLevelSurf()
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 ORIENTED_TO_MIN
PoMeshLevelSurf.SurfOrientations.ORIENTED_TO_MIN
instead.@Deprecated public static final int ORIENTED_TO_MAX
PoMeshLevelSurf.SurfOrientations.ORIENTED_TO_MAX
instead.public final SoSFEnum<PoMeshLevelSurf.SurfOrientations> surfOrientation
ORIENTED_TO_MIN
: The facet normals of the level surface are oriented to the region of the mesh where the values are less than levelValue.
ORIENTED_TO_MAX
: The facet normals of the level surface are oriented to the region of the mesh where the values are greater than levelValue. These normal orientations are respected if each element of the mesh respects the orientation rules (see the definition of each type of mesh).
public final SoSFFloat levelValue
public final SoSFInt32 valuesIndexForLevel
PoMesh.valuesIndex
. -1 by default.public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com