Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapePyramid.h

Go to the documentation of this file.
00001 //-*-c++-*-
00002 #ifndef _SHAPEPYRAMID_H_
00003 #define _SHAPEPYRAMID_H_
00004 
00005 #include "ShapeRoot.h"
00006 #include "PyramidData.h"
00007 
00008 namespace DualCoding {
00009 
00010 class ShapeSpace;
00011 class Point;
00012 
00013 template<>
00014 class Shape<PyramidData> : public ShapeRoot {
00015 public:
00016   SHAPESTUFF_H(PyramidData);   // defined in ShapeRoot.h
00017 
00018   Shape<PyramidData>(ShapeSpace &s, Point &FL, Point &FR, Point &BL, Point &BR, Point &Top)
00019     : ShapeRoot(addShape(new PyramidData(s, FL, FR, BL, BR, Top))) {};
00020   
00021 };
00022 
00023 } // namespace
00024 
00025 #endif

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