#include <nurbsGL.h>
Inheritance diagram for PLib::PointListGL:
Public Member Functions | |
PointListGL (const PointListGL &pl) | |
PointListGL (const BasicList< Point3Df > &l) | |
virtual void | glObject () const |
void | setPsize (int s) |
int | read (const char *f) |
int | write (const char *f) const |
int | read (ifstream &fin) |
int | write (ofstream &fout) const |
void | applyTransform () |
ObjectGL * | copy () |
Public Attributes | |
BasicList< Point3Df > | list |
Protected Attributes | |
int | psize |
PLib::PointListGL::PointListGL | ( | const PointListGL & | pl | ) |
Copy constructor.
pl | list to copy |
PLib::PointListGL::PointListGL | ( | const BasicList< Point3Df > & | l | ) |
Constructor from a list of points.
l | list of points |
void PLib::PointListGL::glObject | ( | ) | const [virtual] |
int PLib::PointListGL::read | ( | const char * | f | ) | [inline, virtual] |
Reads the information from a stream.
filename | the input file |
Reimplemented from PLib::ObjectGL.
int PLib::PointListGL::write | ( | const char * | f | ) | const [inline, virtual] |
Writes a ObjectGL to a file.
filename | the filename to write to. |
Reimplemented from PLib::ObjectGL.
int PLib::PointListGL::read | ( | ifstream & | fin | ) | [virtual] |
Reads a list of points.
fin | input file stream |
Reimplemented from PLib::ObjectGL.
int PLib::PointListGL::write | ( | ofstream & | fout | ) | const [virtual] |
Writes a list of points.
fin | output file stream |
Reimplemented from PLib::ObjectGL.
void PLib::PointListGL::applyTransform | ( | ) | [virtual] |
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.