DGtal
0.6.devel
|
#include <CDrawableWithBoard2D.h>
Public Member Functions | |
BOOST_CONCEPT_USAGE (CDrawableWithBoard2D) |
Private Attributes | |
T | myT |
DrawableWithBoard2D * | myD |
Board2D | myB |
std::string | myS |
DescriptionDescription of concept 'CDrawableWithBoard2D'
Aim: The concept CDrawableWithBoard2D specifies what are the classes that admit an export with Board2D. An object x satisfying this concept may then be used as:
Refinement of
Associated types :
Notation
Definitions
Valid expressions and
Name | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
the default draw style | x.defaultStyle( m = "" ) | mode : std::string | DrawableWithBoard2D * | returns a dynamic allocation of the default style for the model X in mode m | |||
the name of the model X | x.className() | std::string | returns a string telling the name of the model X | ||||
the way the object x is drawn | x.setStyle(Board2D &board) | draws on the board stream the object x |
Invariants###
Models### ArimeticalDSS, FreemanChain, HyperRectDomain, ImageContainerByHashTree, ImageContainerBySTLVector, PointVector, DigitalSetBySTLSet,DigitalSetBySTLVector, Object
Notes###
ImageContainerByHashTree does not implement setStyle(Board2D &).
ImageContainerByHashTree does not implement defaultStyle(std::string&)const.
Definition at line 111 of file CDrawableWithBoard2D.h.
|
inline |
Definition at line 115 of file CDrawableWithBoard2D.h.
References DGtal::Display2DFactory::draw(), DGtal::CDrawableWithBoard2D< T >::myB, DGtal::CDrawableWithBoard2D< T >::myD, DGtal::CDrawableWithBoard2D< T >::myS, DGtal::CDrawableWithBoard2D< T >::myT, and DGtal::ConceptUtils::sameType().
|
private |
Definition at line 129 of file CDrawableWithBoard2D.h.
Referenced by DGtal::CDrawableWithBoard2D< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 128 of file CDrawableWithBoard2D.h.
Referenced by DGtal::CDrawableWithBoard2D< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 130 of file CDrawableWithBoard2D.h.
Referenced by DGtal::CDrawableWithBoard2D< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 127 of file CDrawableWithBoard2D.h.
Referenced by DGtal::CDrawableWithBoard2D< T >::BOOST_CONCEPT_USAGE().