public class PoMeshFilled extends PoMesh2D
PoMesh
for more explanation about the current mesh.
Even if the current mesh has a 2D geometry, a 3D surface can be obtained if the field PoMesh2D.zValuesIndex
is defined (i.e. >= 0) and the corresponding scalar data set defining the Z values exists in the mesh.
If the current mesh has a 3D geometry, its Z coordinates are used as long as the field PoMesh2D.zValuesIndex
is undefined (i.e. <0).
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 coloringType != COLOR_INHERITED), the representation is colored using the current data mapping applied to each mesh node value. (See PoMesh
for more explanation about the current data-mapping).
Vector data associated with the mesh is not used for this representation.
If the current mesh is a 2D mesh (it does not contain 3D coordinates and the zValuesIndex
field = -1) and all the cells have the same orientation, then the field useOverallNormal
can be set to true. This reduces system memory usage (storage for normal vectors) and improves rendering performance.
File format/default:
valuesIndex | -1 |
zValuesIndex | -1 |
coloringType | COLOR_INHERITED |
useOverallNormal | false |
PoMesh.ColoringTypes
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFBool |
useOverallNormal
Indicates if a single overall normal vector can be used to render this mesh representation.
|
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 |
---|
PoMeshFilled()
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
public final SoSFBool useOverallNormal
If the current mesh is a 2D mesh (it does not contain 3D coordinates and the zValuesIndex
field = -1) and all the cells have the same orientation, then this field can be set to true. This reduces system memory usage and improves rendering performance. If the field is false, MeshViz computes one normal per vertex of the shape rendered.
This field should be set to true only when all the cells of the mesh have the same orientation. This field is ignored if the mesh contains 3D coordinates or the zValuesIndex field is not -1.
public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com