Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeBrick.h

Go to the documentation of this file.
00001 //-*-c++-*-
00002 #ifndef _SHAPEBRICK_H_
00003 #define _SHAPEBRICK_H_
00004 
00005 #include "ShapeRoot.h"
00006 #include "BrickData.h"
00007 
00008 namespace DualCoding {
00009 
00010 class ShapeSpace;
00011 class Point;
00012 
00013 template<>
00014 class Shape<BrickData> : public ShapeRoot {
00015 public:
00016   SHAPESTUFF_H(BrickData);   // defined in ShapeRoot.h
00017 
00018   Shape<BrickData>(ShapeSpace &s, const Point &GFL, const Point &GFR, const Point &GBL, const Point &GBR, 
00019        const Point &TFL, const Point &TFR, const Point &TBL, const Point &TBR) 
00020     : ShapeRoot(addShape(new BrickData(s, GFL, GFR, GBL, GBR, TFL, TFR, TBL, TBR))) {};
00021   
00022 };
00023 
00024 } // namespace
00025 
00026 #endif

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