Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

vpsphere.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 // ChangeLog is at the implementation file
00006 
00007 #ifndef __VPSPHERE_H
00008 #define __VPSPHERE_H
00009 
00010 #include "vpgraphicobj.h"
00011 #include "vpmaterial.h"
00012 
00017 class VPSphere : public VPGraphicObj {
00018     public:
00019         VPSphere();
00020         VPSphere( float fRad );
00021         void SetRadius( float r );
00023         void SetMaterial(const VPMaterial& mat) { material = mat; }
00025         VPMaterial GetMaterial() const { return material; }
00026         float GetRadius();
00029         bool DrawInstanceOGL() const;
00030         virtual void ComputeBoundingBox();
00031     private:
00032         VPMaterial material;
00033         float radius;
00034 };
00035 
00036 #endif

Generated on Tue Sep 6 10:00:07 2005 for VPAT by  doxygen 1.4.4