#include <nurbsGL.h>
Inheritance diagram for PLib::SPointCurveGL:
Public Member Functions | |
SPointCurveGL (int i, NurbsCurveSPf *c, int fix) | |
virtual void | glObject () const |
virtual void | modify (const HPoint3Df &v) |
void | updateOthers () |
void | setStartEnd (SPointCurveGL *s, int r) |
Protected Attributes | |
HPoint3Df | spoint |
NurbsCurveSPf * | curve |
SPointCurveGL * | start |
int | rows |
PLib::SPointCurveGL::SPointCurveGL | ( | int | i, | |
NurbsCurveSPf * | c, | |||
int | fix | |||
) |
The constructor for a curve point object.
i | the index of the control point | |
c | the pointer to the NURBS curve |
void PLib::SPointCurveGL::glObject | ( | ) | const [virtual] |
Displays a control point.
Displays a control point on the surface of a NURBS curve or a NURBS surface.
Reimplemented from PLib::CPointGL.
void PLib::SPointCurveGL::modify | ( | const HPoint3Df & | v | ) | [virtual] |
Modifies the surface point.
v | modifies the point by this value |
Reimplemented from PLib::CPointGL.
void PLib::SPointCurveGL::updateOthers | ( | ) |
Updates the other control points.