SoNurbsPropertyElement Class Reference
[Elements]

VSG extension Stores current NURBS properties. More...

#include <Inventor/elements/SoNurbsPropertyElement.h>

Inheritance diagram for SoNurbsPropertyElement:
SoReplacedElement SoElement SoTypedObject

List of all members.

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)

Detailed Description

VSG extension Stores current NURBS properties.

This element stores the current NURBS properties.

SEE ALSO

SoNurbsProperty


Member Enumeration Documentation

Draw style.

Enumerator:
NORMAL 

Normal.

BOUNDARIES_AND_TRIM_CURVES 

Boundaries and trim curves.

CENTRAL_ISO_PARAM_CURVES 

Central iso param curves.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/