Class PoMeshFilled
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoMeshFilled extends PoMesh2D
Filled representation of surface mesh. This class represents a 3D surface by filling each cell of the current mesh. SeePoMeshfor 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.zValuesIndexis 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.zValuesIndexis undefined (i.e. <0).If the field
PoMesh.valuesIndexis not defined (or if coloringType = COLOR_INHERITED), the representation uses only one inherited color. If the fieldPoMesh.valuesIndexis defined (and coloringType != COLOR_INHERITED), the representation is colored using the current data mapping applied to each mesh node value. (SeePoMeshfor 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
zValuesIndexfield = -1) and all the cells have the same orientation, then the fielduseOverallNormalcan 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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <title></title> </head> <BODY> <h1></h1> <h4> <A NAME="Heading991">CATALOG PARTS</A></h4> <ul><b>PoMeshFilled</b> {</ul> <ul><ul><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {<br> </ul></ul> <ul><ul><ul><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Specifies the appearance of all the kit. By default lightModel.model=PHONG. material.diffuseColor is set when the kit is rebuilt, if the field coloringType is different from COLOR_INHERITED.</i></ul></ul></ul> <ul><ul><ul><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Corresponds to the domain transformation.</i></ul></ul></ul> <ul><ul><ul><ul></ul></ul></ul></ul> <ul><ul><ul><b>Group</b> <tt>groupFilled</tt></ul></ul></ul> <ul><ul><ul><i>Contains a SoQuadMesh (if the mesh is a PbGrid2D) or SoIndexedFaceSet (if the mesh is a PbIndexedMesh2D) shape to draw the filled representation of the mesh. A SoShapeHints node with creaseAngle = 0.8 and vertexOrdering = CLOCKWISE is inserted as the first child.</i></ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <ul><ul><br> </ul></ul> </body> </html>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh
PoMesh.ColoringTypes
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFBooluseOverallNormalIndicates if a single overall normal vector can be used to render this mesh representation.-
Fields inherited from class com.openinventor.meshviz.data.PoMesh2D
zValuesIndex
-
Fields inherited from class com.openinventor.meshviz.data.PoMesh
coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndex
-
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoMeshFilled()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCataloggetClassNodekitCatalog()Returns theSoNodekitCatalogfor this class.-
Methods inherited from class com.openinventor.meshviz.data.PoMesh
getDataMapping, getIsovaluesList, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMapping
-
Methods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
-
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
-
Methods 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, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
useOverallNormal
public final SoSFBool 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.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalogfor this class.
-
-