DGtal  1.5.beta
DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp > Struct Template Reference

#include <DGtal/io/CDrawableWithDisplay3D.h>

Inheritance diagram for DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >:
[legend]

Public Member Functions

 BOOST_CONCEPT_USAGE (CDrawableWithDisplay3D)
 

Private Attributes

myT
 
DrawableWithDisplay3DmyD
 the drawable class More...
 
DGtal::Display3D< Sp, KSp > myD3D
 
std::string myS
 

Detailed Description

template<typename T, typename Sp, typename KSp>
struct DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >

Definition at line 102 of file CDrawableWithDisplay3D.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

template<typename T , typename Sp , typename KSp >
DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >::BOOST_CONCEPT_USAGE ( CDrawableWithDisplay3D< T, Sp, KSp >  )
inline

Definition at line 105 of file CDrawableWithDisplay3D.h.

106  {
107  //Drawable model should have a className() returning a string
108  concepts::ConceptUtils::sameType( myS, myT.className() );
109 
110  //Drawable model should be associated to global functions draw and defaultStyle.
111  //draw(myD3D, myT);
112  //concepts::ConceptUtils::sameType( myD, defaultStyle( myT) );
113  }
void sameType(const T &, const T &)
Definition: ConceptUtils.h:117

References DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >::myS, DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >::myT, and DGtal::concepts::ConceptUtils::sameType().

Field Documentation

◆ myD

template<typename T , typename Sp , typename KSp >
DrawableWithDisplay3D* DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >::myD
private

the drawable class

Definition at line 119 of file CDrawableWithDisplay3D.h.

◆ myD3D

template<typename T , typename Sp , typename KSp >
DGtal::Display3D< Sp, KSp> DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >::myD3D
private

Definition at line 121 of file CDrawableWithDisplay3D.h.

◆ myS

template<typename T , typename Sp , typename KSp >
std::string DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >::myS
private

◆ myT

template<typename T , typename Sp , typename KSp >
T DGtal::concepts::CDrawableWithDisplay3D< T, Sp, KSp >::myT
private

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