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

Public Member Functions | |
| Disk2D (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< SFFloat > _innerRadius=0, Inst< SFFloat > _outerRadius=0, Inst< SFBool > _solid=0) | |
| Constructor. | |
| virtual void | render () |
| Renders the Disk2D using OpenGL. | |
Public Attributes | |
| auto_ptr< SFFloat > | innerRadius |
| The innerRadius field specifies the inner dimension of the Disk2D. | |
| auto_ptr< SFFloat > | outerRadius |
| The outerRadius field specifies the radius of the outer dimension of the Disk2D. | |
| 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 outerRadius field specifies the radius of the outer dimension of the Disk2D.
The innerRadius field specifies the inner dimension of the Disk2D. The value of outerRadius shall be greater than zero. The value of innerRadius shall be greater than or equal to zero and less than or equal to outerRadius. If innerRadius is zero, the Disk2D is completely filled. Otherwise, the area within the innerRadius forms a hole in the Disk2D. If innerRadius is equal to outerRadius, a solid circle shall be drawn using the current line properties.
Textures are applied individually to each face of the Disk2D. On the front (+Z) and back (-Z) faces of the Disk2D, 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 innerRadius field specifies the inner dimension of the Disk2D. The value of innerRadius shall be greater than or equal to zero and less than or equal to outerRadius. If innerRadius is zero, the Disk2D is completely filled. Otherwise, the area within the innerRadius forms a hole in the Disk2D.
Access type: inputOutput
|
|
|
The outerRadius field specifies the radius of the outer dimension of the Disk2D. The value of outerRadius shall be greater than zero.
Access type: inputOutput
|
|
|
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
|
1.4.5