Indexed triangle strip set shape node.
Action not implemented for this node. .
More...
#include <Inventor/VRMLnodes/SoVRMLIndexedTriangleStripSet.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLIndexedTriangleStripSet () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFInt32 | index |
Indexed triangle strip set shape node.
Action not implemented for this node. .
See the X3D Specification, below.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the X3D specification that are not present in this help file. The complete X3D spec is available at http://www.web3d.org .
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.
color | NULL |
coord | NULL |
normal | NULL |
texCoord | NULL |
ccw | TRUE |
colorPerVertex | TRUE |
normalPerVertex | TRUE |
solid | TRUE |
index | [] |
metadata | NULL |
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 |
SoVRMLIndexedTriangleStripSet::SoVRMLIndexedTriangleStripSet | ( | ) |
Creates an indexed triangle strip set node with default settings.
static SoType SoVRMLIndexedTriangleStripSet::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLTriangle.
virtual SoType SoVRMLIndexedTriangleStripSet::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLTriangle.
Indices used to specify the triangle strips.