|
DGtal 2.0.0
|
#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/viewers/PolyscopeViewer.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.
Data Structures | |
| struct | PairSorted2nd< T1, T2 > |
| [polyhedralizer-typedefs] More... | |
| struct | Triple< T1, T2, T3 > |
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 123 of file polyhedralizer.cpp.
References DGtal::PointVector< dim, TEuclideanRing, TContainer >::dot(), DGtal::EigenDecomposition< TN, TComponent, TMatrix >::getEigenDecomposition(), and DGtal::PointVector< dim, double >::zero.
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 157 of file polyhedralizer.cpp.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::allClosedFaces(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::begin(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::begin(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::current(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::dot(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::end(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::end(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::expand(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::extend(), DGtal::Surfaces< TKSpace >::findABel(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::finished(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::ignore(), image(), DGtal::VolReader< TImageContainer, TFunctor >::importVol(), index(), DGtal::COBANaivePlaneComputer< TSpace, TInternalInteger >::init(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), LSF(), DGtal::KhalimskySpaceND< dim, TInteger >::sCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sDirectIncident(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::size(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::size(), DGtal::KhalimskySpaceND< dim, TInteger >::sKCoords(), DGtal::KhalimskySpaceND< dim, TInteger >::sOrthDir(), DGtal::trace, DGtal::DigitalSurface< TDigitalSurfaceContainer >::verticesAroundFace(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::writeNeighbors(), DGtal::PointVector< 3, double >::zero, and DGtal::PointVector< dim, double >::zero.