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