00001
00002 #ifndef _SHAPESPHERE_H_
00003 #define _SHAPESPHERE_H_
00004
00005 #include "ShapeRoot.h"
00006 #include "SphereData.h"
00007
00008 namespace DualCoding {
00009
00010 class ShapeSpace;
00011 class Point;
00012 class Region;
00013
00014 template<>
00015 class Shape<SphereData> : public ShapeRoot {
00016 public:
00017 SHAPESTUFF_H(SphereData);
00018
00019 Shape<SphereData>(ShapeSpace &s, Point centerval)
00020 : ShapeRoot(addShape(new SphereData(s,centerval))) {};
00021
00022 Shape<SphereData>(Region& region);
00023 };
00024
00025 }
00026
00027 #endif