The base class for generic image creation. More...
#include <mia/core/creator.hh>
Public Types | |
| typedef T | plugin_data |
| plugin searchpath helper type, data part More... | |
| typedef creator_type | plugin_type |
| plugin searchpath helper type, plugin type part More... | |
Public Types inherited from CPropertyFlagHolder | |
| typedef std::set< const char * > | Set |
| define the type of the set of flags More... | |
Public Member Functions | |
| virtual std::shared_ptr< T > | operator() (const typename T::dimsize_type &size, EPixelType type) const =0 |
| virtual | ~TImageCreator () |
Public Member Functions inherited from CProductBase | |
| const char * | get_init_string () const |
| void | set_init_string (const char *init) |
| void | set_module (PPluginModule module) |
Public Member Functions inherited from CPropertyFlagHolder | |
| void | add (const char *property) |
| Set | get_missing_properties (const CPropertyFlagHolder &testset) const |
| bool | has (const char *property) const |
| bool | has_all_in (const CPropertyFlagHolder &testset) const |
| virtual | ~CPropertyFlagHolder () |
The base class for generic image creation.
This template defines a generic base class for a creator of images containing some shapes.
| T | image type to create |
Definition at line 44 of file core/creator.hh.
| typedef T TImageCreator< T >::plugin_data |
plugin searchpath helper type, data part
Definition at line 47 of file core/creator.hh.
| typedef creator_type TImageCreator< T >::plugin_type |
plugin searchpath helper type, plugin type part
Definition at line 50 of file core/creator.hh.
|
inlinevirtual |
Definition at line 52 of file core/creator.hh.
|
pure virtual |
Creator function, need to be overloaded
| size | output image size |
| type | pixel type |