#include <TriangleSet2D.h>
Inheritance diagram for H3D::TriangleSet2D:

Public Member Functions | |
| TriangleSet2D (Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< DisplayList > _displayList=0, Inst< MFBool > _isTouched=0, Inst< MFVec3f > _force=0, Inst< MFVec3f > _contactPoint=0, Inst< MFVec3f > _contactNormal=0, Inst< MFVec2f > _vertices=0, Inst< SFBool > _solid=0) | |
| Constructor. | |
| virtual void | render () |
| Renders the TriangleSet2D using OpenGL. | |
Public Attributes | |
| auto_ptr< MFVec2f > | vertices |
| The vertices field specifies the triangles to be displayed. | |
| auto_ptr< SFBool > | solid |
| The solid field specifies if both sides of the closed arc should be rendered. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Classes | |
| class | SFBound |
| SFBound is specialized update itself from the radius field of the Box node. More... | |
The vertices field specifies the triangles to be displayed. The number of vertices provided shall be evenly divisible by three. Excess vertices shall be ignored.
Textures are applied individually to each face of the TriangleSet2D. On the front (+Z) and back (-Z) faces of the TriangleSet2D, 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.
|
|
The solid field specifies if both sides of the closed arc should be rendered. If solid is FALSE then both sides will be rendered.
Access type: inputOutput
|
|
|
The vertices field specifies the triangles to be displayed. The number of vertices provided shall be evenly divisible by three. Excess vertices shall be ignored.
Access type: inputOutput
|
1.4.5