public class MoDrawStyle extends MoActionNode
This node specifies the draw style to be used in subsequent nodes inheriting
from MoMeshRepresentation and defining a surface or a line:
displayFaces field controls drawing cell faces as solid
displayEdges field controls drawing cell edges
displayPoints field controls drawing node points
fadingThreshold field controls fading out on node points and
cell edges from surfaces
| No Edge Fading (threshold 0) | Edge Fading (threshold 5) |
![]() |
![]() |
See MoMaterial for setting the rendering attributes of facets, edges
and points.
Use this node, for example, to efficiently render a colored surface and the outlines of its cells using a single rendering node.
MoMaterial,
MoMaterialElement,
MoDrawStyleElementInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFBool |
displayEdges
The display mode for mesh edges.
When set to true the edges of cells are displayed. |
SoSFBool |
displayFaces
The display mode for mesh faces.
When set to true (default), the surface of mesh representations are
filled. |
SoSFBool |
displayPoints
The display mode for mesh node points.
When set to true, the node points are displayed. |
SoSFFloat |
fadingThreshold
Threshold allowing to fade out extra styles of a surface representation as
it gets away from the view point.
For instance, edges and points displayed on a skin vanish depending of their size on screen. |
VERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
MoDrawStyle()
Constructs a property node with draw style set to default values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAction(SoAction action) |
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPickaffectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic SoSFBool displayFaces
true (default), the surface of mesh representations are
filled. Otherwise, they are not filled.public SoSFBool displayEdges
true the edges of cells are displayed. Otherwise, they
are not displayed (default).public SoSFBool displayPoints
true, the node points are displayed. Otherwise, they
are not displayed (default).public SoSFFloat fadingThreshold
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com