2D triangle set shape node. More...
#include <Inventor/VRMLnodes/SoVRMLTriangleSet2D.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLTriangleSet2D () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec2f | vertices |
SoSFBool | solid |
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 .
The SoVRMLTriangleSet2D node specifies a set of triangles in the local 2D coordinate system. The vertices field specifies the triangles to be displayed. The number of vertices provided must be evenly divisible by three. Excess vertices will be ignored.
Textures are applied individually to each face of the SoVRMLTriangleSet2D. On the front (+Z) and back (-Z) faces of the SoVRMLTriangleSet2D, when viewed from the +Z axis, the texture is mapped onto each face with the same orientation as if the image were displayed normally in 2D. TextureTransform affects the texture coordinates of the SoVRMLTriangleSet2D node.
vertices | [NULL] |
solid | FALSE |
metadata | NULL |
SoMFVec2f | set_vertices |
SoSFNode | set_metadata |
SoMFVec2f | vertices_changed |
SoSFNode | metadata_changed |
SoVRMLTriangleSet2D::SoVRMLTriangleSet2D | ( | ) |
Constructor.
static SoType SoVRMLTriangleSet2D::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLGeometry.
virtual SoType SoVRMLTriangleSet2D::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLGeometry.
If TRUE, only the front faces of the shape are displayed.
(The back faces are culled.) If FALSE, both sides are displayed.
Specifies the vertices.