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

Public Member Functions | |
| void | renderTexForNurbs (GLUnurbsObj *nurbs_object) |
| Calls OpenGL routines to render the texture. | |
| ~NurbsTextureCoordinate () | |
| Destructor. | |
| NurbsTextureCoordinate (Inst< SFNode > _metadata=0, Inst< MFVec2f > _controlPoint=0, Inst< MFFloat > _weight=0, Inst< SFInt32 > _uDimension=0, Inst< SFInt32 > _vDimension=0, Inst< MFDouble > _uKnot=0, Inst< MFDouble > _vKnot=0, Inst< SFInt32 > _uOrder=0, Inst< SFInt32 > _vOrder=0) | |
| Constructor. | |
| virtual string | defaultXMLContainerField () |
| For this node it is "texCoord". | |
Public Attributes | |
| auto_ptr< MFVec2f > | controlPoint |
| Access type: inputOutput | |
| auto_ptr< MFFloat > | weight |
| A weight value that shall be greater than zero is assigned to each controlPoint. | |
| auto_ptr< SFInt32 > | uDimension |
| Defines the number of control points in the u dimension. | |
| auto_ptr< SFInt32 > | vDimension |
| Defines the number of control points in the v dimension. | |
| auto_ptr< MFDouble > | uKnot |
| Defines the knot values of the surface in the u dimension. | |
| auto_ptr< MFDouble > | vKnot |
| Defines the knot values of the surface in the v dimension. | |
| auto_ptr< SFInt32 > | uOrder |
| Defines the order of the surface in the u dimension. | |
| auto_ptr< SFInt32 > | vOrder |
| Defines the order of the surface in the v dimension. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
Protected Attributes | |
| GLfloat * | withWeights |
| GLfloat * | u_knots |
| GLfloat * | v_knots |
If a NurbsTextureCoordinate is undefined, texture coordinates are computed by the client on the basis of parametric step size. Conventional vertex parameters do not apply on NURBS surfaces because triangles are only available after polygonalization. However, the conventional texture transform may be used.
NurbsTextureCoordinate nodes are accessed through the texCoord field of a node derived from NurbsTextureCoordinate. A NurbsTextureCoordinate node separately encountered is ignored.
|
|
Access type: inputOutput
|
|
|
Defines the number of control points in the u dimension.
Access type: inputOutput
|
|
|
Defines the knot values of the surface in the u dimension.
Access type: inputOutput
|
|
|
Defines the order of the surface in the u dimension.
Access type: inputOutput
|
|
|
Defines the number of control points in the v dimension.
Access type: inputOutput
|
|
|
Defines the knot values of the surface in the v dimension.
Access type: inputOutput
|
|
|
Defines the order of the surface in the v dimension.
Access type: inputOutput
|
|
|
A weight value that shall be greater than zero is assigned to each controlPoint. The ordering of the values is equivalent to the ordering of the control point values. The number of values shall be identical to the number of control points. If the length of the weight vector is 0, the default weight 1.0 is assumed for each control point, thus defining a non-Rational curve. If the number of weight values is less than the number of control points, all weight values shall be ignored and a value of 1.0 shall be used.
Access type: inputOutput
|
1.4.5