00001 /*************************************************************************** 00002 RayGeometry.h - description 00003 ------------------- 00004 begin : dim jui 20 2003 00005 copyright : (C) 2003 by Michel DUBOIS, Yann Le Guyadec 00006 email : Michel.Dubois@univ-ubs.fr, Yann.Le-Guyadec@univ-ubs.fr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef RAYGEOMETRY_H 00019 #define RAYGEOMETRY_H 00020 00021 #include <Geometry.h> 00022 00027 class RayGeometry : public Geometry 00028 { 00029 public: 00030 RayGeometry (Real length, char* name = "Ray Geometry"); 00031 virtual ~RayGeometry(); 00032 00033 public: 00034 virtual void draw (); 00035 virtual void print (); 00036 00037 protected: 00038 Real length; 00039 00040 }; 00041 00042 #endif