Package com.openinventor.meshviz.nodes
Class PoBevelEdge
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoBevelEdge extends PoNode
Node to define the beveled edge values. This node defines the current values to bevel edges of all subsequent MeshViz representations inhering fromPoChart
. The way in which edges are beveled is defined by a radius to indicate the size of the bevel and by a bevelAngle to indicate the minimum angle between two adjacent face normals required to bevel the edge common to these two faces.File format/default:
on true radius 0.05 radiusFlag PERCENTAGE_RADIUS bevelAngle 0.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PoBevelEdge.RadiusFlags
Radius Type.-
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 SoSFFloat
bevelAngle
Indicates the minimum angle (in radians) between two adjacent face normals required to bevel the edge common to these two faces.SoSFBool
on
Activate/Desactivate bevel attributes.SoSFFloat
radius
Indicates the radius of the bevel.SoSFEnum<PoBevelEdge.RadiusFlags>
radiusFlag
Defines the interpretation of the field radius.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoBevelEdge()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.meshviz.nodes.PoNode
callback, doAction, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, search, write
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, copy, copy, distribute, getAlternateRep, getByName, getRenderEngineMode, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, rayPick, setOverride, touch
-
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
-
on
public final SoSFBool on
Activate/Desactivate bevel attributes.
-
radius
public final SoSFFloat radius
Indicates the radius of the bevel.
-
radiusFlag
public final SoSFEnum<PoBevelEdge.RadiusFlags> radiusFlag
Defines the interpretation of the field radius. If radiusFlag == ABSOLUTE_RADIUS, the radius value is absolute. If radiusFlag == PERCENTAGE_RADIUS, the field radius is a percentage (0. <= radius <= 1.), the real radius corresponding is max * radius, where max is the maximun length of all the edges of the current shape to be beveled.
-
bevelAngle
public final SoSFFloat bevelAngle
Indicates the minimum angle (in radians) between two adjacent face normals required to bevel the edge common to these two faces.
-
-