Package com.openinventor.inventor.nodes
Class SoBevelProperty
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.misc.SoBase
com.openinventor.inventor.fields.SoFieldContainer
com.openinventor.inventor.nodes.SoNode
com.openinventor.inventor.nodes.SoBevelProperty
- All Implemented Interfaces:
SafeDisposable
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:
BevelProperty {
angle | 0.5 |
radius | 0.05 |
absoluteRadius | false |
testsBeforeBevel | DUPLICATE_TEST | ORDERING_TEST |
Action behavior:
Sets: SoBevelPropertyElement
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoSFBool
If true, the value ofradius
will be taken as the bevel radius.final SoSFFloat
Indicates the angle (in radians, between 0 and pi) between two adjacent face normals above which the edge will be beveled.static final float
final SoSFFloat
This defines the bevel radius (the size of the rounded edge or corner).final SoSFBitMask
<SoBevelProperty.Tests> Which tests should be performed in order to "clean up" the shape before it is beveled.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
angle
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 currentSoEdgeFlag
it will not be beveled, regardless of the value ofangle
). -
radius
This defines the bevel radius (the size of the rounded edge or corner). This value will be interpreted as absolute or relative depending on theabsoluteRadius
flag (below). -
absoluteRadius
-
testsBeforeBevel
Which tests should be performed in order to "clean up" the shape before it is beveled. -
DEFAULT_RADIUS
public static final float DEFAULT_RADIUS- See Also:
-
-
Constructor Details
-
SoBevelProperty
public SoBevelProperty()Constructor.
-