DGtal  0.9.3beta
DGtal::concepts::Display3D< S, KS > Class Template Reference

#include <DGtal/io/CDrawableWithDisplay3D.h>

Detailed Description

template<class S, class KS>
class DGtal::concepts::Display3D< S, KS >

Aim: The concept CDrawableWithDisplay3D specifies what are the classes that admit an export with Display3D.

Description of concept 'CDrawableWithDisplay3D'

An object x satisfying this concept may then be used as:

Display3D display;
display << CustomStyle( x.className(), x.defaultStyle() )
<< x;

Refinement of

Associated types :

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
the default draw style x.defaultStyle( m = "") mode m: std::string CDrawableWithDisplay3D 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(CDrawableWithDisplay3D &display) draws the object x on the display stream

Invariants

Models

ArimeticalDSS, FreemanChain, HyperRectDomain, ImageContainerByHashTree, ImageContainerBySTLVector, PointVector, DigitalSetBySTLSet,DigitalSetBySTLVector, Object

Notes

Todo:

ImageContainerByHashTree does not implement setStyle(display &).

ImageContainerByHashTree does not implement defaultStyle(std::string&)const.

Definition at line 99 of file CDrawableWithDisplay3D.h.


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