#include <MeshViz/elements/PoProfileElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, SoNode *node, const PoProfile *filter) |
static const PoProfile * | get (SoState *state) |
static SbBox2f | getBBox (SoState *state) |
static const SbVec2f * | getProfile (SoState *state, float step, int &number) |
static PoProfile * | getDefault () |
static int PoProfileElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoReplacedElement.
static SoType PoProfileElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoReplacedElement.
static PoProfile* PoProfileElement::getDefault | ( | ) | [inline, static] |
static const SbVec2f* PoProfileElement::getProfile | ( | SoState * | state, | |
float | step, | |||
int & | number | |||
) | [static] |
Return the current 2D polygon defining the profile.
step is only used for circular and elliptic profile.
virtual void PoProfileElement::init | ( | SoState * | state | ) | [virtual] |
Initializes node id in element.
Reimplemented from SoReplacedElement.
static void PoProfileElement::set | ( | SoState * | state, | |
SoNode * | node, | |||
const PoProfile * | filter | |||
) | [static] |