#include <types.h>
|
void | Set (Index faceid, short u, short v, unsigned short depth, bool nonquad, unsigned short boundary, unsigned short transition) |
| Sets the values of the bit fields. More...
|
|
void | Clear () |
| Resets everything to 0. More...
|
|
Index | GetFaceId () const |
| Retuns the faceid. More...
|
|
unsigned short | GetU () const |
| Returns the log2 value of the u parameter at the top left corner of the patch. More...
|
|
unsigned short | GetV () const |
| Returns the log2 value of the v parameter at the top left corner of the patch. More...
|
|
unsigned short | GetTransition () const |
| Returns the transition edge encoding for the patch. More...
|
|
unsigned short | GetBoundary () const |
| Returns the boundary edge encoding for the patch. More...
|
|
bool | NonQuadRoot () const |
| True if the parent coarse face is a non-quad. More...
|
|
float | GetParamFraction () const |
| Returns the fraction of normalized parametric space covered by the sub-patch. More...
|
|
unsigned short | GetDepth () const |
| Returns the level of subdivision of the patch. More...
|
|
void | Normalize (float &u, float &v) const |
|
Definition at line 93 of file types.h.
The documentation for this struct was generated from the following file: