DGtal 1.3.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
DGtal::SetMode Struct Reference

Modifier class in a Board2D stream. Useful to choose your own mode for a given class. Realizes the concept CDrawableWithBoard2D. More...

#include <DGtal/io/boards/Board2D.h>

Inheritance diagram for DGtal::SetMode:
DGtal::DrawWithBoardModifier

Public Member Functions

 SetMode (std::string classname, std::string mode)
 
- Public Member Functions inherited from DGtal::DrawWithBoardModifier
std::string className () const
 

Data Fields

std::string myClassname
 
std::string myMode
 

Detailed Description

Modifier class in a Board2D stream. Useful to choose your own mode for a given class. Realizes the concept CDrawableWithBoard2D.

Examples
arithmetic/lower-integer-convex-hull.cpp, geometry/curves/convex-and-concave-parts.cpp, geometry/curves/exampleAlphaThickSegmentNoisy.cpp, geometry/curves/exampleAlphaThickSegmentTgtCover.cpp, geometry/curves/exampleArithmeticalDSL.cpp, geometry/curves/exampleArithmeticalDSS.cpp, geometry/curves/exampleGridCurve2d.cpp, geometry/curves/greedy-dss-decomposition.cpp, geometry/curves/greedyAlphaThickDecomposition.cpp, geometry/tools/exampleAlphaShape.cpp, geometry/tools/exampleConvexHull2D.cpp, geometry/tools/examplePreimage.cpp, geometry/volumes/fullConvexityLUT2D.cpp, graph/graphTraversal.cpp, io/boards/dgtalBoard2D-2-sets.cpp, io/boards/dgtalBoard2D-4-colormaps.cpp, io/boards/exampleBezierCurve.cpp, io/boards/logoDGtal.cpp, shapes/exampleEuclideanShapesDecorator.cpp, topology/ctopo-1.cpp, topology/digitalSetToCubicalComplexes2D.cpp, topology/generateSimplicityTables2D.cpp, topology/khalimskySpaceScanner.cpp, and tutorial-examples/freemanChainFromImage.cpp.

Definition at line 247 of file Board2D.h.

Constructor & Destructor Documentation

◆ SetMode()

DGtal::SetMode::SetMode ( std::string  classname,
std::string  mode 
)
inline
Parameters
classnamethe name of the class to which the style is associated.
modea pointer on a dynamically allocated style, which is acquired by the class.

Definition at line 254 of file Board2D.h.

255 : myClassname( classname ), myMode( mode )
256 {}
std::string myMode
Definition: Board2D.h:264
std::string myClassname
Definition: Board2D.h:263

Field Documentation

◆ myClassname

std::string DGtal::SetMode::myClassname

Definition at line 263 of file Board2D.h.

◆ myMode

std::string DGtal::SetMode::myMode

Definition at line 264 of file Board2D.h.


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