Typedefs | Functions
2d/shape.hh File Reference
#include <mia/core/shape.hh>
#include <mia/core/factory.hh>
#include <mia/2d/image.hh>

Go to the source code of this file.

Typedefs

typedef TShape< T2DVector,
C2DBitImage
C2DShape
 2D shape class, see also TShape More...
 
typedef TFactory< C2DShapeC2DShapePlugin
 Base class for Shape generating plug-ins. More...
 
typedef THandlerSingleton
< TFactoryPluginHandler
< C2DShapePlugin > > 
C2DShapePluginHandler
 Plug-in handler for the shape plug-ins. More...
 
typedef std::shared_ptr< C2DShapeP2DShape
 Pointer type of the C2DShape. More...
 

Functions

P2DShape produce_2d_shape (const std::string &descr)
 
P2DShape EXPORT_2D rotate_90_degree (const C2DShape &shape)
 

Typedef Documentation

2D shape class, see also TShape

Definition at line 32 of file 2d/shape.hh.

Base class for Shape generating plug-ins.

Definition at line 38 of file 2d/shape.hh.

Plug-in handler for the shape plug-ins.

Definition at line 41 of file 2d/shape.hh.

typedef std::shared_ptr<C2DShape > P2DShape

Pointer type of the C2DShape.

Definition at line 35 of file 2d/shape.hh.

Function Documentation

P2DShape produce_2d_shape ( const std::string &  descr)
inline

Convenience function to produce a shape from a plugin

Parameters
descrthe description of the shape
Returns
the newly created shape

Definition at line 60 of file 2d/shape.hh.

References THandlerSingleton< T >::instance().

P2DShape EXPORT_2D rotate_90_degree ( const C2DShape shape)