DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Data Fields
DGtal::SetMode3D Struct Reference

#include <DrawWithDisplay3DModifier.h>

Inheritance diagram for DGtal::SetMode3D:
Inheritance graph
[legend]
Collaboration diagram for DGtal::SetMode3D:
Collaboration graph
[legend]

Public Member Functions

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

Data Fields

std::string myClassname
std::string myMode

Detailed Description

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

Examples:
io/boards/dgtalBoard3DTo2D-1-points.cpp, io/boards/dgtalBoard3DTo2D-2bis-sets.cpp, io/boards/dgtalBoard3DTo2D-3-objects.cpp, io/boards/dgtalBoard3DTo2D-5-custom.cpp, io/boards/dgtalBoard3DTo2D-6.cpp, io/digitalSetFromVol.cpp, io/viewers/viewer3D-3-objects.cpp, io/viewers/viewer3D-4bis-illustrationMode.cpp, io/viewers/viewer3D-5-custom.cpp, io/viewers/viewer3D-6-clipping.cpp, topology/ctopo-1-3d.cpp, topology/ctopo-1s-3d.cpp, topology/ctopo-2-3d.cpp, topology/frontierAndBoundary.cpp, and topology/homotopicThinning3D.cpp.

Definition at line 85 of file DrawWithDisplay3DModifier.h.


Constructor & Destructor Documentation

DGtal::SetMode3D::SetMode3D ( std::string  classname,
std::string  mode 
)
inline
Parameters:
classnamethe name of the class to which the style is associated.
modethe name of the new mode.

Definition at line 91 of file DrawWithDisplay3DModifier.h.

: myClassname( classname ), myMode( mode )
{}

Field Documentation

std::string DGtal::SetMode3D::myClassname

Definition at line 100 of file DrawWithDisplay3DModifier.h.

Referenced by DGtal::Display3DFactory::draw().

std::string DGtal::SetMode3D::myMode

Definition at line 101 of file DrawWithDisplay3DModifier.h.

Referenced by DGtal::Display3DFactory::draw().


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