Class SoBevelPropertyElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.inventor.elements.SoBevelPropertyElement
Stores various beveling attributes.
This element stores various beveling attributes.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Method Summary
Modifier and TypeMethodDescriptionfloatgetAngle()Gets the bevel properties (angle).static intDeprecated.As of Open Inventor 9.3.0.0.static SoBevelPropertyElementgetInstance(SoState state) Returns the top (current) instance of the element in the state.floatGets the bevel properties (radius).intMethod to know the different tests currently selected; these tests will be performed on each shape before beveling is applied.booleanGets the bevel properties (absolute radius).booleanMethod to know if this test is enabled.booleanMethod to know if this test is enabled.booleanGets the bevel properties (enabled flag).booleanMethod to know if this test is enabled.static voidsetAbsoluteRadius(SoState state, SoNode node, float name_8648) Sets the bevel radius as an absolute value.static voidSets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.static voidCalls setRadius(state, node, com.openinventor.inventor.nodes.SoBevelProperty.DEFAULT_RADIUS).static voidSets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.static voidAllows the user to switch on/off the tests applied before the bevel (can increase speed when the tests are not needed).Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, pushMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
setRadius
Calls setRadius(state, node, com.openinventor.inventor.nodes.SoBevelProperty.DEFAULT_RADIUS). -
isAbsoluteRadius
public boolean isAbsoluteRadius()Gets the bevel properties (absolute radius). -
getInstance
Returns the top (current) instance of the element in the state. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
isCoplanarTestEnabled
public boolean isCoplanarTestEnabled()Method to know if this test is enabled. If it is, this test will be performed on each shape before the bevel. -
getAngle
public float getAngle()Gets the bevel properties (angle). -
getRadius
public float getRadius()Gets the bevel properties (radius). -
getTestsToDoBeforeBevel
public int getTestsToDoBeforeBevel()Method to know the different tests currently selected; these tests will be performed on each shape before beveling is applied. -
setAbsoluteRadius
Sets the bevel radius as an absolute value. -
isEnabled
public boolean isEnabled()Gets the bevel properties (enabled flag). -
setTests
Allows the user to switch on/off the tests applied before the bevel (can increase speed when the tests are not needed). -
isDuplicateTestEnabled
public boolean isDuplicateTestEnabled()Method to know if this test is enabled. If it is, this test will be performed on each shape before the bevel. -
setAngle
Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled. -
isOrderingTestEnabled
public boolean isOrderingTestEnabled()Method to know if this test is enabled. If it is, this test will be performed on each shape before the bevel. -
setRadius
Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.
-