Class PoCellIndices

  • All Implemented Interfaces:

    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 by PoMesh.setMesh() or (if this method is not called) defined in a special node inherited during traversal. This node has a type derived from PoMeshProperty. <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>&nbsp; <UL><B>AppearanceKit</B> nodesIndexApp</UL> &nbsp; <UL><I>Specifies the appearance of the node indices.</I></UL> &nbsp; <UL><B>Group</B> nodesIndexGroup</UL> &nbsp; <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>&nbsp; <UL><B>AppearanceKit</B> cellIndexApp</UL> &nbsp; <UL><I>Specifies the appearance of the cell index.</I></UL> &nbsp; <UL><B>Group</B> cellIndexGroup</UL> &nbsp; <UL><I>Contains one SoSeparator. This separator contains a SoTranslation and a SoText2.</I></UL> <P>} <BR>&nbsp; <BR>&nbsp;</UL> </UL> </UL> <UL> <UL>}</UL> </UL> <UL>}</UL> <UL> <UL>&nbsp;</UL> </UL> </BODY> </HTML>

    • 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.
    • Constructor Detail

      • PoCellIndices

        public PoCellIndices()