Class to build a 2D circle. More...
#include <MeshViz/graph/PoCircleCenterRadius.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoCircleCenterRadius () | |
PoCircleCenterRadius (const SbVec2f &_center, float _radius) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFVec2f | center |
SoSFFloat | radius |
This class builds a circle in the plane XY. The circle is defined by its center and its radius.
center | 0 0 |
radius | 1 |
PoCircleCenterRadius::PoCircleCenterRadius | ( | ) | [inline] |
Default constructor.
PoCircleCenterRadius::PoCircleCenterRadius | ( | const SbVec2f & | _center, | |
float | _radius | |||
) | [inline] |
Constructor.
static const SoNodekitCatalog* PoCircleCenterRadius::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoCircle.
static SoType PoCircleCenterRadius::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoCircle.
virtual const SoNodekitCatalog* PoCircleCenterRadius::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoCircle.
virtual SoType PoCircleCenterRadius::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoCircle.
virtual void PoCircleCenterRadius::rebuild | ( | ) | [virtual] |
Circle center.
(0,0) by default.
Circle radius.
1 by default.