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

Cone.h

Go to the documentation of this file.
00001 #ifndef __CONE_H
00002 #define __CONE_H
00003 
00004 #include "Quadric.h"
00005 
00006 class Cone : public Quadric
00007 {
00008   public:
00009     Cone() : Quadric(1.0, 1.0, -1.0, 0.0) { }          // apex at origin
00010     Cone(double r) : Quadric(1.0, 1.0, -r*r, 0.0) { }  // radius one from apex
00011     Cone(gmVector3 d, double r);                       // direction of cone axis
00012     Cone(gmVector3 x, gmVector3 d, double r);          // position of apex
00013 
00014     MAKE_NAME();
00015 
00016     virtual const char ** getPixmapXPM(const int& size) const;
00017 };
00018 
00019 #endif
00020 

Generated on Mon Jun 28 14:58:13 2004 for Advanced Surface Library by doxygen 1.3.4