|
DGtal 2.1.0
|
#include <iostream>#include <vector>#include <random>#include <algorithm>#include <polyscope/polyscope.h>#include <polyscope/surface_mesh.h>#include <polyscope/point_cloud.h>#include <polyscope/curve_network.h>#include "DGtal/base/Common.h"#include "DGtal/helpers/StdDefs.h"#include "DGtal/geometry/tools/GenericLatticeConvexHull.h"Go to the source code of this file.
Functions | |
| std::mt19937 | g (rd()) |
| template<typename Point > | |
| static std::vector< Point > | makeRandomLatticePointsFromDirVectors (Point A, const std::vector< Point > &V, int nb, double radius, int amplitude, int aff_dim) |
| int | main (int argc, char *argv[]) |
Variables | |
| polyscope::PointCloud * | psPoints |
| polyscope::PointCloud * | psVertices |
| polyscope::PointCloud * | psBoundary0 |
| polyscope::CurveNetwork * | psBoundary1 |
| polyscope::SurfaceMesh * | psBoundary2 |
| std::random_device | rd |
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/.
This file is part of the DGtal library.
Definition in file exampleGenericLatticeConvexHull3D.cpp.
| std::mt19937 g | ( | rd() | ) |
Referenced by makeRandomLatticePointsFromDirVectors().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 109 of file exampleGenericLatticeConvexHull3D.cpp.
References DGtal::L, makeRandomLatticePointsFromDirVectors(), psBoundary0, psBoundary1, psBoundary2, psPoints, and psVertices.
|
static |
Definition at line 88 of file exampleGenericLatticeConvexHull3D.cpp.
References g().
Referenced by main().
| polyscope::PointCloud* psBoundary0 |
Definition at line 78 of file exampleGenericLatticeConvexHull3D.cpp.
Referenced by main().
| polyscope::CurveNetwork* psBoundary1 |
Definition at line 79 of file exampleGenericLatticeConvexHull3D.cpp.
Referenced by main().
| polyscope::SurfaceMesh* psBoundary2 |
Definition at line 80 of file exampleGenericLatticeConvexHull3D.cpp.
Referenced by main().
| polyscope::PointCloud* psPoints |
Definition at line 76 of file exampleGenericLatticeConvexHull3D.cpp.
Referenced by main().
| polyscope::PointCloud* psVertices |
Definition at line 77 of file exampleGenericLatticeConvexHull3D.cpp.
Referenced by main().
| std::random_device rd |
Definition at line 82 of file exampleGenericLatticeConvexHull3D.cpp.