Stores current NURBS properties.
More...
#include <Inventor/elements/SoNurbsPropertyElement.h>
Public Types | |
| enum | DrawStyle { NORMAL = 0x01, BOUNDARIES_AND_TRIM_CURVES = 0x02, CENTRAL_ISO_PARAM_CURVES = 0x04 } |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | set (SoState *state, SoNode *node, DrawStyle drawStyleMask, int numSamplePoints, const SbColor &color, u_short isoParamCurvesPattern, SoNurbsProperty::TessellationType tessType, float tessDistance, float tessAngle) |
| static void | get (SoState *state, DrawStyle &drawStyleMask, int &numSamplePoints, SbColor &color, u_short &isoParamCurvesPattern, SoNurbsProperty::TessellationType &tessType, float &tessDistance, float &tessAngle) |
| static void | getDefault (DrawStyle &drawStyleMask, int &numSamplePoints, SbColor &color, u_short &isoParamCurvesPattern, SoNurbsProperty::TessellationType &tessType, float &tessDistance, float &tessAngle) |
Stores current NURBS properties.
This element stores the current NURBS properties.
| static void SoNurbsPropertyElement::get | ( | SoState * | state, | |
| DrawStyle & | drawStyleMask, | |||
| int & | numSamplePoints, | |||
| SbColor & | color, | |||
| u_short & | isoParamCurvesPattern, | |||
| SoNurbsProperty::TessellationType & | tessType, | |||
| float & | tessDistance, | |||
| float & | tessAngle | |||
| ) | [static] |
Gets the current NURBS properties attributes in the state.
| static int SoNurbsPropertyElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
| static SoType SoNurbsPropertyElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
| static void SoNurbsPropertyElement::getDefault | ( | DrawStyle & | drawStyleMask, | |
| int & | numSamplePoints, | |||
| SbColor & | color, | |||
| u_short & | isoParamCurvesPattern, | |||
| SoNurbsProperty::TessellationType & | tessType, | |||
| float & | tessDistance, | |||
| float & | tessAngle | |||
| ) | [static] |
Get default values.
| static void SoNurbsPropertyElement::set | ( | SoState * | state, | |
| SoNode * | node, | |||
| DrawStyle | drawStyleMask, | |||
| int | numSamplePoints, | |||
| const SbColor & | color, | |||
| u_short | isoParamCurvesPattern, | |||
| SoNurbsProperty::TessellationType | tessType, | |||
| float | tessDistance, | |||
| float | tessAngle | |||
| ) | [static] |
Sets the current NURBS properties attributes in the state.