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 TypeMethodDescriptionfloat
getAngle()
Gets the bevel properties (angle).static int
Deprecated.As of Open Inventor 9.3.0.0.static SoBevelPropertyElement
getInstance
(SoState state) Returns the top (current) instance of the element in the state.float
Gets the bevel properties (radius).int
Method to know the different tests currently selected; these tests will be performed on each shape before beveling is applied.boolean
Gets the bevel properties (absolute radius).boolean
Method to know if this test is enabled.boolean
Method to know if this test is enabled.boolean
Gets the bevel properties (enabled flag).boolean
Method to know if this test is enabled.static void
setAbsoluteRadius
(SoState state, SoNode node, float name_8648) Sets the bevel radius as an absolute value.static void
Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.static void
Calls setRadius(state, node, com.openinventor.inventor.nodes.SoBevelProperty.DEFAULT_RADIUS).static void
Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.static void
Allows 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, push
Methods 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.
-