Class PoMeshFilled
- All Implemented Interfaces:
SafeDisposable
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 |
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh
PoMesh.ColoringTypesNested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoSFBoolIndicates if a single overall normal vector can be used to render this mesh representation.Fields inherited from class com.openinventor.meshviz.data.PoMesh2D
zValuesIndexFields inherited from class com.openinventor.meshviz.data.PoMesh
coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndexFields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoringFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalogReturns theSoNodekitCatalogfor this class.Methods inherited from class com.openinventor.meshviz.data.PoMesh
getDataMapping, getIsovaluesList, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMappingMethods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitMethods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenMethods inherited from class com.openinventor.inventor.nodes.SoNode
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, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
useOverallNormal
Indicates if a single overall normal vector can be used to render this mesh representation. Default is false.If the current mesh is a 2D mesh (it does not contain 3D coordinates and the
zValuesIndexfield = -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.
-
-
Constructor Details
-
PoMeshFilled
public PoMeshFilled()Constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalogfor this class.
-