Wildmeshing Toolkit
make_mesh.hpp
Go to the documentation of this file.
1 #include <memory>
2 
3 namespace wmtk {
4 class Mesh;
5 class TriMesh;
6 class TetMesh;
7 }
9 class Grid2Options;
10 class Grid3Options;
11 class GridOptions;
12 class TriangleFanOptions;
13 class DiskOptions;
14 
15 // implementations lie in the options files
16 std::shared_ptr<TriMesh> make_mesh(const DiskOptions&);
17 std::shared_ptr<TriMesh> make_mesh(const Grid2Options&);
18 std::shared_ptr<TriMesh> make_mesh(const TriangleFanOptions&);
19 
20 std::shared_ptr<TetMesh> make_mesh(const Grid3Options&);
21 
22 // Will generate a trimesh or tetmesh depending on which type of gridoptions it is passed.
23 // More of a helper for parsing json to grid options where the dimension is not predetermined
24 std::shared_ptr<Mesh> make_mesh(const GridOptions&);
25 } // namespace wmtk::components::procedural
std::shared_ptr< TriMesh > make_mesh(const DiskOptions &opt)
Definition: DiskOptions.cpp:10
Definition: Accessor.hpp:6