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 float
getAngle()
Gets the bevel properties (angle).static int
getClassStackIndex()
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
getRadius()
Gets the bevel properties (radius).int
getTestsToDoBeforeBevel()
Method to know the different tests currently selected; these tests will be performed on each shape before beveling is applied.boolean
isAbsoluteRadius()
Gets the bevel properties (absolute radius).boolean
isCoplanarTestEnabled()
Method to know if this test is enabled.boolean
isDuplicateTestEnabled()
Method to know if this test is enabled.boolean
isEnabled()
Gets the bevel properties (enabled flag).boolean
isOrderingTestEnabled()
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
setAngle(SoState state, SoNode node, float name_8642)
Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.static void
setRadius(SoState state, SoNode node)
Calls setRadius(state, node, com.openinventor.inventor.nodes.SoBevelProperty.DEFAULT_RADIUS).static void
setRadius(SoState state, SoNode node, float name_8645)
Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.static void
setTests(SoState state, SoNode node, int name_8651)
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(since="9.3.0.0") public static int 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
public static void setAbsoluteRadius(SoState state, SoNode node, float name_8648)
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_8651)
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_8642)
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.
-
-