Stores the current crease angle. More...
#include <Inventor/elements/SoCreaseAngleElement.h>
Public Member Functions | |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, float angle) |
static void | set (SoState *state, SoNode *, float angle) |
static float | get (SoState *state) |
static float | getDefault () |
Stores the current crease angle.
This element stores the current crease angle that is used to determine whether default normals should be computed to create a sharp edge or a smooth surface.
static float SoCreaseAngleElement::get | ( | SoState * | state | ) | [inline, static] |
Returns current crease angle from the state.
static int SoCreaseAngleElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoFloatElement.
static SoType SoCreaseAngleElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoFloatElement.
static float SoCreaseAngleElement::getDefault | ( | ) | [inline, static] |
Returns the default crease angle.
virtual void SoCreaseAngleElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoFloatElement.
Sets the current crease angle in the state.
static void SoCreaseAngleElement::set | ( | SoState * | state, | |
float | angle | |||
) | [static] |
Sets the current crease angle in the state.