Class PoCellIndices
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoCellIndices extends PoCellShape
Builds text indices of a cell of a mesh. The node's indices and the cell's index are visualized. The node index in the mesh and node's relative index in the cell are both displayed. For instance if the 3rd node index of a cell is 3218, the string "n3 = 3128" is drawn near this node's position. This allows you to check node ordering in a cell.The strings can be moved away or brought nearer the node position by using the
offset
field.The cell is defined by its index in the current mesh (see
PoCellShape
). The current mesh is either defined byPoMesh.setMesh()
or (if this method is not called) defined in a special node inherited during traversal. This node has a type derived fromPoMeshProperty
.<HTML> <HEAD> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="GENERATOR" CONTENT="Mozilla/4.03 [en] (X11; I; HP-UX A.09.07 9000/715) [Netscape]"> </HEAD> <BODY> <H4> <A NAME="Heading1037"></A>CATALOG PARTS</H4> <UL><B>PoCellIndices</B> {</UL> <UL> <UL><B>Separator</B> <TT>alternateRep</TT> (from PoBase) {</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=BASE_COLOR. 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><B>Separator</B> <TT>nodesIndexSep</TT> { <P><I>Contains properties and shapes to draw the texts of the node indices.</I> <BR> <UL><B>AppearanceKit</B> nodesIndexApp</UL> <UL><I>Specifies the appearance of the node indices.</I></UL> <UL><B>Group</B> nodesIndexGroup</UL> <UL><I>Contains a list of num_nodes SoSeparator. Each one contains a SoTranslation and a SoText2.</I></UL> <P>} <P><B>Separator</B> cell<TT>IndexSep</TT> { <P><I>Contains properties and shapes to draw the text of the cell index.</I> <BR> <UL><B>AppearanceKit</B> cellIndexApp</UL> <UL><I>Specifies the appearance of the cell index.</I></UL> <UL><B>Group</B> cellIndexGroup</UL> <UL><I>Contains one SoSeparator. This separator contains a SoTranslation and a SoText2.</I></UL> <P>} <BR> <BR> </UL> </UL> </UL> <UL> <UL>}</UL> </UL> <UL>}</UL> <UL> <UL> </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 SoSFFloat
offset
Factor of the cell's size that specifies the distance of the nodes indices representation to the position of these nodes.-
Fields inherited from class com.openinventor.meshviz.data.PoCellShape
cellIndex
-
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 PoCellIndices()
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCatalog
getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.-
Methods inherited from class com.openinventor.meshviz.data.PoMesh
getDataMapping, getIsovaluesList, getMesh, 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
-
offset
public final SoSFFloat offset
Factor of the cell's size that specifies the distance of the nodes indices representation to the position of these nodes.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-