public class SoVRMLTriangleFanSet extends SoVRMLVertexShape
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
SoVRMLTriangleFanSet represents a 3D shape composed of triangles that form a fan shape around the first vertex declared in each fan.
fanCount field describes how many vertices are to be used in each fan from the
coord field. Coordinates are assigned to each strip by taking
fanCount[n] vertices from the
coord field. Each value of the
fanCount array must be greater than or equal to three. It is an error to have a value less than three.
The following figure displays a TriangleFanSet containing a single fan showing the ordering of the vertices for that fan.
SoVRMLTriangleFanSet node is specified in the local coordinate system and is affected by the transformations of its ancestors. Descriptions of the
texCoord fields are provided in the Color, Coordinate, Normal, and TextureCoordinate nodes, respectively. If values are provided for the
texCoord fields, 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, for each fan, the normal will be generated as follows: if
normalPerVertex is true, the normal will be the average of all triangles within that fan sharing that vertex. For the vertex of the fan, the normal will be the average of the contributions of all of the individual face normals. If
normalPerVertex is false, the normal will be generated for the current triangle based on the ccw field.
|Modifier and Type||Field and Description|
Indicates whether the vertices are ordered in a counterclockwise direction when viewed from the outside (true) or in a clockwise direction (false).
Number of vertices in each triangle strip.
If you know that the shape encloses a volume, set this value to true.
color, colorPerVertex, coord, normal, normalPerVertex, texCoord
boundingBoxIgnoring, LINES, POINTS, POLYGONS, TEXT
|Constructor and Description|
Creates a 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 fanCount
public final SoSFBool ccw
public final SoSFBool solid
Generated on January 29, 2020, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com