|
VizKit
3.3.7
|
A texture of a NURBS. More...
Public Member Functions | |
| NurbsTexture () | |
| The constructor. | |
| ~NurbsTexture () | |
| The destructor. | |
| NurbsTexture (const NurbsTexture &other) | |
| Copy constructor of NurbsTexture. | |
| NurbsTexture & | operator= (const NurbsTexture &other) |
| Assignment operator of NurbsTexture. | |
Public Attributes | |
| uint8 | sNumKnots |
| The number of knots in horizontal direction. | |
| float * | sKnots |
| An array of horizontal knot values. | |
| uint8 | tNumKnots |
| The number of knots in vertical direction. | |
| float * | tKnots |
| An array of vertical knot values. | |
| uint16 | sStride |
| The offset between successive control points in u direction. | |
| uint16 | tStride |
| The offset between successive control points in v direction. | |
| uint16 | sOrder |
| The order of the texture in u direction. | |
| uint16 | tOrder |
| The order of the texture in v direction. | |
| uint32 | textureName |
| The name/number/id of the texture. | |
| bool | canUseRectExtension |
| True if graphics system does support rectangular texture extension. | |
| float * | texturePoints |
| An array of control points. | |
Private Member Functions | |
| void | copy (const NurbsTexture &other) |
| Copy method for assignment operator and copy constructor. | |
A texture of a NURBS.
The constructor.
The destructor.
| VisualNurbs::NurbsTexture::NurbsTexture | ( | const NurbsTexture & | other | ) |
Copy constructor of NurbsTexture.
| other | Reference to another NurbsTexture. |
| void VisualNurbs::NurbsTexture::copy | ( | const NurbsTexture & | other | ) | [private] |
Copy method for assignment operator and copy constructor.
| other | Another NurbsTexture. |
| VisualNurbs::NurbsTexture & VisualNurbs::NurbsTexture::operator= | ( | const NurbsTexture & | other | ) |
Assignment operator of NurbsTexture.
| other | Reference to another NurbsTexture. |
True if graphics system does support rectangular texture extension.
False if only textures with power-of-2-dimensions are allowed.
An array of horizontal knot values.
The number of knots in horizontal direction.
The order of the texture in u direction.
The offset between successive control points in u direction.
The name/number/id of the texture.
An array of control points.
An array of vertical knot values.
The number of knots in vertical direction.
The order of the texture in v direction.
The offset between successive control points in v direction.