Class SoBevelPropertyElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoBevelPropertyElement
-
public class SoBevelPropertyElement extends SoReplacedElement
Stores various beveling attributes. This element stores various beveling attributes.- See Also:
SoBevelProperty
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description floatgetAngle()Gets the bevel properties (angle).static intgetClassStackIndex()Deprecated.As of Open Inventor 9300.static SoBevelPropertyElementgetInstance(SoState state)Returns the top (current) instance of the element in the state.floatgetRadius()Gets the bevel properties (radius).intgetTestsToDoBeforeBevel()Method to know the different tests currently selected; these tests will be performed on each shape before beveling is applied.booleanisAbsoluteRadius()Gets the bevel properties (absolute radius).booleanisCoplanarTestEnabled()Method to know if this test is enabled.booleanisDuplicateTestEnabled()Method to know if this test is enabled.booleanisEnabled()Gets the bevel properties (enabled flag).booleanisOrderingTestEnabled()Method to know if this test is enabled.static voidsetAbsoluteRadius(SoState state, SoNode node, float name_8848)Sets the bevel radius as an absolute value.static voidsetAngle(SoState state, SoNode node, float name_8842)Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.static voidsetRadius(SoState state, SoNode node)Calls setRadius(state, node, com.openinventor.inventor.nodes.SoBevelProperty.DEFAULT_RADIUS).static voidsetRadius(SoState state, SoNode node, float name_8845)Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.static voidsetTests(SoState state, SoNode node, int name_8851)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 Detail
-
setRadius
public static void setRadius(SoState state, SoNode node)
Calls setRadius(state, node, com.openinventor.inventor.nodes.SoBevelProperty.DEFAULT_RADIUS).
-
isAbsoluteRadius
public boolean isAbsoluteRadius()
Gets the bevel properties (absolute radius).
-
getInstance
public static SoBevelPropertyElement getInstance(SoState state)
Returns the top (current) instance of the element in the state.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. 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
public static void setAbsoluteRadius(SoState state, SoNode node, float name_8848)
Sets the bevel radius as an absolute value.
-
isEnabled
public boolean isEnabled()
Gets the bevel properties (enabled flag).
-
setTests
public static void setTests(SoState state, SoNode node, int name_8851)
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
public static void setAngle(SoState state, SoNode node, float name_8842)
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.
-
-