Subversion Repositories gelsvn

Rev

Rev 299 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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