SoBevelProperty Class Reference
[Properties]

VSG extension Node to define beveling properties. More...

#include <Inventor/nodes/SoBevelProperty.h>

Inheritance diagram for SoBevelProperty:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  Test {
  COPLANAR_TEST = 0x01,
  DUPLICATE_TEST = 0x02,
  ORDERING_TEST = 0x04,
  ALL_TESTS = 0x07
}

Public Member Functions

virtual SoType getTypeId () const
 SoBevelProperty ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFFloat angle
SoSFFloat radius
SoSFBool absoluteRadius
SoSFBitMask testsBeforeBevel

Detailed Description

VSG extension Node to define beveling properties.

This node defines the current beveling properties (used by SoBevelAction) for all subsequent shapes.

You can use it to specify a beveling radius (absolute or relative) and an angle between adjacent faces (like a crease angle) that determines if the edge between those faces will be beveled.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoBevelAction, SoEdgeFlag, SoVertexFlag

See related examples:

BevelAction


Member Enumeration Documentation

Test.

Enumerator:
COPLANAR_TEST 

Concatenate coplanar faces.

DUPLICATE_TEST 

Remove duplicate faces.

ORDERING_TEST 

Reorder facet normals.

ALL_TESTS 

All tests.


Constructor & Destructor Documentation

SoBevelProperty::SoBevelProperty (  ) 

Constructor.


Member Function Documentation

static SoType SoBevelProperty::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

virtual SoType SoBevelProperty::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNode.


Member Data Documentation

If TRUE, the value of radius will be taken as the bevel radius.

Otherwise, the radius is relative to the shape: the radius value is a fraction between 0.0 and 1.0. The bevel radius will be max * radius , where max is the length of the longest edge of the current shape to be beveled.

Indicates the angle (in radians, between 0 and pi) between two adjacent face normals above which the edge will be beveled.

(If the edge has been unmarked by the current SoEdgeFlag it will not be beveled, regardless of the value of angle).

This defines the bevel radius (the size of the rounded edge or corner).

This value will be interpreted as absolute or relative depending on the absoluteRadius flag (below).

Which tests should be performed in order to "clean up" the shape before it is beveled.


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/