QGIS API Documentation
2.0.1-Dufour
|
ParametricLine is an Interface for parametric lines. More...
#include <ParametricLine.h>
Public Member Functions | |
ParametricLine () | |
Default constructor. | |
ParametricLine (ParametricLine *par, QVector< Point3D * > *controlpoly) | |
Constructor, par is a pointer to the parent object, controlpoly the controlpolygon. | |
virtual | ~ParametricLine () |
Destructor. | |
virtual void | add (ParametricLine *pl)=0 |
virtual void | calcFirstDer (float t, Vector3D *v)=0 |
virtual void | calcSecDer (float t, Vector3D *v)=0 |
virtual void | calcPoint (float t, Point3D *)=0 |
virtual void | changeDirection ()=0 |
virtual const Point3D * | getControlPoint (int number) const =0 |
virtual const QVector< Point3D * > * | getControlPoly () const =0 |
virtual int | getDegree () const =0 |
virtual ParametricLine * | getParent () const =0 |
virtual void | remove (int i)=0 |
virtual void | setControlPoly (QVector< Point3D * > *cp)=0 |
virtual void | setParent (ParametricLine *paral)=0 |
Protected Attributes | |
int | mDegree |
Degree of the parametric Line. | |
ParametricLine * | mParent |
Pointer to the parent object. | |
QVector< Point3D * > * | mControlPoly |
mControlPoly stores the points of the control polygon |
ParametricLine is an Interface for parametric lines.
It is possible, that a parametric line is composed of several parametric lines (see the composite pattern in Gamma et al. 'Design Patterns'). Do not build instances of it since it is an abstract class.
Definition at line 24 of file ParametricLine.h.
|
inline |
Default constructor.
Definition at line 62 of file ParametricLine.h.
|
inline |
Constructor, par is a pointer to the parent object, controlpoly the controlpolygon.
Definition at line 67 of file ParametricLine.h.
|
inlinevirtual |
Destructor.
Definition at line 72 of file ParametricLine.h.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
pure virtual |
Implemented in Bezier3D.
|
protected |
mControlPoly stores the points of the control polygon
Definition at line 33 of file ParametricLine.h.
Referenced by Bezier3D::Bezier3D(), Bezier3D::getControlPoint(), Bezier3D::getControlPoly(), and Bezier3D::setControlPoly().
|
protected |
Degree of the parametric Line.
Definition at line 29 of file ParametricLine.h.
Referenced by Bezier3D::Bezier3D(), Bezier3D::getDegree(), and Bezier3D::setControlPoly().
|
protected |
Pointer to the parent object.
If there isn't one, mParent is 0
Definition at line 31 of file ParametricLine.h.
Referenced by Bezier3D::getParent(), and Bezier3D::setParent().