Subversion Repositories gelsvn

Rev

Rev 331 | Rev 368 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 331 Rev 362
Line 9... Line 9...
9
#include "Geometry/BoundingTree.h"
9
#include "Geometry/BoundingTree.h"
10
#include "HMesh/Manifold.h"
10
#include "HMesh/Manifold.h"
11
 
11
 
12
namespace GLGraphics
12
namespace GLGraphics
13
{
13
{
-
 
14
  /// Draw a triangles mesh. Inefficient function that should be compiled into a display list.
14
  void draw(const Geometry::TriMesh& tm, bool per_vertex_norms=true);
15
  void draw(const Geometry::TriMesh& tm, bool per_vertex_norms=true);
-
 
16
  
-
 
17
  /// Draw an axis aligned bounding box
15
  void draw(const Geometry::AABox& box);
18
  void draw(const Geometry::AABox& box);
-
 
19
  
-
 
20
  /// Draw an oriented bounding box
16
  void draw(const Geometry::OBox& box);
21
  void draw(const Geometry::OBox& box);
17
 
22
  
-
 
23
  /// Draw a HMesh Manifold
18
	void draw(HMesh::Manifold& m, bool per_vertex_norms=true);
24
  void draw(HMesh::Manifold& m, bool per_vertex_norms=true);
19
 
25
 
20
  
26
  
21
  template<class BoxType>
27
  template<class BoxType>
22
	void draw(const Geometry::BoundingINode<BoxType>& node, int level, int max_level);
28
	void draw(const Geometry::BoundingINode<BoxType>& node, int level, int max_level);
23
  template<class BoxType>
29
  template<class BoxType>