Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ShapeNaught.hGo to the documentation of this file.00001 #ifndef _SHAPENAUGHT_H_ 00002 #define _SHAPENAUGHT_H_ 00003 00004 #include "ShapeRoot.h" 00005 #include "NaughtData.h" 00006 #include "Region.h" 00007 00008 namespace DualCoding { 00009 00010 class ShapeSpace; 00011 00012 template<> 00013 class Shape<NaughtData> : public ShapeRoot { 00014 public: 00015 SHAPESTUFF_H(NaughtData); // defined in ShapeRoot.h 00016 00017 Shape<NaughtData>(ShapeSpace& space, Point& centroid, float height, float radius) 00018 : ShapeRoot(addShape(new NaughtData(space, centroid, height, radius))) {} 00019 00020 Shape<NaughtData>(Region& region, const float assumedHeight); 00021 }; 00022 00023 } // namespace 00024 00025 #endif |
DualCoding 5.1CVS |
Generated Mon May 9 04:56:27 2016 by Doxygen 1.6.3 |