23#ifndef  _SO_BEVEL_PROPERTY_ELEMENT 
   24#define  _SO_BEVEL_PROPERTY_ELEMENT 
   26#include <Inventor/fields/SoMFInt32.h> 
   27#include <Inventor/elements/SoReplacedElement.h> 
   28#include <Inventor/nodes/SoBevelProperty.h> 
   40SoEXTENDER_Documented 
class  SoBevelPropertyElement : 
public SoReplacedElement {
 
   42  SO_ELEMENT_HEADER(SoBevelPropertyElement);
 
   71    {
return getConstElement<SoBevelPropertyElement>(state);}
 
 
  118  virtual void init(
SoState *state);
 
  122  static void           initClass();
 
  123  static void           exitClass();
 
  127  SbBool        absoluteRadius, propertyEnabled;
 
  130  virtual ~SoBevelPropertyElement();
 
 
virtual void print(FILE *fp) const
Prints element (for debugging).
 
static void setRadius(SoState *state, SoNode *node, float=SoBevelProperty::DEFAULT_RADIUS)
Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.
 
static void setAngle(SoState *state, SoNode *node, float)
Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.
 
float getAngle() const
Gets the bevel properties (angle).
 
SbBool isEnabled() const
Gets the bevel properties (enabled flag).
 
SbBool isAbsoluteRadius() const
Gets the bevel properties (absolute radius).
 
float getRadius() const
Gets the bevel properties (radius).
 
static const SoBevelPropertyElement * getInstance(SoState *state)
Returns the top (current) instance of the element in the state.
 
int getTestsToDoBeforeBevel() const
Method to know the different tests currently selected; these tests will be performed on each shape be...
 
SbBool isDuplicateTestEnabled() const
Method to know if this test is enabled.
 
SbBool isCoplanarTestEnabled() const
Method to know if this test is enabled.
 
static void setTests(SoState *state, SoNode *node, int)
Allows the user to switch on/off the tests applied before the bevel (can increase speed when the test...
 
SbBool isOrderingTestEnabled() const
Method to know if this test is enabled.
 
static void setAbsoluteRadius(SoState *state, SoNode *node, float)
Sets the bevel radius as an absolute value.
 
@ DUPLICATE_TEST
Remove duplicate faces.
 
@ COPLANAR_TEST
Concatenate coplanar faces.
 
@ ORDERING_TEST
Reorder facet normals.
 
Abstract base class for all database nodes.