DGtal
1.5.beta
|
#include "DGtal/base/Common.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/shapes/Mesh.h"
#include "DGtal/io/viewers/Viewer3D.h"
Go to the source code of this file.
Functions | |
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/.
Example of Mesh construction and visualisation.
This file is part of the DGtal library.
Definition in file mesh3DConstructionAndVisualisation.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
[MeshUseInitDisplay]
[MeshUseInitDisplay]
[MeshUseMeshCreation]
[MeshUseMeshConstructor]
[MeshUseMeshConstructor]
[MeshUseMeshAddingPoints]
[MeshUseMeshAddingPoints]
[MeshUseMeshAddingBasicFaces]
[MeshUseMeshAddingBasicFaces]
[MeshUseMeshAddingPolygonalFaces]
[MeshUseMeshAddingPolygonalFaces] [MeshUseMeshCreation]
[MeshUseDisplay]
[MeshUseDisplay]
Definition at line 53 of file mesh3DConstructionAndVisualisation.cpp.
References DGtal::Mesh< TPoint >::addFace(), DGtal::Mesh< TPoint >::addQuadFace(), DGtal::Mesh< TPoint >::addTriangularFace(), DGtal::Mesh< TPoint >::addVertex(), DGtal::Display3D< Space, KSpace >::setLineColor(), and DGtal::Viewer3D< TSpace, TKSpace >::show().