SoBevelPropertyElement Class Reference
[Elements]

VSG extension Stores various beveling attributes. More...

#include <Inventor/elements/SoBevelPropertyElement.h>

Inheritance diagram for SoBevelPropertyElement:
SoReplacedElement SoElement SoTypedObject

List of all members.

Public Member Functions

float getAngle () const
float getRadius () const
SbBool isAbsoluteRadius () const
SbBool isEnabled () const
SbBool isCoplanarTestEnabled () const
SbBool isDuplicateTestEnabled () const
SbBool isOrderingTestEnabled () const
int getTestsToDoBeforeBevel () const
virtual void print (FILE *fp) const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void setAngle (SoState *state, SoNode *node, float)
static void setRadius (SoState *state, SoNode *node, float=SoBevelProperty::DEFAULT_RADIUS)
static void setAbsoluteRadius (SoState *state, SoNode *node, float)
static void setTests (SoState *state, SoNode *node, int)
static const
SoBevelPropertyElement
getInstance (SoState *state)

Detailed Description

VSG extension Stores various beveling attributes.

This element stores various beveling attributes.

SEE ALSO

SoBevelProperty

See related examples:

BevelAction


Member Function Documentation

float SoBevelPropertyElement::getAngle (  )  const [inline]

Gets the bevel properties (angle).

static int SoBevelPropertyElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoReplacedElement.

static SoType SoBevelPropertyElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

static const SoBevelPropertyElement* SoBevelPropertyElement::getInstance ( SoState state  )  [inline, static]

Returns the top (current) instance of the element in the state.

float SoBevelPropertyElement::getRadius (  )  const [inline]

Gets the bevel properties (radius).

int SoBevelPropertyElement::getTestsToDoBeforeBevel (  )  const [inline]

Method to know the different tests currently selected; these tests will be performed on each shape before beveling is applied.

SbBool SoBevelPropertyElement::isAbsoluteRadius (  )  const [inline]

Gets the bevel properties (absolute radius).

SbBool SoBevelPropertyElement::isCoplanarTestEnabled (  )  const [inline]

Method to know if this test is enabled.

If it is, this test will be performed on each shape before the bevel.

SbBool SoBevelPropertyElement::isDuplicateTestEnabled (  )  const [inline]

Method to know if this test is enabled.

If it is, this test will be performed on each shape before the bevel.

SbBool SoBevelPropertyElement::isEnabled (  )  const [inline]

Gets the bevel properties (enabled flag).

SbBool SoBevelPropertyElement::isOrderingTestEnabled (  )  const [inline]

Method to know if this test is enabled.

If it is, this test will be performed on each shape before the bevel.

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

Prints element (for debugging).

Reimplemented from SoReplacedElement.

static void SoBevelPropertyElement::setAbsoluteRadius ( SoState state,
SoNode node,
float   
) [static]

Sets the bevel radius as an absolute value.

static void SoBevelPropertyElement::setAngle ( SoState state,
SoNode node,
float   
) [static]

Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.

static void SoBevelPropertyElement::setRadius ( SoState state,
SoNode node,
float  = SoBevelProperty::DEFAULT_RADIUS 
) [static]

Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.

static void SoBevelPropertyElement::setTests ( SoState state,
SoNode node,
int   
) [static]

Allows the user to switch on/off the tests applied before the bevel (can increase speed when the tests are not needed).


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/