DGtal 1.3.0
|
#include <iostream>
#include <queue>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/CanonicEmbedder.h"
#include "DGtal/io/readers/VolReader.h"
#include "DGtal/images/ImageSelector.h"
#include "DGtal/images/imagesSetsUtils/SetFromImage.h"
#include "DGtal/images/ImageLinearCellEmbedder.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/topology/helpers/Surfaces.h"
#include "DGtal/topology/DigitalSurface.h"
#include "DGtal/topology/SetOfSurfels.h"
#include "DGtal/shapes/Mesh.h"
#include "DGtal/shapes/PolygonalSurface.h"
#include "DGtal/shapes/MeshHelpers.h"
#include "DGtal/io/viewers/Viewer3D.h"
Go to the source code of this file.
Functions | |
void | usage (int, char **argv) |
int | main (int argc, char **argv) |
An example file named viewPolygonalMarchingCubes to display an isosurface from a vol file.
This file is part of the DGtal library.
Definition in file viewPolygonalMarchingCubes.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
[viewPolygonalMarchingCubes-readVol]
[viewPolygonalMarchingCubes-readVol]
[viewPolygonalMarchingCubes-KSpace]
[viewPolygonalMarchingCubes-KSpace]
[viewPolygonalMarchingCubes-SurfelAdjacency]
[viewPolygonalMarchingCubes-SurfelAdjacency]
[viewPolygonalMarchingCubes-ExtractingSurface]
[viewPolygonalMarchingCubes-ExtractingSurface]
[viewPolygonalMarchingCubes-makingMesh]
[viewPolygonalMarchingCubes-makingMesh]
Definition at line 53 of file viewPolygonalMarchingCubes.cpp.
References DGtal::Trace::beginBlock(), DGtal::MeshHelpers::digitalSurface2DualPolygonalSurface(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::domain(), DGtal::Trace::endBlock(), DGtal::Trace::error(), DGtal::VolReader< TImageContainer, TFunctor >::importVol(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::MeshHelpers::polygonalSurface2Mesh(), DGtal::Display3D< Space, KSpace >::setLineColor(), DGtal::Viewer3D< TSpace, TKSpace >::show(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::size(), DGtal::Surfaces< TKSpace >::sMakeBoundary(), and DGtal::trace.
void usage | ( | int | , |
char ** | argv | ||
) |
Definition at line 43 of file viewPolygonalMarchingCubes.cpp.