Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeEllipse.h

Go to the documentation of this file.
00001 //-*-c++-*-
00002 #ifndef _SHAPEELLIPSE_H_
00003 #define _SHAPEELLIPSE_H_
00004 
00005 #include "ShapeRoot.h"
00006 #include "EllipseData.h"
00007 
00008 namespace DualCoding {
00009 
00010 class ShapeSpace;
00011 class Point;
00012 class Region;
00013 
00014 //! Smart pointer to an @a EllipseData object
00015 template<>
00016 class Shape<EllipseData> : public ShapeRoot {
00017 public:
00018   SHAPESTUFF_H(EllipseData);   // defined in ShapeRoot.h
00019 
00020   Shape<EllipseData>(ShapeSpace &s, Point &centerval)
00021     : ShapeRoot(addShape(new EllipseData(s,centerval))) {};
00022   
00023   Shape<EllipseData>(Region& region);
00024 
00025 };
00026 
00027 } // namespace
00028 
00029 #endif

DualCoding 5.1CVS
Generated Mon May 9 04:56:27 2016 by Doxygen 1.6.3