DGtal 1.4.0
|
#include "ConfigExamples.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/topology/CubicalComplex.h"
#include "DGtal/topology/ParDirCollapse.h"
#include "DGtal/shapes/GaussDigitizer.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/shapes/EuclideanShapesDecorator.h"
#include "DGtal/shapes/parametric/Flower2D.h"
#include "DGtal/io/boards/Board2D.h"
Go to the source code of this file.
Functions | |
template<typename CC , typename KSpace > | |
void | getComplex (CC &complex, KSpace &K) |
template<typename CC > | |
void | drawComplex (Board2D &board, CC &complex) |
int | main (int, char **) |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
An example file named cubicalComplexThinning.
This file is part of the DGtal library.
Definition in file cubicalComplexThinning.cpp.
Definition at line 73 of file cubicalComplexThinning.cpp.
References LibBoard::Board::clear().
Referenced by main().
Definition at line 54 of file cubicalComplexThinning.cpp.
References DGtal::GaussDigitizer< TSpace, TEuclideanShape >::attach(), DGtal::Shapes< TDomain >::digitalShaper(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), K, DGtal::HyperRectDomain< TSpace >::lowerBound(), and DGtal::HyperRectDomain< TSpace >::upperBound().
Referenced by main().
int main | ( | int | , |
char ** | ) |
[create]
[create]
[init]
[init]
[thinn]
[thinn]
[thinnSurface]
[thinnSurface]
[thinnIsthmus]
[thinnIsthmus]
Definition at line 101 of file cubicalComplexThinning.cpp.
References DGtal::ParDirCollapse< CC >::attach(), DGtal::Trace::beginBlock(), DGtal::ParDirCollapse< CC >::collapseIsthmus(), DGtal::ParDirCollapse< CC >::collapseSurface(), drawComplex(), DGtal::Trace::endBlock(), DGtal::ParDirCollapse< CC >::eval(), getComplex(), K, LibBoard::Board::saveEPS(), and DGtal::trace.