gee_sphere.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 /* COPYRIGHT
00004  *
00005  * This file is part of the Visual Effects Engine - VEE
00006  *
00007  * Read the "VEE-LICENSE" file for the license.
00008  *
00009  * Authors & Copyright:   
00010  *
00011  * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 
00012  * Janne Kontkanen 2001-2004
00013  *
00014  * Additional copyrights: Tekes 2003-2004
00015  *
00016  * firstname.lastname@hut.fi
00017  *
00018  */
00019 
00020 #ifndef GEE_SPHERE_H
00021 #define GEE_SPHERE_H
00022 
00023 #include <gee_geometry.h>
00024 
00030 class GEE_Sphere : public GEE_Geometry
00031 {
00032 public:
00033   GEE_Sphere();
00034   virtual ~GEE_Sphere();
00035 
00036   virtual void render(GEE_Renderer *);
00037   virtual bool getBoundingBox(VEE_BoundingBox *);
00038 
00039   float radius() const { return m_radius; }
00040   void setRadius(float r) { m_radius = r; }
00041 
00042 protected:
00043 
00044   float       m_radius;
00045 };
00046 
00047 #endif

Generated on Mon Mar 12 21:09:00 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6