public abstract class MoMeshRepresentation extends MoMeshBaseRepresentation
The basic representations and the meshes they apply to are:
All surface representations, for instance MoMeshIsosurface
and
MoMeshSkin
, are using an inner SoPolygonOffset
node to allow
line representations, such as MoMeshOutline
, on top without
artifacts. However SoPolygonOffset
can introduce other artifacts on
surfaces when the two-sided lighting mode is active. Thus, to disable this
SoPolygonOffset
node, set the
SoPreferences.MESHVIZ_POLYGON_OFFSET
environment variable to false (See
SoPreferences
).
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFInt32 |
colorScalarSetId
Field representing the scalar set node to be used to map colors onto the
representation.
|
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
void |
doAction(SoAction action) |
void |
setExtractorCallback(MiExtractorCallback extractorCallback)
Set the extraction callback which will be called each time an extraction is
performed.
|
write
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPick
affectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoSFInt32 colorScalarSetId
colorScalarSetId
is an index
into this list. The default value is 0 which means that the first scalar
set stored in the scene graph is used. Setting this value to -1 disables
color mapping.public void setExtractorCallback(MiExtractorCallback extractorCallback)
extractorCallback
- the extraction callbackpublic void doAction(SoAction action)
doAction
in class MoMeshBaseRepresentation
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com