SplinePath Class Reference

#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/view/SplinePath.h>

Public Member Functions

 SplinePath ()
 

Static Public Member Functions

static QPainterPath complexPath (QPointList fullControlPoints)
 complexPath Constructs a cubic Beziercurve with a correctly specified vector of control points. More...
 
static QPainterPath simplePath (QPointList simpleControlPoints)
 simplePath Constructs a cubic Beziercurve with an arbitrary number of control points. More...
 

Detailed Description

Definition at line 39 of file SplinePath.h.

Constructor & Destructor Documentation

◆ SplinePath()

Definition at line 30 of file SplinePath.cpp.

Member Function Documentation

◆ complexPath()

QPainterPath complexPath ( armarx::QPointList  fullControlPoints)
static

complexPath Constructs a cubic Beziercurve with a correctly specified vector of control points.

Parameters
fullControlPointsThe control points of the curve. Their size needs to be equal to 1 mod 3.
Returns
Beziercurve as implied by fullControlPoints.

Definition at line 104 of file SplinePath.cpp.

◆ simplePath()

QPainterPath simplePath ( armarx::QPointList  simpleControlPoints)
static

simplePath Constructs a cubic Beziercurve with an arbitrary number of control points.

Parameters
simpleControlPointsThe given control points
Returns
A cubic Beziercurve in the convex hull of the simpleControlPoints.

Definition at line 35 of file SplinePath.cpp.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: