Open Inventor Reference
SoCreaseAngleElement Class 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>

Inheritance diagram for SoCreaseAngleElement:
SoFloatElement SoElement

List of all members.

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 ()

Detailed Description

Definition at line 71 of file SoCreaseAngleElement.h.


Constructor & Destructor Documentation

virtual SoCreaseAngleElement::~SoCreaseAngleElement ( ) [protected, virtual]

Member Function Documentation

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.

virtual void SoCreaseAngleElement::init ( SoState state) [virtual]

Reimplemented from SoElement.

static void SoCreaseAngleElement::initClass ( ) [static]

Reimplemented from SoFloatElement.

virtual void SoCreaseAngleElement::print ( FILE *  fp) const [virtual]

Reimplemented from SoFloatElement.

static void SoCreaseAngleElement::set ( SoState state,
SoNode ,
float  angle 
) [inline, static]

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().


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