DGtal 1.4.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/TriangulatedSurface.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 viewMarchingCubes to display an isosurface from a vol file.
This file is part of the DGtal library.
Definition in file viewMarchingCubes.cpp.
int main | ( | int | argc, |
char ** | argv ) |
[viewMarchingCubes-readVol]
[viewMarchingCubes-readVol]
[viewMarchingCubes-KSpace]
[viewMarchingCubes-KSpace]
[viewMarchingCubes-SurfelAdjacency]
[viewMarchingCubes-SurfelAdjacency]
[viewMarchingCubes-ExtractingSurface]
[viewMarchingCubes-ExtractingSurface]
[viewMarchingCubes-makingMesh]
[viewMarchingCubes-makingMesh]
Definition at line 55 of file viewMarchingCubes.cpp.
References DGtal::SetFromImage< TSet >::append(), DGtal::Trace::beginBlock(), DGtal::MeshHelpers::digitalSurface2DualTriangulatedSurface(), 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::Display3D< Space, KSpace >::setLineColor(), DGtal::Viewer3D< TSpace, TKSpace >::show(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::size(), DGtal::Surfaces< TKSpace >::sMakeBoundary(), DGtal::trace, and DGtal::MeshHelpers::triangulatedSurface2Mesh().
void usage | ( | int | , |
char ** | argv ) |
Definition at line 43 of file viewMarchingCubes.cpp.