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

IGPoint.h

Go to the documentation of this file.
00001 /* $Id: IGPoint.h,v 1.1 2001/05/27 15:25:28 formella Exp $ */
00002 
00003 /*
00004  *  Copyright (C) 2001, Dr. Arno Formella
00005  *                      Universidade de Vigo
00006  *                      Departamento de Informatica
00007  *
00008  *  This program is free software; you can redistribute it and/or modify
00009  *  it under the terms of the GNU General Public License as published by
00010  *  the Free Software Foundation; either version 2 of the License, or
00011  *  (at your option) any later version.
00012  *
00013  *  This program is distributed in the hope that it will be useful,
00014  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  *  GNU General Public License
00017  *          http://www.gnu.ai.mit.edu/copyleft/gpl.html
00018  *  for more details.
00019  */
00020 
00021 #ifndef IGPOINT_H
00022 #define IGPOINT_H
00023 
00024 #include <LEDA/d3_point.h>
00025 
00026 #include "IGColor.h"
00027 
00028 class IGPoint : public d3_point {
00029 private:
00031   IGColor col;
00032 public:
00033   IGPoint();
00034   IGPoint(double x, double y, double z, double gray=0.0);
00035   IGPoint(double x, double y, double z, double red, double green, double blue);
00036   IGPoint(const IGPoint& P);
00037   ~IGPoint();
00038   IGPoint& operator=(const IGPoint& P);
00040   void Draw(void) const;
00043   friend istream& operator>>(istream& in, IGPoint& P);
00046   friend ostream& operator<<(ostream& out, const IGPoint& P);
00047 };
00048 
00049 #endif

Generated at Wed May 30 11:16:28 2001 for Computer Graphics Course by doxygen1.1.5 written by Dimitri van Heesch, © 1997-2000