Loading [MathJax]/extensions/TeX/AMSsymbols.js
DGtal 2.0.0
DGtal::Shortcuts< TKSpace >::SCellReader Struct Reference

#include <DGtal/helpers/Shortcuts.h>

Public Member Functions

SCell operator() (std::istream &input, const KSpace &K)

Detailed Description

template<typename TKSpace>
struct DGtal::Shortcuts< TKSpace >::SCellReader

Definition at line 3121 of file Shortcuts.h.

Member Function Documentation

◆ operator()()

template<typename TKSpace>
SCell DGtal::Shortcuts< TKSpace >::SCellReader::operator() ( std::istream & input,
const KSpace & K )
inline

Definition at line 3122 of file Shortcuts.h.

3123 {
3124 Point kp;
3125 typename KSpace::Sign s;
3126 for ( Dimension d = 0; d < KSpace::dimension; ++d )
3127 input >> kp[ d ];
3128 input >> s;
3129 return K.sCell( kp, s );
3130 }
Aim: This class is used to simplify shape and surface creation. With it, you can create new shapes an...
Definition Shortcuts.h:106

References DGtal::KhalimskySpaceND< 3, Integer >::dimension, and K.


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