PLib::PointListGL Class Reference

A class to hold a list of points. More...

#include <nurbsGL.h>

Inheritance diagram for PLib::PointListGL:

PLib::ObjectGL List of all members.

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 ()
ObjectGLcopy ()

Public Attributes

BasicList< Point3Df > list

Protected Attributes

int psize

Detailed Description

A class to hold a list of points.

Author:
Philippe Lavoie
Date:
29 Mars 1998


Constructor & Destructor Documentation

PLib::PointListGL::PointListGL const PointListGL pl  ) 
 

Copy constructor.

Parameters:
pl list to copy
Author:
Philippe Lavoie
Date:
30 Mars 1998

PLib::PointListGL::PointListGL const BasicList< Point3Df > &  l  ) 
 

Constructor from a list of points.

Parameters:
l list of points
Author:
Philippe Lavoie
Date:
30 Mars 1998


Member Function Documentation

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.

Author:
Philippe Lavoie
Date:
23 September 1997

Reimplemented from PLib::ObjectGL.

void PLib::PointListGL::glObject  )  const [virtual]
 

Displays a list of points.

Author:
Philippe Lavoie
Date:
29 Mars 1998

Implements PLib::ObjectGL.

int PLib::PointListGL::read ifstream &  fin  )  [virtual]
 

Reads a list of points.

Parameters:
fin input file stream
Author:
Philippe Lavoie
Date:
29 Mars 1998

Reimplemented from PLib::ObjectGL.

int PLib::PointListGL::read const char *  f  )  [inline, virtual]
 

Reads the information from a stream.

Parameters:
filename the input file
Returns:
1 on sucess, 0 on failure
Author:
Philippe Lavoie
Date:
19 June 1998

Reimplemented from PLib::ObjectGL.

int PLib::PointListGL::write ofstream &  fout  )  const [virtual]
 

Writes a list of points.

Parameters:
fin output file stream
Author:
Philippe Lavoie
Date:
29 Mars 1998

Reimplemented from PLib::ObjectGL.

int PLib::PointListGL::write const char *  f  )  const [inline, virtual]
 

Writes a ObjectGL to a file.

Parameters:
filename the filename to write to.
Returns:
0 if an error occurs, 1 otherwise
Author:
Philippe Lavoie
Date:
19 June 1998

Reimplemented from PLib::ObjectGL.


The documentation for this class was generated from the following files:
Generated on Sat May 27 11:47:42 2006 for NURBS++ by  doxygen 1.4.6