22 #ifndef mia_core_shape_hh 23 #define mia_core_shape_hh 33 # define EXPORT_SHAPE __declspec(dllimport) 62 template <
template <
typename>
class T,
typename M>
74 typedef std::set< T<int>, less_then<T<int> > >
Flat;
86 typedef T<unsigned int>
Size;
92 const_iterator begin()
const;
95 const_iterator end()
const;
101 Size get_size()
const;
104 typename Flat::size_type size()
const;
109 void insert(
const T<int>& p);
116 bool has_location(
const T<int>& p)
const;
T< int > value_type
the actual value type of the mask coordinates
Flat::const_iterator const_iterator
iterator over the mask coordinate set
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
M Mask
the mask image type
a generic class for morphological shapes
T< unsigned int > Size
the size type for the mask image
static const char * type_descr
shape_type plugin_type
helper type for use of the class in TFactory
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
The base class for all plug-in created object.
M::Super plugin_data
Obtain the data type that is used for the mask image from the template parameters.
std::set< T< int >, less_then< T< int > > > Flat
#define NS_MIA_END
conveniance define to end the mia namespace