Maze Builder Docs 6.0.1
Loading...
Searching...
No Matches
wavefront_object_helper.h
Go to the documentation of this file.
1#ifndef WAVEFRONT_OBJECT_HELPER
2#define WAVEFRONT_OBJECT_HELPER
3
4#include <memory>
5#include <string>
6#include <vector>
7#include <cstdint>
8
9namespace mazes {
10
12
16public:
17 // Default constructor
18 explicit wavefront_object_helper();
19
20 // Destructor
22
23 // Copy constructor
25
26 // Copy assignment operator
27 wavefront_object_helper& operator=(const wavefront_object_helper& other);
28
29 // Move constructor
30 wavefront_object_helper(wavefront_object_helper&& other) noexcept = default;
31
32 // Move assignment operator
33 wavefront_object_helper& operator=(wavefront_object_helper&& other) noexcept = default;
34
42 const std::vector<std::tuple<int, int, int, int>>& vertices,
43 const std::vector<std::vector<std::uint32_t>>& faces) const noexcept;
44private:
46 class wavefront_object_helper_impl;
47 std::unique_ptr<wavefront_object_helper_impl> impl;
48};
49
50}
51
52#endif // WAVEFRONT_OBJECT_HELPER
Transform a maze into a Wavefront object string.
Definition wavefront_object_helper.h:15
std::string to_wavefront_object_str(const std::vector< std::tuple< int, int, int, int > > &vertices, const std::vector< std::vector< std::uint32_t > > &faces) const noexcept
Transform a maze into a Wavefront object string.
Namespace for the maze builder.
Definition algo_interface.h:9