DGtal 2.1.0
Loading...
Searching...
No Matches
DGtal::concepts::Display3D< S, KS > Class Template Reference

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

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:

display << CustomStyle( x.className(), x.defaultStyle() )
<< x;
Aim: The concept CDrawableWithDisplay3D specifies what are the classes that admit an export with Disp...
void display(ostream &out, const AContainer &C)

Refinement of

Associated types

Notation

  • X : A type that is a model of CDrawableWithDisplay3DD
  • x, y : Object of type X
  • m : a string of characters

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

Definition at line 99 of file CDrawableWithDisplay3D.h.


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