DGtal 1.4.0
|
An example file for SurfaceMesh in 3D. More...
#include <string>
#include <iostream>
#include <fstream>
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "ConfigExamples.h"
#include "DGtal/shapes/Mesh.h"
#include "DGtal/shapes/SurfaceMesh.h"
#include "DGtal/shapes/SurfaceMeshHelper.h"
#include "DGtal/shapes/MeshHelpers.h"
#include "DGtal/graph/BreadthFirstVisitor.h"
#include "DGtal/io/readers/SurfaceMeshReader.h"
#include "DGtal/io/writers/SurfaceMeshWriter.h"
#include "DGtal/io/viewers/Viewer3D.h"
#include "DGtal/io/Color.h"
#include "DGtal/io/colormaps/GradientColorMap.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
An example file for SurfaceMesh in 3D.
This file is part of the DGtal library.
Definition in file exampleSurfaceMesh.cpp.
int main | ( | int | argc, |
char ** | argv ) |
[exampleSurfaceMesh-typedef]
[exampleSurfaceMesh-typedef]
[exampleSurfaceMesh-read-mesh]
[exampleSurfaceMesh-read-mesh]
[exampleSurfaceMesh-make-torus]
[exampleSurfaceMesh-make-torus]
[exampleSurfaceMesh-make-pyramid]
[exampleSurfaceMesh-make-pyramid]
[exampleSurfaceMesh-graph-bft]
[exampleSurfaceMesh-graph-bft]
[exampleSurfaceMesh-write-obj]
[exampleSurfaceMesh-write-obj]
Definition at line 76 of file exampleSurfaceMesh.cpp.
References DGtal::Trace::beginBlock(), DGtal::CMAP_JET, DGtal::SurfaceMesh< TRealPoint, TRealVector >::computeFaceValuesFromVertexValues(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::current(), DGtal::Trace::endBlock(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::expand(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::finished(), DGtal::Trace::info(), DGtal::SurfaceMesh< TRealPoint, TRealVector >::nbFaces(), DGtal::SurfaceMesh< TRealPoint, TRealVector >::nbVertices(), DGtal::SurfaceMeshReader< TRealPoint, TRealVector >::readOBJ(), DGtal::Viewer3D< TSpace, TKSpace >::show(), DGtal::MeshHelpers::surfaceMesh2Mesh(), and DGtal::trace.