|
DGtal 2.0.0
|
An example file for GridCurve. More...
#include <iostream>#include "DGtal/base/Common.h"#include "DGtal/helpers/StdDefs.h"#include "ConfigExamples.h"#include "DGtal/geometry/curves/FreemanChain.h"#include "DGtal/geometry/curves/GridCurve.h"#include "DGtal/topology/helpers/Surfaces.h"#include "DGtal/io/boards/Board2D.h"Go to the source code of this file.
Functions | |
| template<typename CI> | |
| void | displayAll (const CI &ciBegin, const CI &ciEnd) |
| [GridCurveGenericFunctionDisplayAll] | |
| int | main (int argc, char **argv) |
| [GridCurveGenericFunctionDisplayAll] | |
An example file for GridCurve.
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/.
This file is part of the DGtal library.
Definition in file exampleGridCurve2d.cpp.
| void displayAll | ( | const CI & | ciBegin, |
| const CI & | ciEnd ) |
[GridCurveGenericFunctionDisplayAll]
Definition at line 62 of file exampleGridCurve2d.cpp.
References DGtal::isNotEmpty(), and DGtal::trace.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
[GridCurveGenericFunctionDisplayAll]
[GridCurveDeclaration]
[GridCurveDeclaration]
[GridCurveFromDataFile]
[GridCurveFromDataFile]
[GridCurveFromDigitalSet]
[GridCurveFromDigitalSet]
[GridCurveFromFreemanChain]
[GridCurveFromFreemanChain]
[GridCurveStandardOutput]
[GridCurveStandardOutput]
[GridCurveToDataFile]
[GridCurveToDataFile]
[GridCurveToGraphics]
[GridCurveToGraphics]
[GridCurveToFreemanChain]
[GridCurveToFreemanChain]
[GridCurveIncidentPointsRangeIO]
[GridCurveIncidentPointsRangeIO]
[GridCurveRangeIterators]
[GridCurveRangeIterators]
Definition at line 78 of file exampleGridCurve2d.cpp.
References DGtal::FreemanChain< TInteger >::begin(), DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::begin(), LibBoard::Board::BoundingBox, DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::c(), LibBoard::Board::clear(), displayAll(), domain, DGtal::FreemanChain< TInteger >::end(), DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::end(), DGtal::Surfaces< TKSpace >::findABel(), DGtal::GridCurve< TKSpace >::getCodesRange(), DGtal::GridCurve< TKSpace >::getIncidentPointsRange(), DGtal::GridCurve< TKSpace >::getPointsRange(), DGtal::GridCurve< TKSpace >::getSCellsRange(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::GridCurve< TKSpace >::initFromPointsRange(), DGtal::GridCurve< TKSpace >::initFromSCellsVector(), DGtal::GridCurve< TKSpace >::initFromVectorStream(), DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::rbegin(), DGtal::FreemanChain< TInteger >::readFromPointsRange(), DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::rend(), LibBoard::Board::saveEPS(), LibBoard::Board::setUnit(), DGtal::trace, DGtal::Surfaces< TKSpace >::track2DBoundary(), LibBoard::Board::UCentimeter, and DGtal::GridCurve< TKSpace >::writeVectorToStream().