DGtal 1.4.0
|
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "ConfigExamples.h"
#include "DGtal/io/viewers/Viewer3D.h"
#include "DGtal/geometry/curves/GridCurve.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
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 for GridCurve, defined as a sequence of 1-scells, in a 3d Khalimsky space.
This file is part of the DGtal library.
Definition in file exampleGridCurve3d.cpp.
int main | ( | int | argc, |
char ** | argv ) |
[GridCurveDeclaration]
[GridCurveDeclaration]
[GridCurveFromDataFile]
[GridCurveFromDataFile]
Definition at line 73 of file exampleGridCurve3d.cpp.
References DGtal::PointVector< dim, Integer >::diagonal(), DGtal::GridCurve< TKSpace >::getArrowsRange(), DGtal::GridCurve< TKSpace >::getMidPointsRange(), DGtal::GridCurve< TKSpace >::getPointsRange(), DGtal::GridCurve< TKSpace >::getSCellsRange(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::GridCurve< TKSpace >::initFromVectorStream(), DGtal::Viewer3D< TSpace, TKSpace >::show(), and DGtal::trace.