Main Page   Class Hierarchy   Compound List   File List   Compound Members  

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 Methods

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

Definition at line 437 of file nurbsGL.h.


Constructor & Destructor Documentation

PLib::PointListGL::PointListGL const PointListGL &    pl
 

Copy constructor.

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

Definition at line 455 of file nurbsGL.cpp.

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

Definition at line 440 of file nurbsGL.cpp.


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.

Definition at line 1658 of file nurbsGL.cpp.

References BasicNode::data, BasicList< Point3Df >::first, and BasicNode::next.

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

Displays a list of points.

Author:
Philippe Lavoie
Date:
29 Mars 1998

Implements PLib::ObjectGL.

Definition at line 414 of file nurbsGL.cpp.

References BasicNode::data, BasicList< Point3Df >::first, and BasicNode::next.

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.

Definition at line 470 of file nurbsGL.cpp.

References BasicList< Point3Df >::add, and BasicList< Point3Df >::reset.

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.

Definition at line 445 of file nurbsGL.h.

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.

Definition at line 537 of file nurbsGL.cpp.

References BasicNode::data, BasicList< Point3Df >::first, BasicNode::next, and BasicList< Point3Df >::size.

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.

Definition at line 446 of file nurbsGL.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 13:27:01 2003 for NURBS++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002