Class to build a 3D circle arc. More...
#include <MeshViz/graph/PoCircleArc3CtrPtAngle.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoCircleArc3CtrPtAngle () | |
PoCircleArc3CtrPtAngle (const SbVec3f &_center, const SbVec3f &_startPoint, float _angle, const SbVec3f &_normal) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFVec3f | center |
SoSFVec3f | startPoint |
SoSFFloat | angle |
SoSFVec3f | normal |
The circle arc is defined by its center, a start point , an angle and a normal vector to the circle plane.
arcType | OPENED |
center | 0 0 0 |
startPoint | 1 0 0 |
angle | 2PI |
normal | 0 0 1 |
PoCircleArc3CtrPtAngle::PoCircleArc3CtrPtAngle | ( | ) | [inline] |
Default constructor.
PoCircleArc3CtrPtAngle::PoCircleArc3CtrPtAngle | ( | const SbVec3f & | _center, | |
const SbVec3f & | _startPoint, | |||
float | _angle, | |||
const SbVec3f & | _normal | |||
) | [inline] |
Constructor.
static const SoNodekitCatalog* PoCircleArc3CtrPtAngle::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoCircleArc3.
static SoType PoCircleArc3CtrPtAngle::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoCircleArc3.
virtual const SoNodekitCatalog* PoCircleArc3CtrPtAngle::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoCircleArc3.
virtual SoType PoCircleArc3CtrPtAngle::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoCircleArc3.
virtual void PoCircleArc3CtrPtAngle::rebuild | ( | ) | [virtual] |
Arc angle.
2PI by default.
Circle center.
(0,0,0) by default.
Normal to the plane of circle.
(0,0,1) by default.
Start point of the arc.
(1,0,0) by default.