SoCreaseAngleElement Class Reference
[Elements]

Stores the current crease angle. More...

#include <Inventor/elements/SoCreaseAngleElement.h>

Inheritance diagram for SoCreaseAngleElement:
SoFloatElement SoElement SoTypedObject

List of all members.

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

Detailed Description

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.

SEE ALSO

SoShapeHints


Member Function Documentation

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.

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

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.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/