Class for a 2D parallelogram. More...
#include <MeshViz/graph/PoParallelogram.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoParallelogram () | |
PoParallelogram (const SbVec2f &_p, const SbVec2f &_q, const SbVec2f &_r) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFVec2f | p |
SoSFVec2f | q |
SoSFVec2f | r |
Class to build a parallelogram in the plane XY. A parallelogram is defined by three points, p,q,r where the segment PR defines a diagonal of the parallelogram.
p | 0 0 |
q | 1 0 |
r | 1 1 |
PoParallelogram::PoParallelogram | ( | ) | [inline] |
Default constructor.
PoParallelogram::PoParallelogram | ( | const SbVec2f & | _p, | |
const SbVec2f & | _q, | |||
const SbVec2f & | _r | |||
) | [inline] |
Constructor.
static const SoNodekitCatalog* PoParallelogram::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoGraphMaster.
static SoType PoParallelogram::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoGraphMaster.
virtual const SoNodekitCatalog* PoParallelogram::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoGraphMaster.
virtual SoType PoParallelogram::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoGraphMaster.
virtual void PoParallelogram::rebuild | ( | ) | [virtual] |
First point of the parallelogram.
Second point of the parallelogram.
Third point of the parallelogram.