DGtal
1.5.beta
|
#include <iostream>
#include <vector>
#include <set>
#include <map>
#include <queue>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "ConfigExamples.h"
#include "DGtal/io/readers/VolReader.h"
#include "DGtal/images/ImageSelector.h"
#include "DGtal/images/ImageContainerBySTLVector.h"
#include "DGtal/images/SimpleThresholdForegroundPredicate.h"
#include "DGtal/io/Display3D.h"
#include "DGtal/io/viewers/Viewer3D.h"
#include "DGtal/io/DrawWithDisplay3DModifier.h"
#include "DGtal/images/imagesSetsUtils/SetFromImage.h"
#include "DGtal/topology/DigitalSurface.h"
#include "DGtal/topology/helpers/Surfaces.h"
#include "DGtal/topology/ImplicitDigitalSurface.h"
#include "DGtal/graph/BreadthFirstVisitor.h"
#include "DGtal/geometry/surfaces/COBANaivePlaneComputer.h"
#include "DGtal/geometry/surfaces/ChordNaivePlaneComputer.h"
#include "DGtal/geometry/surfaces/ChordGenericNaivePlaneComputer.h"
#include "DGtal/math/linalg/SimpleMatrix.h"
#include "DGtal/math/linalg/EigenDecomposition.h"
Go to the source code of this file.
Functions | |
template<typename RealVector , typename ConstIterator > | |
double | LSF (RealVector &N, ConstIterator itB, ConstIterator itE) |
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 named polyhedralizer.
This file is part of the DGtal library.
Definition in file polyhedralizer.cpp.
double LSF | ( | RealVector & | N, |
ConstIterator | itB, | ||
ConstIterator | itE | ||
) |
Definition at line 125 of file polyhedralizer.cpp.
References DGtal::SimpleMatrix< TComponent, TM, TN >::clear(), and DGtal::PointVector< dim, TEuclideanRing, TContainer >::dot().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
[polyhedralizer-readVol]
[polyhedralizer-readVol]
[polyhedralizer-KSpace]
[polyhedralizer-KSpace]
[polyhedralizer-SurfelAdjacency]
[polyhedralizer-SurfelAdjacency]
[polyhedralizer-ExtractingSurface]
[polyhedralizer-ExtractingSurface]
[polyhedralizer-ComputingPlaneSize]
[polyhedralizer-ComputingPlaneSize]
[polyhedralizer-segment]
[polyhedralizer-segment]
[polyhedralizer-lsf]
[polyhedralizer-lsf]
[polyhedralizer-projection]
[polyhedralizer-projection]
[polyhedralizer-MakeMesh]
[polyhedralizer-MakeMesh]
[polyhedralizer-visualization]
[polyhedralizer-visualization]
[polyhedralizer-freeMemory]
[polyhedralizer-freeMemory]
Definition at line 159 of file polyhedralizer.cpp.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::allClosedFaces(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::begin(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::begin(), DGtal::Trace::beginBlock(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::current(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::dot(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::end(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::end(), DGtal::Trace::endBlock(), DGtal::Trace::error(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::expand(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::extend(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::finished(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::ignore(), index(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::init(), LSF(), DGtal::Trace::progressBar(), DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirectIncident(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::size(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::size(), DGtal::KhalimskySpaceND< dim, TInteger >::sKCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sOrthDir(), DGtal::trace, DGtal::DigitalSurface< TDigitalSurfaceContainer >::verticesAroundFace(), and DGtal::DigitalSurface< TDigitalSurfaceContainer >::writeNeighbors().