DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions
DGtal::DrawableWithBoard2D Struct Reference

#include <Common.h>

Inheritance diagram for DGtal::DrawableWithBoard2D:
Inheritance graph
[legend]

Public Member Functions

virtual void setStyle (Board2D &) const

Detailed Description

Interface that specifies that an object can draw itself on a board.

Todo:
(JOL) Put this class elsewhere.
Examples:
io/boards/dgtalBoard2D-3-custom-points.cpp.

Definition at line 168 of file Common.h.


Member Function Documentation

virtual void DGtal::DrawableWithBoard2D::setStyle ( Board2D ) const
inlinevirtual

Operation to override. Does nothing by default.

Parameters:
boardany object of type Board.

Reimplemented in MyDrawStyleCustomFillColor, MyDrawStyleCustomRed, DGtal::CustomPen, DGtal::DefaultDrawStyleTransparent_LatticePolytope2D, DGtal::DefaultDrawStyleFilled_LatticePolytope2D, DGtal::DefaultDrawStyle_SignedKhalimskyCell, DGtal::CustomFillColor, DGtal::DefaultDrawStyleGrid_PointVector, DGtal::DefaultDrawStylePaving_PointVector, DGtal::CustomPenColor, DGtal::DefaultDrawStyle_Object, DGtal::DefaultDrawStyle_KhalimskyCell, DGtal::CustomColors, DGtal::DefaultDrawStyle_ImageContainerBySTLVector, DGtal::DefaultDrawStyle_ImageContainerByHashTree, DGtal::DefaultDrawStyleGrid_HyperRectDomain, DGtal::DefaultDrawStylePaving_HyperRectDomain, DGtal::DefaultDrawStyle_FrechetShortcut, DGtal::DefaultDrawStyle_GeometricalDCA, DGtal::DefaultDrawStyle_GeometricalDSS, DGtal::DefaultDrawStyleInterGrid_FreemanChain, DGtal::DefaultDrawStyleGrid_FreemanChain, DGtal::DefaultDrawStyle_FP, DGtal::DefaultDrawStyle_DigitalSetBySTLVector, DGtal::DefaultDrawStyle_DigitalSetBySTLSet, MyDrawStyleCustomGreen, DGtal::DefaultDrawStylePoints_ArithmeticalDSS, MyDrawStyleCustomBlue, MyDomainStyleCustomRed, MyDrawStyleCustomRed, DGtal::DefaultDrawStyleBB_ArithmeticalDSS, MyObjectStyleCustomRed, MyStyleCustomRed, MyObjectStyleCustom, MyStyleCustom, MyDrawStyleCustomGreen, MyDrawStyleCustomColor, and DGtal::DefaultDrawStyleCircular_AngleLinearMinimizer.

Definition at line 174 of file Common.h.

Referenced by DGtal::Style2DFactory::draw().

{}

The documentation for this struct was generated from the following file: