#include <nurbsGL.h>
Inheritance diagram for PLib::SPointHSurfaceGL:
Public Member Functions | |
SPointHSurfaceGL (int i, int j, HNurbsSurfaceSPf *s, ObjectListGL *sp, int fix) | |
virtual void | glObject () const |
virtual void | modify (const HPoint3Df &v) |
void | updateOthers () |
void | setStartEnd (SPointHSurfaceGL *s, int r, int c=0) |
Protected Attributes | |
HPoint3Df | spoint |
HNurbsSurfaceSPf * | surface |
SPointHSurfaceGL * | start |
ObjectListGL * | spoints |
int | rows |
int | cols |
PLib::SPointHSurfaceGL::SPointHSurfaceGL | ( | int | i, | |
int | j, | |||
HNurbsSurfaceSPf * | s, | |||
ObjectListGL * | sp, | |||
int | fix | |||
) |
The constructor for a surface point object.
i | the row of the control point | |
j | the column of the control point | |
c | the pointer to the NURBS surface |
void PLib::SPointHSurfaceGL::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::SPointHSurfaceGL::modify | ( | const HPoint3Df & | v | ) | [virtual] |
Modifies the surface point.
v | modifies the point by this value |
Reimplemented from PLib::CPointGL.
void PLib::SPointHSurfaceGL::updateOthers | ( | ) |
Updates the other control points.