DGtal
1.5.beta
|
#include <iostream>
#include "ConfigExamples.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/base/Common.h"
#include "DGtal/geometry/surfaces/DigitalPlanePredicate.h"
#include "DGtal/geometry/surfaces/estimation/PlaneProbingParallelepipedEstimator.h"
Go to the source code of this file.
Typedefs | |
using | DigitalPlane = DigitalPlanePredicate< Z3i::Space > |
using | Point = DigitalPlane::Vector |
using | Integer = Point::Coordinate |
using | Vector = DigitalPlane::Point |
using | Estimator = PlaneProbingParallelepipedEstimator< DigitalPlane, ProbingMode::R1 > |
Functions | |
int | main (int argc, const 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 that shows how to construct and use a DGtal::PlaneProbingParallelepipedEstimator on an analytical digital plane.
This file is part of the DGtal library.
Definition in file examplePlaneProbingParallelepipedEstimator.cpp.
using DigitalPlane = DigitalPlanePredicate<Z3i::Space> |
Definition at line 42 of file examplePlaneProbingParallelepipedEstimator.cpp.
using Estimator = PlaneProbingParallelepipedEstimator<DigitalPlane, ProbingMode::R1> |
Definition at line 46 of file examplePlaneProbingParallelepipedEstimator.cpp.
using Integer = Point::Coordinate |
Definition at line 44 of file examplePlaneProbingParallelepipedEstimator.cpp.
using Point = DigitalPlane::Vector |
Definition at line 43 of file examplePlaneProbingParallelepipedEstimator.cpp.
using Vector = DigitalPlane::Point |
Definition at line 45 of file examplePlaneProbingParallelepipedEstimator.cpp.
int main | ( | int | argc, |
const char ** | argv | ||
) |
Definition at line 50 of file examplePlaneProbingParallelepipedEstimator.cpp.
References DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::advance(), DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::getNormal(), DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::getState(), DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::isInReverseState(), and DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::m().