Subversion Repositories gelsvn

Rev

Rev 299 | Rev 362 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
167 jab 1
#ifndef __GLGRAPHICS_DRAW_H_
2
#define __GLGRAPHICS_DRAW_H_
3
 
4
#include "Geometry/TriMesh.h"
299 jrf 5
#include "Geometry/AABox.h"
6
#include "Geometry/OBox.h"
7
#include "Geometry/BoundingINode.h"
8
#include "Geometry/BoundingLNode.h"
9
#include "Geometry/BoundingTree.h"
331 jab 10
#include "HMesh/Manifold.h"
167 jab 11
 
299 jrf 12
namespace GLGraphics
13
{
331 jab 14
  void draw(const Geometry::TriMesh& tm, bool per_vertex_norms=true);
299 jrf 15
  void draw(const Geometry::AABox& box);
16
  void draw(const Geometry::OBox& box);
331 jab 17
 
18
	void draw(HMesh::Manifold& m, bool per_vertex_norms=true);
19
 
299 jrf 20
 
21
  template<class BoxType>
22
	void draw(const Geometry::BoundingINode<BoxType>& node, int level, int max_level);
23
  template<class BoxType>
24
    void draw(const Geometry::BoundingLNode<BoxType>& node, int level, int max_level);
25
  template<class BoxType>
26
    void draw(const Geometry::BoundingTree<BoxType>& tree, int max_level = 1e6);
167 jab 27
 
299 jrf 28
}
167 jab 29
#endif