#include <nurbsGL.h>
Inheritance diagram for PLib::NurbsGL:

Public Member Functions | |
| NurbsGL () | |
| virtual NurbsGL & | operator= (const NurbsGL &a) |
| virtual void | gluNurbs () const=0 |
| void | setNurbsRenderer (GLUnurbsObj *nobj) |
| virtual void | glObject () const |
| virtual void | point (float &u, float &v, int pSize, const Color &colorP, int cp_flag=0) const=0 |
| virtual void | resetAll () |
| virtual void | resetBoundingBox () |
| virtual void | resetCPoints () |
| virtual void | resetPolygon () |
| virtual void | resetKnots () |
| void | setObjectColor (const Color &a, const Color &b, const Color &c) |
| void | setBBoxColor (const Color &a, const Color &b, const Color &c, const Color &d, const Color &e, const Color &f) |
| void | setPolygonColor (const Color &a, const Color &b, const Color &c) |
| void | setCPointColor (const Color &a, const Color &b, const Color &c, const Color &d) |
| void | setKnotsColor (const Color &a, const Color &b, const Color &c) |
| void | viewBBox () |
| void | viewCPoints () |
| void | viewCpolygon () |
| void | viewNurbs () |
| void | viewKnots () |
| void | hideBBox () |
| void | hideCPoints () |
| void | hideCpolygon () |
| void | hideNurbs () |
| void | hideKnots () |
| void | select () |
| void | deselect () |
| void | activate () |
| void | deactivate () |
| virtual void | setSym (int set, int uDir, float x, float y, float z, float w)=0 |
| virtual void | modifyPoint (float u, float v, float dx, float dy, float dz)=0 |
| int | editSurfacePoints () const |
| int | editControlPoints () const |
| int | editSurfacePoints (int a) |
| int | editControlPoints (int a) |
| int | editFixPoints () const |
| int | editFixPoints (int a) |
| void | setULines (int u) |
| void | setVLines (int v) |
| int | ULines () const |
| int | VLines () const |
Public Attributes | |
| Color | colorCP |
| Color | colorCP0 |
| Color | colorPolygon |
| Color | colorKnot |
| ObjectListGL | cpoints |
| ObjectListGL | knots |
| ObjectGL * | polygon |
| BoundingBoxGL | bbox |
| ObjectGLState | nurbsState |
Protected Attributes | |
| int | editSP |
| int | editFix |
| GLUnurbsObj * | nurbsRenderer |
| int | nUlines |
| int | nVlines |
Friends | |
| NurbsGL * | readNurbsObject (const char *filename) |
| PLib::NurbsGL::NurbsGL | ( | ) |
the default constructor
Initialized the colors of the objects.
Copies another Nurbs Curve GL.
| a | the Nurbs curve to copy |
| void PLib::NurbsGL::glObject | ( | ) | const [virtual] |
displays the object if it's not hiding
Displays the object if it's not hiding.
Implements PLib::ObjectGL.
Reimplemented in PLib::SimpleNurbsCurveGL.
| NurbsGL * readNurbsObject | ( | const char * | filename | ) | [friend] |
reads a Nurb object from a file
Reads a NURBS object from a file. The routine can read a Nurbs curve or surface.
| filename | the name of the file to read | |
| o | a pointer to a Nurbs Object. If this pointer as any value upon entry, the old entry is deleted first. |
1.5.1