Virtual Testbed
Ship dynamics simulator for extreme conditions
MeshDatabase.hh
1 #ifndef VTESTBED_GRAPHICS_MESHDATABASE_HH
2 #define VTESTBED_GRAPHICS_MESHDATABASE_HH
3 
4 #include <vtestbed/geometry/polyhedron.hh>
5 
6 namespace vtb {
7 
8  namespace graphics {
9 
10  template <class T>
11  class MeshDatabase {
12 
13  private:
16  typedef typename polyhedron_type::face_array face_array;
17 
18  public:
19 
20  polyhedron_type sphere(T radius);
21  polyhedron_type cube(T scale);
22  polyhedron_type nurbs_cylinder(T scale, int resolution);
23  polyhedron_type nurbs_cube(T scale, int resolution);
24  polyhedron_type nurbs_sphere(T scale, int resolution);
25 
26  };
27 
28  }
29 
30 }
31 
32 #endif // vim:filetype=cpp
Main namespace.
Definition: convert.hh:9