2d/shape.hh File Reference
#include <mia/core/shape.hh>
#include <mia/core/factory.hh>
#include <mia/2d/image.hh>
Include dependency graph for 2d/shape.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef TShape< T2DVector, C2DBitImageC2DShape
 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)
 

Variables

template class EXPORT_2D TShape< T2DVector, C2DBitImage >
 

Typedef Documentation

◆ C2DShape

2D shape class, see also TShape

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

◆ C2DShapePlugin

Base class for Shape generating plug-ins.

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

◆ C2DShapePluginHandler

Plug-in handler for the shape plug-ins.

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

◆ P2DShape

typedef std::shared_ptr<C2DShape > P2DShape

Pointer type of the C2DShape.

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

Function Documentation

◆ produce_2d_shape()

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

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

References THandlerSingleton< T >::instance(), and NS_MIA_END.

◆ rotate_90_degree()

P2DShape EXPORT_2D rotate_90_degree ( const C2DShape shape)

Convenience function to produce a shape from a plugin

Parameters
shapethe description of the shape
Returns
the newly created shape

Variable Documentation

◆ TShape< T2DVector, C2DBitImage >

template class EXPORT_2D TShape< T2DVector, C2DBitImage >