#include <nurbsGL.hh>
Inheritance diagram for PLib::NurbsCurveGL::
Public Methods | |
NurbsCurveGL () | |
NurbsCurveGL (const NurbsCurve &nurb) | |
NurbsCurveGL (const NurbsCurveGL &nurb) | |
NurbsCurveGL (const Vector< HPoint3Df > &P1, const Vector< float > &U1, int degree=3) | |
NurbsCurveGL (const Vector< Point3Df > &P1, const Vector< float > &W, const Vector< float > &U1, int degree=3) | |
void | gluNurbs () const |
void | point (float &u, float &v, int pSize, const Color &colorP, int cp_flag=0) const |
NurbsCurveGL & | operator= (const NurbsCurveGL &a) |
NurbsCurveGL & | operator= (const NurbsCurvef &a) |
void | resetBoundingBox () |
void | resetCPoints () |
void | resetPolygon () |
void | resetKnots () |
ObjectGL * | copy () |
int | read (ifstream &fin) |
int | write (ofstream &fout) const |
void | applyTransform () |
void | modifyPoint (float u, float v, float dx, float dy, float dz) |
void | setSym (int set, int uDir, float x, float y, float z, float w) |
|
apply the local transformation to the curve.
Apply the local transformation to the curve. This is necessary if you want to get the proper position for the control points before doing anymore processing on them.
Reimplemented from PLib::ObjectGL. |
|
creates a nurbs curve for OpenGL.
This function calls between a gluBeginCurve/gluEndCurve the proper functions to generate a NURBS curve.
Reimplemented from PLib::NurbsGL. |
|
Modifies a point on the curve.
Reimplemented from PLib::NurbsGL. |
|
Copies another Nurbs Curve GL.
|
|
draws a point at the location C(u).
This function calls between a glBegin/glEnd the proper functions to represent the point which is at C(u) on the curve.
Reimplemented from PLib::NurbsGL. |
|
Reads the information from a stream.
Reimplemented from PLib::ObjectGL. |
|
resets the minP and maxP values of bbox.
Resets the minP and maxP values for the bouding box.
Reimplemented from PLib::NurbsGL. |
|
reset the control point information.
Reset the control points information stored in cpoints.
Reimplemented from PLib::NurbsGL. |
|
Reset the knots information.
Reset the knot information stored in knots.
Reimplemented from PLib::NurbsGL. |
|
Writes a NurbsCurveGL to an output stream.
Reimplemented from PLib::ObjectGL. |