Subversion Repositories gelsvn

Rev

Go to most recent revision | Details | 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"
167 jab 10
 
299 jrf 11
namespace GLGraphics
12
{
13
  void draw(const Geometry::TriMesh& tm);
14
  void draw(const Geometry::AABox& box);
15
  void draw(const Geometry::OBox& box);
16
 
17
  template<class BoxType>
18
	void draw(const Geometry::BoundingINode<BoxType>& node, int level, int max_level);
19
  template<class BoxType>
20
    void draw(const Geometry::BoundingLNode<BoxType>& node, int level, int max_level);
21
  template<class BoxType>
22
    void draw(const Geometry::BoundingTree<BoxType>& tree, int max_level = 1e6);
167 jab 23
 
299 jrf 24
}
167 jab 25
#endif