ShapeDomino.h
Go to the documentation of this file.00001 #ifndef _SHAPEDOMINO_H_
00002 #define _SHAPEDOMINO_H_
00003
00004 #include "ShapeRoot.h"
00005 #include "DominoData.h"
00006
00007 namespace DualCoding {
00008
00009 class ShapeSpace;
00010
00011 template<>
00012 class Shape<DominoData> : public ShapeRoot {
00013 public:
00014 SHAPESTUFF_H(DominoData);
00015
00016 Shape<DominoData>(ShapeSpace& space, unsigned char lowValue, unsigned char highValue,
00017 const fmat::SubVector<3,const fmat::fmatReal>& centroid,
00018 fmat::Column<3> _extents,
00019 const fmat::SubMatrix<3,3,const fmat::fmatReal>& _orient)
00020 : ShapeRoot(addShape(new DominoData(space, lowValue, highValue, centroid, _extents, _orient))) {}
00021 };
00022
00023 }
00024
00025 #endif