public class SoVRMLIndexedTriangleStripSet extends SoVRMLTriangle
See the X3D Specification, below.
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
This section describes the expected behavior of the node in a conforming X3D browser application. In some cases, the application is responsible for implementing portions of the expected behavior. Open Inventor viewer classes and IVF classes implement some of the application behaviors.
This section may reference portions of the X3D specification that are not present in this help file. The complete X3D spec is available at
An SoVRMLIndexedTriangleStripSet
represents a 3D shape composed of strips of triangles as depicted in the following figure.
SoVRMLIndexedTriangleStripSet
uses the indices in its index
field to specify the triangle strips by connecting vertices from the coord
field. An index of "-1" indicates that the current strip has ended and the next one begins. The last strip may be (but does not have to be) followed by a "-1". Each strip must have at least three non-coincident vertices.
The SoVRMLIndexedTriangleStripSet
node is specified in the local coordinate system and is affected by the transformations of its ancestors. Descriptions of the color
, coord
, normal
, and texCoord
fields are provided in the SoVRMLColor
, SoVRMLCoordinate
, SoVRMLNormal
, and SoVRMLTextureCoordinate
nodes, respectively. If values are provided for the color
, normal
, and texCoord
fields, the values are applied in the same manner as the values from the coord
field and there must be at least as many values as are present in the coord
field. The value of the colorPerVertex
field is ignored and always treated as true. If the normal
field is not provided, normals will be generated as follows:
If normalPerVertex
is true, the normal for each vertex will be the average of the normals for all triangles sharing that vertex.
If normalPerVertex
is false, the normal will be generated for the current triangle based on the ccw
field.
The solid
field determines whether the IndexedTriangleStripSet is visible when viewed from the inside.
File format/default:
VRMLIndexedTriangleStripSet {
color | NULL |
coord | NULL |
normal | NULL |
texCoord | NULL |
ccw | true |
colorPerVertex | true |
normalPerVertex | true |
solid | true |
index | [] |
metadata | NULL |
Action behavior:
SoGLRenderAction
, SoRayPickAction
, SoGetBoundingBoxAction
, SoCallbackAction
SoMFInt32 | set_index |
SoSFNode | set_color |
SoSFNode | set_coord |
SoSFNode | set_normal |
SoSFNode | set_texCoord |
SoSFNode | set_metadata |
SoSFNode | color_changed |
SoSFNode | coord_changed |
SoSFNode | normal_changed |
SoSFNode | texCoord_changed |
SoSFNode | metadata_changed |
SoShape.ShapeTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoMFInt32 |
index
Deprecated.
Indices used to specify the triangle strips.
|
ccw, color, colorPerVertex, coord, normal, normalPerVertex, solid, texCoord
metadata
boundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXT
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVRMLIndexedTriangleStripSet()
Deprecated.
Creates an indexed triangle strip set node with default settings.
|
getShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailable
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
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 final SoMFInt32 index
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com