Open Inventor Reference
|
Element that 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.
#include <Inventor/elements/SoCreaseAngleElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
Static Public Member Functions | |
static void | set (SoState *state, float angle) |
Sets the current crease angle in the state. | |
static void | set (SoState *state, SoNode *, float angle) |
static float | get (SoState *state) |
Returns current crease angle from the state. | |
static float | getDefault () |
Returns the default crease angle. | |
static void | initClass () |
Initializes the SoCreaseAngleElement class. | |
Protected Member Functions | |
virtual | ~SoCreaseAngleElement () |
Definition at line 71 of file SoCreaseAngleElement.h.
virtual SoCreaseAngleElement::~SoCreaseAngleElement | ( | ) | [protected, virtual] |
static float SoCreaseAngleElement::get | ( | SoState * | state | ) | [inline, static] |
Definition at line 89 of file SoCreaseAngleElement.h.
References SoFloatElement::get().
static float SoCreaseAngleElement::getDefault | ( | ) | [inline, static] |
Definition at line 93 of file SoCreaseAngleElement.h.
static void SoCreaseAngleElement::initClass | ( | ) | [static] |
Reimplemented from SoFloatElement.
virtual void SoCreaseAngleElement::print | ( | FILE * | fp | ) | const [virtual] |
Reimplemented from SoFloatElement.
Definition at line 84 of file SoCreaseAngleElement.h.
static void SoCreaseAngleElement::set | ( | SoState * | state, |
float | angle | ||
) | [inline, static] |
Definition at line 80 of file SoCreaseAngleElement.h.
References SoFloatElement::set().