Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IGPoint Class Reference

#include <IGPoint.h>

Inheritance diagram for IGPoint:

d3_point List of all members.

Public Methods

 IGPoint ()
 IGPoint (double x, double y, double z, double gray=0.0)
 IGPoint (double x, double y, double z, double red, double green, double blue)
 IGPoint (const IGPoint& P)
 ~IGPoint ()
IGPoint& operator= (const IGPoint& P)
void Draw (void) const
 draws the point using OpenGL.


Private Attributes

IGColor col
 the color of the point.


Friends

istream& operator >> (istream& in, IGPoint& P)
 reads a point from the input stream NOTE: is not the inverse of the operator<<.

ostream& operator<< (ostream& out, const IGPoint& P)
 writes a point to the output stream NOTE: is not the inverse of the operator>>.


Constructor & Destructor Documentation

IGPoint::IGPoint ( )

Definition at line 24 of file IGPoint.cpp.

IGPoint::IGPoint ( double x,
double y,
double z,
double gray = 0.0 )

Definition at line 28 of file IGPoint.cpp.

IGPoint::IGPoint ( double x,
double y,
double z,
double red,
double green,
double blue )

Definition at line 39 of file IGPoint.cpp.

IGPoint::IGPoint ( const IGPoint & P )

Definition at line 52 of file IGPoint.cpp.

IGPoint::~IGPoint ( )

Definition at line 60 of file IGPoint.cpp.


Member Function Documentation

void IGPoint::Draw ( void ) const

draws the point using OpenGL.

Definition at line 74 of file IGPoint.cpp.

Referenced by IGPolygon::Draw().

IGPoint & IGPoint::operator= ( const IGPoint & P )

Definition at line 64 of file IGPoint.cpp.


Friends And Related Function Documentation

istream & operator >> ( istream & in,
IGPoint & P ) [friend]

reads a point from the input stream NOTE: is not the inverse of the operator<<.

Definition at line 80 of file IGPoint.cpp.

ostream & operator<< ( ostream & out,
const IGPoint & P ) [friend]

writes a point to the output stream NOTE: is not the inverse of the operator>>.

Definition at line 88 of file IGPoint.cpp.


Member Data Documentation

IGColor IGPoint::col [private]

the color of the point.

Definition at line 31 of file IGPoint.h.


The documentation for this class was generated from the following files:
Generated at Wed May 30 11:16:29 2001 for Computer Graphics Course by doxygen1.1.5 written by Dimitri van Heesch, © 1997-2000