DGtal  0.9.4beta
Public Member Functions | Data Fields
DGtal::CustomStyle3D Struct Reference

#include <DGtal/io/DrawWithDisplay3DModifier.h>

Inheritance diagram for DGtal::CustomStyle3D:
[legend]
Collaboration diagram for DGtal::CustomStyle3D:
[legend]

Public Member Functions

 CustomStyle3D (std::string aClassname, DrawableWithDisplay3D *style)
 
std::string className () const
 
- Public Member Functions inherited from DGtal::DrawWithDisplay3DModifier
std::string className () const
 

Data Fields

std::string myClassname
 
CountedPtr< DrawableWithDisplay3DmyStyle
 

Detailed Description

Modifier class in a Display3D stream. Useful to choose your own style for a given class. Realizes the concept CDrawableWithDisplay3D.

Definition at line 96 of file DrawWithDisplay3DModifier.h.

Constructor & Destructor Documentation

DGtal::CustomStyle3D::CustomStyle3D ( std::string  aClassname,
DrawableWithDisplay3D style 
)
inline
Parameters
aClassnamethe name of the class to which the style is associated.
stylea pointer on a dynamically allocated style, which is acquired by the class.

Definition at line 104 of file DrawWithDisplay3DModifier.h.

104  : myClassname( aClassname ), myStyle( style )
105  {}
CountedPtr< DrawableWithDisplay3D > myStyle

Member Function Documentation

std::string DGtal::CustomStyle3D::className ( ) const

Field Documentation

std::string DGtal::CustomStyle3D::myClassname

Definition at line 109 of file DrawWithDisplay3DModifier.h.

CountedPtr<DrawableWithDisplay3D> DGtal::CustomStyle3D::myStyle

Definition at line 110 of file DrawWithDisplay3DModifier.h.


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