|
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<Dimension dim, typename TComponent , typename TContainer > | |
| static DGtal::PointVector< dim-1, TComponent, TContainer > | project (Dimension k, const DGtal::PointVector< dim, TComponent, TContainer > &p) |
| template<Dimension dim, typename TComponent , typename TContainer > | |
| static std::vector< DGtal::PointVector< dim-1, TComponent, TContainer > > | project (Dimension k, const std::vector< DGtal::PointVector< dim, TComponent, TContainer > > &V) |
| 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 [4] |
| polyscope::PointCloud * | psVertices [4] |
| polyscope::PointCloud * | psBoundary0 [4] |
| polyscope::CurveNetwork * | psBoundary1 [4] |
| polyscope::SurfaceMesh * | psBoundary2 [4] |
| polyscope::Group * | group [4] |
| 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 exampleGenericLatticeConvexHull4D.cpp.
| std::mt19937 g | ( | rd() | ) |
Referenced by makeRandomLatticePointsFromDirVectors().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 122 of file exampleGenericLatticeConvexHull4D.cpp.
References group, DGtal::L, makeRandomLatticePointsFromDirVectors(), project(), psBoundary0, psBoundary1, psBoundary2, psPoints, and psVertices.
|
static |
Definition at line 101 of file exampleGenericLatticeConvexHull4D.cpp.
References g().
Referenced by main().
|
static |
Definition at line 75 of file exampleGenericLatticeConvexHull4D.cpp.
References dim.
|
static |
Definition at line 88 of file exampleGenericLatticeConvexHull4D.cpp.
| polyscope::Group* group[4] |
Definition at line 67 of file exampleGenericLatticeConvexHull4D.cpp.
Referenced by main().
| polyscope::PointCloud* psBoundary0[4] |
Definition at line 64 of file exampleGenericLatticeConvexHull4D.cpp.
Referenced by main().
| polyscope::CurveNetwork* psBoundary1[4] |
Definition at line 65 of file exampleGenericLatticeConvexHull4D.cpp.
Referenced by main().
| polyscope::SurfaceMesh* psBoundary2[4] |
Definition at line 66 of file exampleGenericLatticeConvexHull4D.cpp.
Referenced by main().
| polyscope::PointCloud* psPoints[4] |
Definition at line 62 of file exampleGenericLatticeConvexHull4D.cpp.
Referenced by main().
| polyscope::PointCloud* psVertices[4] |
Definition at line 63 of file exampleGenericLatticeConvexHull4D.cpp.
Referenced by main().
| std::random_device rd |
Definition at line 69 of file exampleGenericLatticeConvexHull4D.cpp.