Node to define the beveled edge values. More...
#include <MeshViz/nodes/PoBevelEdge.h>
Public Types | |
enum | RadiusFlag { ABSOLUTE_RADIUS, PERCENTAGE_RADIUS } |
Public Member Functions | |
virtual SoType | getTypeId () const |
PoBevelEdge () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFBool | on |
SoSFFloat | radius |
SoSFEnum | radiusFlag |
SoSFFloat | bevelAngle |
This node defines the current values to bevel edges of all subsequent MeshViz representations inhering from PoChart. 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.
on | TRUE |
radius | 0.05 |
radiusFlag | PERCENTAGE_RADIUS |
bevelAngle | 0.5 |
PoBevelEdge::PoBevelEdge | ( | ) |
Constructor.
static SoType PoBevelEdge::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoNode.
virtual SoType PoBevelEdge::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoNode.
Indicates the minimum angle (in radians) between two adjacent face normals required to bevel the edge common to these two faces.
Activate/Desactivate bevel attributes.
Indicates the radius of the bevel.
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.