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
public class SoBevelProperty extends SoNode
Node to define beveling properties. This node defines the current beveling properties (used bySoBevelAction
) 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:
SoBevelAction
,SoEdgeFlag
,SoVertexFlag
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoBevelProperty.Tests
Test.-
Nested 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
Fields Modifier and Type Field Description SoSFBool
absoluteRadius
If true, the value ofradius
will be taken as the bevel radius.SoSFFloat
angle
Indicates the angle (in radians, between 0 and pi) between two adjacent face normals above which the edge will be beveled.static float
DEFAULT_RADIUS
SoSFFloat
radius
This defines the bevel radius (the size of the rounded edge or corner).SoSFBitMask<SoBevelProperty.Tests>
testsBeforeBevel
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 Constructor Description SoBevelProperty()
Constructor.
-
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 Detail
-
angle
public final SoSFFloat 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
public final SoSFFloat 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
public final SoSFBool absoluteRadius
-
testsBeforeBevel
public final SoSFBitMask<SoBevelProperty.Tests> 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:
- Constant Field Values
-
-