#include <nurbsGL.h>
Inheritance diagram for PLib::NurbsGL:
Public Methods | |
NurbsGL () | |
virtual | ~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) |
Definition at line 744 of file nurbsGL.h.
|
the default constructor.
Initialized the colors of the objects.
Definition at line 1418 of file nurbsGL.cpp. |
|
displays the object if it's not hiding.
Displays the object if it's not hiding.
Implements PLib::ObjectGL. Reimplemented in PLib::SimpleNurbsCurveGL. Definition at line 1446 of file nurbsGL.cpp. |
|
Copies another Nurbs Curve GL.
Definition at line 2927 of file nurbsGL.cpp. |
|
reads a Nurb object from a file.
Reads a NURBS object from a file. The routine can read a Nurbs curve or surface.
Definition at line 1482 of file nurbsGL.cpp. |