DiscretizableShapeInterface.hpp

00001 // This file is part of the imaging2 class library.
00002 //
00003 // University of Innsbruck, Infmath Imaging, 2009.
00004 // http://infmath.uibk.ac.at
00005 //
00006 // All rights reserved.
00007 
00008 
00009 #ifndef SHAPE_DISCRETIZABLESHAPEINTERFACE_H
00010 #define SHAPE_DISCRETIZABLESHAPEINTERFACE_H
00011 
00012 #include <shape/BoundaryDiscretizer.hpp>
00013 
00014 namespace imaging
00015 {
00031   template <size_t N>
00032   class DiscretizableShapeInterface
00033   {
00034   public:
00036     const static size_t SHAPE_DIMENSION = N;
00037     
00038     virtual ~DiscretizableShapeInterface() {};
00039     
00041     virtual std::auto_ptr< BoundaryDiscretizer<SHAPE_DIMENSION> > boundary_discretizer(size_t n_points) const = 0;
00042   };
00043 }
00044 
00045 
00046 #endif

Generated on Tue Feb 10 10:01:30 2009 for imaging2 by  doxygen 1.5.5